-
Notifications
You must be signed in to change notification settings - Fork 62
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
Auth fails with mongodb atlas cluster #22
Comments
Hi @itzmanish Please check you authentication data by login manually to you DB, I think this is because of wrong |
Not the case. I was using for a long time with same setup. However something weird I have seen that official mongo driver gives me same error but when I pass credential option with username and password it works. Don't know why this issue didn't occur before. |
Print your URI before connection, maybe it's not what you expected. |
URI is fine. I don't know why I need to use credential option since I have username and password in URI string. |
Just like this? use command line command (like |
Describe the bug
"connection() : auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AtlasError) Authentication failed.
Everything was working fine till today I get error with authentication failed. I didn't changed anything, not a single line of code but still I get error on any operation with mgm
connection() : auth error: sasl conversation error: unable to authenticate using mechanism \"SCRAM-SHA-1\": (AtlasError) Authentication failed.
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
Operation should complete without any error.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: