Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3462

more detailed connection error messages

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            miguel.nieto@mongodb.com Miguel Angel Nieto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: