mongodb-js / compass

The GUI for MongoDB.
https://mongodb.com/compass
Other
1.15k stars 176 forks source link

Timeout error on incorrect case in username #1950

Closed charsi closed 4 years ago

charsi commented 4 years ago

Just spent 30 minutes trying to troubleshoot this.

It seems usernames for mongo db can be case sensitive (which itself was a surprise to me). If a user tries to connect with the correct username but with some letters in the wrong case (MYuSer instead of MYuser) then compass shows a timeout error.

image

Expected behavior would be either the user is allowed to connect if case sensitivity shouldn't exist in user names. Or display a more accurate error message.

Anemy commented 4 years ago

I think this works as intended with MongoDB. Probably best to create a ticket with MongoDB if you would expect case insensitivity. Also nice name if that's from diablo 2!