-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
Hello,
When Compass cannot connect to MongoDB it shows a very generic error that doesn't really tell what is the actual problem. This makes troubleshooting much more difficult.
For example, when using server validation with an invalid certificate I get in Compass:
"Could not connect to MongoDB on the provided host an port"
When I try to connect using MongoDB Shell I get:
"connection attempt failed: SSLHandshakeFailed: The server certificate does not match the host name. Hostname: xxx.xx does not match SAN(s): xxxx.xxx xxxx.xxx..."
Would be possible to get more descriptive error messages?
Thanks.