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

get_ssl_context ValueError: too many values to unpack (expected 7)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0
    • None
    • None

    Description

      Caused by PYTHON-2162:

       [2021/08/24 15:52:28.096] ERROR: test_automatic (test_encryption.TestAzureEncryption)
       [2021/08/24 15:52:28.096] ----------------------------------------------------------------------
       [2021/08/24 15:52:28.096] Traceback (most recent call last):
       [2021/08/24 15:52:28.096]   File "/data/mci/de685763625e72294754b6cd2eb6525e/src/pymongo/encryption.py", line 77, in _wrap_encryption_errors
       [2021/08/24 15:52:28.096]     yield
       [2021/08/24 15:52:28.096]   File "/data/mci/de685763625e72294754b6cd2eb6525e/src/pymongo/encryption.py", line 321, in encrypt
       [2021/08/24 15:52:28.096]     encrypted_cmd = self._auto_encrypter.encrypt(database, encoded_cmd)
       [2021/08/24 15:52:28.096]   File "/data/mci/de685763625e72294754b6cd2eb6525e/src/venv-encryption/lib/python3.9/site-packages/pymongocrypt/auto_encrypter.py", line 44, in encrypt
       [2021/08/24 15:52:28.096]     return run_state_machine(ctx, self.callback)
       [2021/08/24 15:52:28.096]   File "/data/mci/de685763625e72294754b6cd2eb6525e/src/venv-encryption/lib/python3.9/site-packages/pymongocrypt/state_machine.py", line 150, in run_state_machine
       [2021/08/24 15:52:28.096]     callback.kms_request(kms_ctx)
       [2021/08/24 15:52:28.096]   File "/data/mci/de685763625e72294754b6cd2eb6525e/src/pymongo/encryption.py", line 116, in kms_request
       [2021/08/24 15:52:28.096]     ctx = get_ssl_context(
       [2021/08/24 15:52:28.096]   File "/data/mci/de685763625e72294754b6cd2eb6525e/src/pymongo/ssl_support.py", line 45, in get_ssl_context
       [2021/08/24 15:52:28.096]     (certfile,
       [2021/08/24 15:52:28.096] ValueError: too many values to unpack (expected 7)
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_amazon1_test_encryption__platform~awslinux_auth_ssl~noauth_nossl_python_version~3.9_encryption~encryption_test_latest_standalone_patch_fa9531b4bf4cde8bc1464f5b014140e0c96286f0_61251393850e616b13f3e5f9_21_08_24_15_43_53

      Attachments

        Issue Links

          Activity

            People

              shane.harvey@mongodb.com Shane Harvey
              shane.harvey@mongodb.com Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: