Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create user - not a leader #3

Open
htohami opened this issue Jan 28, 2024 · 2 comments
Open

create user - not a leader #3

htohami opened this issue Jan 28, 2024 · 2 comments

Comments

@htohami
Copy link

htohami commented Jan 28, 2024

when trying to use the module, something we get this error:

[2024-01-25T11:19:53.483Z] │ Error: Neo4jError: Neo.ClientError.Cluster.NotALeader (Failed to create the specified user 'USERNAME': Administration commands must be executed on the LEADER server.)

@olympe-operator
Copy link

I think this is because the provider must be plugged in using the leader node. On our side we are using the helm chart and headless service and it's working: https://github.com/neo4j/helm-charts/tree/dev/neo4j-headless-service

@hsafra
Copy link
Contributor

hsafra commented May 27, 2024

Are you using a routing capable protocol in the URL, like bolt+routing:// or neo4j:// ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants