[COMPASS-4658] Compass window is whitened out if connect with malformed file as a certificate Created: 19/Feb/21  Updated: 16/Sep/21  Resolved: 12/Jul/21

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: 1.25.0, 1.26.0
Fix Version/s: 1.27

Type: Bug Priority: Major - P3
Reporter: Olena Protsiuk (Inactive) Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File MongoDB Compass Beta.png    
Documentation Changes: Not Needed

 Description   

Steps to Reproduce

  1. Open saved connection, where SSL=Server and Client validation is used (I tried x509)
  2. Upload malformed certificate (or just random file) as Client Certificate or Client Private Key. Keep the rest fields filled in with correct data
  3. Click Connect

Expected Results

There is en error message that connection cannot be established. 

Actual Results

Compass window is whitened out, and nothing can be done there.

Additional Notes

If upload malformed certificate as Certificate Authority, keep the rest data correct and Connect  - connection is established. Is the data from this file used at all?



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

Can't reproduce the white screen on 1.27.0, receiving an expected error. We started handling the errors that can come up here a little better.

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