-
Type: Improvement
-
Resolution: Unresolved
-
Priority: 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)
- related to
-
PYTHON-1627 Unable to connect with PyMongo 3.7.1, x509 SSL Certificate, and SSH Tunnels
- Closed