Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1628

Hostname matching failure should include subjectAltName types

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      When hostname matching fails, PyMongo raises an exception like:

      ServerSelectionTimeoutError: hostname '127.0.0.1' doesn't match either of 'serverhostname', '127.0.0.1' 
      

      We could include the subjectAltName information in this error to help debug issues like PYTHON-1627, eg:

      ServerSelectionTimeoutError: hostname '127.0.0.1' doesn't match either of 'serverhostname' (DNS), '127.0.0.1' (DNS)
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: