Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
1.12.7
-
None
Description
Atlas projects often have more than one configured database user account. All database users are present in all clusters within the project. When a customer uses:
- the "CONNECT" button on the Atlas user interface,
- Connect with MongoDB Compass,
- I am using Compass 1.12 or later:
the URL provided for connecting via Compass contains one of the database users for the project. (the last one created?)
mongodb+srv://airNoRoutes:@freetestingcluster-5avn9.mongodb.net/admin
|
Sometimes it is necessary for the Atlas customer to overtype the Username from the URI with their own credentials. For example, I regularly need to change the Username above to "brianblevins".
When they do overtype the Username this way and then type the password (but not copy/paste the password), Compass 1.12.7 on MacOSX will hang during the connection without ever displaying an error message. There is no obvious reason given in the DevTools console.
I have reproduced the problem with both the M001 student cluster and my own cluster above. One must replace the Username for the problem to occur...however, this is relatively common. I'll attach a screenshot of Compass 1.12.7 in the hung state.