Async pymongo fails with SSLContext object has no attribute a_wrap_socket

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Attempting to connect to a TLS server with AsyncMongoClient fails with: AttributeError("'SSLContext' object has no attribute 'a_wrap_socket'")

      \'SSLContext\' object has no attribute \'a_wrap_socket\', Timeout: 5.0s, Topology Description: <TopologyDescription id: 66886ca4a61556b0a272a56b, topology_type: Unknown, servers: [<ServerDescription (\'localhost\', 27017) server_type: Unknown, rtt: None, error=AttributeError("\'SSLContext\' object has no attribute \'a_wrap_socket\'")>
      

              Assignee:
              Noah Stapp
              Reporter:
              Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: