Command saslStart failed: Authentication failed..

Monday, November 25, 2024 10:22:17 PM
  • Posted: Tuesday, July 14, 2020 12:17 PM
  • 82
Tried installing the grandnode in AWS. But getting the below error while setting up the store when entering DB connection details

Command saslStart failed: Authentication failed..

But with the same credentials I am able to connect to the instance using MongoDB Compass
0
  • Posted: Tuesday, July 14, 2020 1:20 PM
  • 953
It looks like you've missed something in installation process. Maybe the wrong password, username, or host, maybe blocked IP in MongoDB config.  It's hard to predict, because it's a default MongoDB exception.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Tuesday, July 14, 2020 1:26 PM
  • 82
But within the same ec2 instance, I have used a Mongo Client and have successfully connected to the DB.

No worries, I will try for some other solutions from my side.

In-case, if you find any solution/issue for this, please let me also know
0
  • Posted: Saturday, July 18, 2020 9:16 AM
  • 82
I got an update on this. I am not sure why this error occured because , i am basically a beginner on Mongo.

When I set the connection string mongodb: //root:rootpassword@192.168.100.1/Webdev?authSource = admin,
it solved the error.

I was able to connect to DB with any client. Unfortunately error happened only when installing GrandNode. I am not sure if this can be addressed in you code.  

I just posted this solution, in this thread for others who may face this issue.
1
back to top
Filters