[COMPASS-2765] Compass hangs during connection attempt after launch with URI having both username and password already in clipboard Created: 18/Apr/18  Updated: 29/Oct/23  Resolved: 20/Apr/18

Status: Closed
Project: Compass
Component/s: Compass, Connectivity
Affects Version/s: 1.12.7
Fix Version/s: 1.12.8

Type: Bug Priority: Major - P3
Reporter: Brian Blevins Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Compass_1_12_7_hung_after_URI_in_clipboard_before_launch_with_credentials.png    

 Description   

Compass 1.12.7 seems to hang if the connection URI (SRV based) contains both the correct username and password.

mongodb+srv://brianblevins:myvalidpasswordgoeshere@freetestingcluster-5avn9.mongodb.net/admin

In this procedure, I first copy the URI (SRV with both correct username and password) into the clipboard, then launch Compass, accept the URI connection settings on the first connection dialog and click CONNECT.

One workaround for this issue is to create a favorite and then restart Compass. Compass 1.12.7 does not hang after restarting and selecting the favorite generated from the URI above. This is true even if the settings used to create the favorite lead to a hung connection attempt on the previous run.


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