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

SSL Handshake with Mongo atlas fails with Python 3.10

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.12.2, 4.0
    • Affects Version/s: None
    • Component/s: Connection Mgmt
    • Labels:

      OpenSSL handshake fails to some Mongo Atlas clusters with Python 3.10 (the only difference is the python version, we have cross-tested this excessively) with the following error message:

      pymongo.errors.ServerSelectionTimeoutError: SSL handshake failed: <redacted>.mongodb.net:27017: EOF occurred in violation of protocol (_ssl.c:997), Timeout: 30s, Topology Description: <TopologyDescription id: 618e3379ad71635cdecdd729, topology_type: Single, servers: [<ServerDescription ('<redacted>.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('SSL handshake failed: <redacted>:27017: EOF occurred in violation of protocol (_ssl.c:997)')>]>

      Os: Debian buster & Debian bullseye

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            kimmo@vainu.io Kimmo Parviainen-Jalanko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: