-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Connectivity
-
Environment:OS: All
node.js / npm versions: All
Additional info: Error Message
-
Developer Tools
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
Trying to connect to a MongoDB Atlas using a Private Endpoint using the wrong connection string just times out, instead of giving additional details.
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Try to connect to an Atlas Cluster using the regular connection string for a MongoDB Shell. Where the access is locked down (no IPs allowed) and only a Private Endpoint is configured.
Expected Results
What do you expect to happen?
Have additional verbiage that would point to get a proper connection string, similar how we have verbiage to check on the Network Access List.
Actual Results
What do you observe is happening?
It times out and points to the Network Access List:
MongoServerSelectionError: Server selection timed out after 30000 ms. It looks like this is a MongoDB Atlas cluster. Please ensure that your Network Access List allows connections from your IP.
Additional Notes
Any additional information that may be useful to include.
It would be perfect if we point devs to the Network Access List or use a Private Endpoint connection string.