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

With domain, user name and password, compass tried to localhost

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 1.31.0
    • Affects Version/s: 1.28.1
    • Component/s: Compass, Connectivity
    • None
    • Not Needed

      Problem Statement/Rationale

      What is going wrong? 

      Unable to connect to remote mongoDB using Compass v1.28.1. It always tries to connect to localhost. 

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      1. Provide the values for fields Hostname, Username and password 
      2. Provide replica set name and preference as primary
      3. Observe that if local instance of mongoDB is running, it connects and shows the database wrongly since the details were of remote machine
      4. Also observe that if local instance of mongoDB is stopped, you receive and error of unable to connect to database

      Expected Results

      What do you expect to happen?

      Connect to remote details provided or show an error 

      Actual Results

      What do you observe is happening?

      Connects to localhost (if running) or shows that unable to connect to localhost though the details provided in the connection string are of remote

      Additional Notes

      Any additional information that may be useful to include.

      Compass connects to remote without authentication or replica set

        1. MongoDBCompassv1.28.1.png
          MongoDBCompassv1.28.1.png
          33 kB
        2. MongoDBCompassv1.28.1-a.png
          MongoDBCompassv1.28.1-a.png
          27 kB
        3. MongoDBCompassv1.28.1-b.png
          MongoDBCompassv1.28.1-b.png
          39 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            emailguruk@gmail.com Guruprasad K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: