Report this

What is the reason for this report?

MongoDB Compass: Authentication failed

Posted on July 19, 2022

Unable to connect to a cluster on DigitalOcean. I have added my IP to the trusted sources list. I’m getting the connection string from the database panel.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @smalllightseagreensquid,

Have you checked the following docs on the matter :

https://docs.digitalocean.com/products/databases/mongodb/how-to/connect/

Do you get any specific errors when you try to connect? For example, is the connection timing out or are you getting authentication errors?

Also, can you share some more information on how exactly are you trying to connect?

Have you also tried to re-download the CA certificate and swap your existing one?

Also faced the same issue

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.