• Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.19.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Fix the following FLE test:

      Unable to find source-code formatter for language: ruby. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      1) Client-Side Encryption Prose tests: KMS TLS Options Tests AWS with no client certificate TLS handshake failed
        Failure/Error:
          expect do
            client_encryption_no_client_cert.create_data_key(
              'aws',
              {
                master_key: master_key_template.merge({endpoint: "127.0.0.1:8002"})
              }
            )
          end.to raise_error(Mongo::Error::KmsError, /(SocketError|ECONNRESET)/)
        
          expected Mongo::Error::KmsError with message matching /(SocketError|ECONNRESET)/, got #<Mongo::Error::KmsError: Error when connecting to KMS provider: IOError: Received fatal alert: certificate_required> with backtrace:
            # ./lib/mongo/crypt/encryption_io.rb:337:in `with_ssl_socket'
            # ./lib/mongo/crypt/encryption_io.rb:140:in `feed_kms'
            # ./lib/mongo/crypt/context.rb:113:in `run_state_machine'
            # ./lib/mongo/crypt/explicit_encrypter.rb:67:in `create_and_insert_data_key'
            # ./lib/mongo/client_encryption.rb:86:in `create_data_key'
            # ./spec/integration/client_side_encryption/kms_tls_options_spec.rb:213:in `block in <main>'
            # ./spec/integration/client_side_encryption/kms_tls_options_spec.rb:212:in `block in <main>'
            # ./spec/lite_spec_helper.rb:141:in `block in /app/spec/lite_spec_helper.rb'
            # ./spec/lite_spec_helper.rb:140:in `block in /app/spec/lite_spec_helper.rb'
            # ./spec/lite_spec_helper.rb:120:in `block in /app/spec/lite_spec_helper.rb'
            # ./spec/integration/client_side_encryption/kms_tls_options_spec.rb:212:in `block in <main>'
            # ./spec/lite_spec_helper.rb:141:in `block in /app/spec/lite_spec_helper.rb'
            # ./spec/lite_spec_helper.rb:140:in `block in /app/spec/lite_spec_helper.rb'
            # ./spec/lite_spec_helper.rb:120:in `block in /app/spec/lite_spec_helper.rb'
      

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: