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
#The Client is unauthorized due to authentication failure #660
Comments
I'm not 100% sure it's related, but you usually have to set the password to a non-default value before being able to connect. Have you tried that? |
Hi @harikanani, could you share the driver and server versions? About the code you shared, I could spot an issue not related with the error reported. The method
Also, I recommend the usage of transaction functions. See here |
I've tried with a docker instance without set the password and got this:
So, It could be the case of change the password. The docker run without change the password:
The docker run changing the password:
|
@bigmontz please check my code still getting error but now error is different
|
i think you should restart the session after you change the user password |
@harikanani Did you try the new password set? |
yes i tried and got error that i've opned issue #660 |
@harikanani in your initial description, you are saying:
As far as I know, you cannot connect to a Neo4j server until the default password for the default user has been changed to another value. Are you saying that changing the password to another value, updating the credentials and re-running your program still leads to the same error, i.e. the one included in your initial report? |
Hi @harikanani , Did you try @fbiville suggestions? Does the issue still occur after that? Many thanks |
Yes issue was solved 😊 |
Thanks, so i will close the issue. |
@harikanani How did you solve the issue? |
It's been a long I've used neo4j, but as far as I remember, I tried changing the password and it worked for me. |
@ddemydenko if the issue was about not overriding the default admin password AND assuming you're using Docker, you can override the password with: docker run --env NEO4J_AUTH=neo4j/aNewPassword [...] neo4j:5 |
i'm experiencing same issue from golang driver. Here's my neo4j information
go mod version
|
I fixed the error by adding the port to the end of the connection URI and also double check your username and password the default username is neo4j. ` const uri = "neo4j+s://65cafc91.databases.neo4j.io:7687"; // Update with your Neo4j server URI (✔with port included) const driver = neo4j.driver(uri, neo4j.auth.basic(username, password));` |
The client is unauthorized due to authentication failure.
Complete Error
My File Where i'm trying to login
The text was updated successfully, but these errors were encountered: