[COMPASS-4287] Favorite connections not working from side menu (only from detailed view) Created: 11/May/20  Updated: 27/Oct/23  Resolved: 12/Nov/21

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.21.0
Fix Version/s: 1.24.1

Type: Bug Priority: Minor - P4
Reporter: Jarno Pelkonen Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Client / Compass: Windows 10 Home, 64bit, Compass version 1.21.1 (not available in "Affected versions" above"
Server / MongoDB: Ubuntu 18.04.4 LTS, amd64


Epic Link: COMPASS-4948
Documentation Changes: Not Needed

 Description   

Compass version 1.21.1

Favorites do not work directly from the favorites sidebar menu. I have to click "Fill in connection fields individually" and then press "connect" to login the database. The error message is "authentication failed.". These favorites have username, password and Server Validation certificate  set. "admin" is used as authentication DB.

/var/log/mongodb.log tells that Compass does not send username to the server although it

2020-05-11T10:45:52.548+0300 I  ACCESS   [conn4808] SASL SCRAM-SHA-256 authentication failed for undefined on admin from client 192.168.1.34:64835 ; UserNotFound: Could not find user "undefined" for db "admin"

Maybe the logger could quote username and authentication database too as in the actual error message in the logs.



 Comments   
Comment by Rhys Howell [ 12/Nov/21 ]

jarno.pelkonen@gmail.com Happy to hear it was fixed. Thanks for reporting!

Comment by Jarno Pelkonen [ 10/Nov/21 ]

I can confirm that this works OK in 1.24.6 (Win 10 client). Actually it has worked for quite some time. I cannot recall which version fixed it.  I am the original reporter of this bug.

Regards, Jarno

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