[COMPASS-4278] Can't connect to analytics node Created: 07/May/20  Updated: 29/Oct/23  Resolved: 15/Jun/20

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: None
Fix Version/s: 1.22.0

Type: Bug Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2020-05-07-09-50-37-142.png    
Issue Links:
Depends
Related
Epic Link: COMPASS-3417
UserVoice Links:

Expose readPreference information in Compass UI (Suggestion)
completed (2 users)

Sprint: Iteration Dragon Fruit, Iteration Elderberry

 Description   

Compass can't connect to an analytics node

mongodb+srv://<user>:<pass>@host/test?authSource=admin&replicaSet=atlas-y1q50n-shard-0&w=majority&ssl=true&readPreference=secondary&readPreferenceTags=nodeType:ANALYTICS&readConcernLevel=local

There is also something weird going on with the parsing of that URL (see screenshot)

Note that the same problem happens in VS Code.



 Comments   
Comment by Rhys Howell [ 15/Jun/20 ]

Merge commits:
connection-model: https://github.com/mongodb-js/connection-model/commit/bfc0cc55a128682500aca3f9017fade7abe1e1dd
compass: https://github.com/mongodb-js/compass/commit/3509f8a2f2015903230fa7329a52791843160640
vscode: https://github.com/mongodb-js/vscode/commit/863c747d353ee22a0e7692c629d4ba5d03383445
compass-connect: https://github.com/mongodb-js/compass-connect/commit/e047f3868ff884da1d7929b62f72a89e9a9c2339

Generated at Wed Feb 07 22:35:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.