[COMPASS-2711] Atlas SRV connection string causes Compass to hang after CONNECT click during connection attempt Created: 31/Mar/18  Updated: 27/Oct/23  Resolved: 27/Jan/20

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: 1.12.4
Fix Version/s: 1.17.0

Type: Bug Priority: Major - P3
Reporter: Brian Blevins Assignee: Lucas Hrabovsky (Inactive)
Resolution: Gone away Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Hung_connection_attempt_with_DevTools_open.png     PNG File SRV_based_connection_string_from_Atlas.png     PNG File connection_attempt_waits_forever.png    
Issue Links:
Depends
is depended on by NODE-1402 Node Driver Hangs Indefinitely When C... Closed
Sprint: Sprint Ol' Dirty Bastard, Sprint Phife Dawg, Sprint Q-Tip, Sprint Vanilla Ice, Sprint Wyclef Jean, Sprint Xzibit, Sprint Young Dre The Truth, Sprint Z, Iteration Avocado, Iteration Bacon, Iteration Cashew, Iteration Daikon Radish, Iteration Edamame, Iteration Fig, Iteration Guacamole, Iteration Halloumi, Iteration Icelandiccharr, Iteration JalapeƱo

 Description   

Intercom customer reported that attempting to connect with Atlas connection settings was hanging Compass forever.

https://app.intercom.io/a/apps/p57suhg7/inbox/inbox/unassigned/conversations/15498640712

In Compass 1.12.4 on OSX I'm seeing the same behavior. Compass connects to the cluster successfully using the Atlas connection string for 1.11 (without SRV record). Additionally, I can use the same Atlas SRV connection string with the mongo shell to establish a connection successfully.

Also, I'm not seeing any DevTools output when the connection attempt hangs.

The Intercom customer userid did not show any errors in BugSnag.



 Comments   
Comment by Massimiliano Marcon [ 27/Jan/20 ]

1.20 has a new connection stack (new implementation on the compass side, new driver) this is probably gone away. Closing it. Please reopen if it's still an issue.

Comment by Durran Jordan [ 14/May/18 ]

Reopening as still around 10% failure rate. Need more investigation.

Comment by Githook User [ 18/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2711: Bump deps for SRV record fix
Branch: master
https://github.com/10gen/compass/commit/fa0452776ec86253fd9662a91f7fae377e5698f7

Comment by Githook User [ 18/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2711: Bump deps for SRV record fix
Branch: COMPASS-2711
https://github.com/10gen/compass/commit/218404096d7bdd0f7f89977199173f51166acb23

Comment by Githook User [ 18/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2711: Bump deps for SRV record fix
Branch: 1.13-releases
https://github.com/10gen/compass/commit/10c6096326ecd68f94838f2489d4d8f8f7490512

Comment by Githook User [ 18/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2711: Bump deps for SRV record fix
Branch: 1.12-releases
https://github.com/10gen/compass/commit/914b0e64c55c1af89fa58fc20819545ded68bf75

Comment by Githook User [ 18/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2711: Bump deps for SRV record fix
Branch: COMPASS-2711
https://github.com/10gen/compass/commit/bcb4916111bf195f907e23b1bf02550a3ac25b71

Comment by Githook User [ 18/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2711: Bump Node driver
Branch: master
https://github.com/mongodb-js/data-service/commit/b565541b4ede4fdd661b7347d57099c948697118

Comment by Githook User [ 18/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2711: Bump Node driver
Branch: master
https://github.com/mongodb-js/connection-model/commit/9a78e2832429d190aa0ead7c15c0fbf1e03f6a34

Comment by Durran Jordan [ 15/Apr/18 ]

The Node driver has committed a fix for this issue and we are waiting on a release from them. Once that is complete we will update Compass and release on the 1.12 and 1.13 branches.

Comment by Githook User [ 10/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'name': 'Durran Jordan', 'username': 'durran'}

Message: COMPASS-2711: Fix deprecated options at db/server/replSet levels
Branch: master
https://github.com/mongodb-js/data-service/commit/afbd972aad2ef9cc8858c42d0d28fb2b341f14cf

Comment by Githook User [ 10/Apr/18 ]

Author:

{'email': 'durran@gmail.com', 'name': 'Durran Jordan', 'username': 'durran'}

Message: COMPASS-2711: Fix deprecated options at db/server/replSet levels
Branch: master
https://github.com/mongodb-js/connection-model/commit/c9a7f9b3ed426f5969d73fca2209ca20be59f179

Comment by Joe Drumgoole (Inactive) [ 08/Apr/18 ]

I've seen similar problems tonight with 1.12.4. 3.4 connection string works, 3.6 connection string hangs forever. Shell 3.6 string works fine and my own Node.js and Python programs also work fine with the srv string.

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