Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2764

Over typing "Username" after accepting Atlas SRV causes Compass to hang during connection

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.12.8
    • 1.12.7
    • Compass, Connectivity
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: