[SERVER-49402] Misleading error message when connecting to Data Lake Created: 09/Jul/20  Updated: 29/Oct/23  Resolved: 20/Aug/20

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.2

Type: Improvement Priority: Major - P3
Reporter: Adinoyi Omuya Assignee: Robert Guo (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-49488 Mongo shell is conflating authenticat... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: STM 2020-07-27, STM 2020-08-10, STM 2020-08-24, STM 2020-09-07
Participants:
Story Points: 1

 Description   

When users connect to Atlas Data Lake (ADL) with the mongo shell, they may sometimes encounter the error:

*** It looks like this is a MongoDB Atlas cluster. Please ensure that your IP whitelist allows connections from your network.

This is because ADL URIs have a .query.mongodb.net suffix - and not a mongodb.net suffix.

We should update https://github.com/mongodb/mongo/blob/43e2423bae07e13cf624b9d5fb74e62bd1959b19/src/mongo/shell/mongo.js#L360-L370 to provide a correct error message for ADL users.



 Comments   
Comment by Robert Guo (Inactive) [ 20/Aug/20 ]

Manually pasting the commit message here since I used the number from the related ticket.

Author:

{'name': 'Robert Guo', 'email': 'robert.guo@10gen.com', 'username': 'guoyr'}

Message: SERVER-49488 update shell error message for ADL
Branch: master
https://github.com/mongodb/mongo/commit/e4aa1021d6e126b46f334d3354c97f052e3d4561

Comment by Daniel Pasette (Inactive) [ 09/Jul/20 ]

FYI robert.guo

Generated at Thu Feb 08 05:19:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.