Closed olleolleolle closed 2 years ago
excon adapter fails with SSL in unknown state:
Could need some poking.
Excon::Error::Socket:
SSL_connect SYSCALL returned=5 errno=0 state=unknown state (OpenSSL::SSL::SSLError)
1) HTTPI::Adapter::Excon https requests works with client cert and key provided as file path
Failure/Error: respond_with @client.send(method)
Excon::Error::Socket:
SSL_connect SYSCALL returned=5 errno=0 state=unknown state (OpenSSL::SSL::SSLError)
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/ssl_socket.rb:135:in `connect_nonblock'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/ssl_socket.rb:135:in `initialize'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/connection.rb:461:in `new'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/connection.rb:461:in `socket'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/connection.rb:118:in `request_call'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/middlewares/mock.rb:57:in `request_call'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/middlewares/instrumentor.rb:34:in `request_call'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/middlewares/idempotent.rb:19:in `request_call'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/middlewares/base.rb:22:in `request_call'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/middlewares/base.rb:22:in `request_call'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/connection.rb:273:in `request'
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/connection.rb:359:in `get'
# ./lib/httpi/adapter/excon.rb:25:in `request'
# ./lib/httpi.rb:161:in `request'
# ./lib/httpi.rb:127:in `get'
# ./spec/integration/excon_spec.rb:148:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# OpenSSL::SSL::SSLError:
# SSL_connect SYSCALL returned=5 errno=0 state=unknown state
# /home/travis/.rvm/gems/ruby-2.5.8/gems/excon-0.81.0/lib/excon/ssl_socket.rb:135:in `connect_nonblock'
This can be closed?
Thanks, yes, now closable!
In order to make it possible to install on Ruby 3.0.
And to avoid warnings about a CVE in Puma.