[COMPASS-4950] Upgrade to version 1.28.1 breaks connection to replicaset Created: 15/Jul/21  Updated: 27/Oct/23  Resolved: 22/May/23

Status: Closed
Project: Compass
Component/s: Compass, Connectivity
Affects Version/s: 1.28.1
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Andres Rodriguez Salcedo Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Attachments: PNG File image-2021-07-16-08-53-31-644.png    
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

After upgrading to version 1.28.1, Compass doesn't connecto to a MongoDb Replicaset in a server version 4.0.23

 

Rolling back to version 1.26.1, the problem is solved

Steps to Reproduce

Try to connect to a replicaset using a connection string like this:

mongodb://user:password@server1:port1,server2:port1,server3:port1,server4:port1,server5:port1/database_name?authSource=database_name&replicaSet=DB&readPreference=secondary&appname=MongoDB%20Compass&ssl=false

Expected Results

Connects right and can navigate the database

Actual Results

Timeout

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Maurizio Casimirri [ 03/Mar/22 ]

andresrodriguez@paradigmadigital.com 1.31.0-beta.1 should fix the issue as now the connection of Compass is the same as other tools, can you try this version?

Comment by Andres Rodriguez Salcedo [ 16/Jul/21 ]

Hi @Maurizio Casimirri:

Yes, all the hosts are reachable from the machine, and i've not problems connecting with other tools (i.e. Visual Studio Code plugin for MongoDB) or mongosh

 

Comment by Maurizio Casimirri [ 15/Jul/21 ]

Hi andresrodriguez@paradigmadigital.com, thanks for reporting this.

It would be helpful for us if you could provide few more informations:

Thanks!

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