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

more detailed connection error messages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: