I'm facing an authentication error in my Go microservice while trying to connect and ping to a MongoDB Atlas instance.
Key Details:
- The MongoDB instance is hosted on a managed database service, specifically MongoDB Atlas
- Authentication is being handled via a username/password system
Skills & Experience:
- In-depth understanding of Go and microservices
- Proficient in handling MongoDB connections and troubleshooting authentication errors
- Experience with MongoDB Atlas
Please provide your bid with an estimated time for resolution.
I have tried basic troubleshooting steps without success. The specific error message encountered is:
connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism \"SCRAM-SHA-1\": (AtlasError) bad auth : Authentication failed."