-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Blocker - P1
-
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?
- Provide the values for fields Hostname, Username and password
- Provide replica set name and preference as primary
- Observe that if local instance of mongoDB is running, it connects and shows the database wrongly since the details were of remote machine
- 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