[COMPASS-4315] Screen turns completely white and freezes on LDAP login from favorite Created: 02/Jun/20  Updated: 10/Jul/20  Resolved: 22/Jun/20

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.21.2
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Michael Ozeryansky Assignee: Alena Khineika
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

macOS 10.15.4


Attachments: PNG File Screen Shot 2020-06-02 at 11.56.34 AM.png    
Sprint: Iteration Fig

 Description   

I was always able to use a username/password combination, but since switching to a LDAP credentials MongoDB Compass has been locking up on me.

My credentials are fine and on the first attempt I was able to login and use the app. When coming back and selecting the favorite the screen turns white and stays there.

If I re-fill out the form again, I'm able to login.



 Comments   
Comment by Massimiliano Marcon [ 10/Jul/20 ]

mozer624@gmail.com we added some additional logging and error catching to our connection logic and we'll try to get it into the next version of Compass. Hopefully, that will solve the problem you are having or at least log the errors in the console that should give us more info for troubleshooting the problem.

Comment by Michael Ozeryansky [ 29/Jun/20 ]
  • If you do the same steps as I do, do you get this white screen?

Our connection requires SRV and SSL, but this method works. However, I originally setup the connection using a pasted string.

  • Do you get a white screen right after you select favorite, or when you click the "Connect" button?

I get the white screen immediately after selecting my favorite. And I also get the white screen immediately after pressing "Fill in connection fields individually" on my favorite.

  • Do you create a new favorite and try to connect from it, or do you use existing favorites that were created with an older compass version?

I created a new favorite. Sometimes this will work and sometimes it doesn't. Currently, I have a couple favorites with the same connection string. One works and one does not. It took many attempts to make a favorite which works.

  • If you use favorites that were created with an older compass version try to create new favorite and let me know if it works

I have a favorite which works and one that does not.

  • Could you pls provide some screenshots before you get a white screen (please make sure that all sensitive info it is hidden from screenshots such as username and password)

A before screenshot shows the favorites and the url string which contains all sensitive information. The after is the blank screenshot already attached.

  • Check if there are any errors in the dev tool. And if yes, pls share a screenshot as well.

I don't see an errors being logged.

Comment by Michael Ozeryansky [ 29/Jun/20 ]

Please reopen this ticket. This happens on the latest version. I am able to reproduce this today.

Comment by Alena Khineika [ 22/Jun/20 ]

mozer624@gmail.com Let's try to reproduce it then.

When I test I do:

  • Click "New Connection"
  • Fill in host and port
  • Select LDAP auth
  • Fill in username and password

It allows me to connect. Then I disconnect and use the same connection from recent connections. It allows me to connect. Then I disconnect and save the recent connection to favorites. When I select this connection from favorite it also allows me to connect.

It also works if I restart Compass.

Questions:

  • If you do the same steps as I do, do you get this white screen?
  • Do you get a white screen right after you select favorite, or when you click the "Connect" button?
  • Do you create a new favorite and try to connect from it, or do you use existing favorites that were created with an older compass version?
  • If you use favorites that were created with an older compass version try to create new favorite and let me know if it works
  • Could you pls provide some screenshots before you get a white screen (please make sure that all sensitive info it is hidden from screenshots such as username and password)
  • Check if there are any errors in the dev tool. And if yes, pls share a screenshot as well.

 

Comment by Michael Ozeryansky [ 22/Jun/20 ]

Please don't close this. I experience this problem every day, it's definitely a real problem. Is there something I can provide to help address this?

Comment by Alena Khineika [ 22/Jun/20 ]

I tested and always able to connect via LDAP (new, recent, and favorite connections).

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