Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patron ssl error #5

Open
technoweenie opened this issue Apr 22, 2019 · 0 comments
Open

patron ssl error #5

technoweenie opened this issue Apr 22, 2019 · 0 comments

Comments

@technoweenie
Copy link
Owner

  2) Faraday with unverified HTTPS server fails using patron with verification enabled
     Failure/Error:
       expect do
         conn.get('unverified_with_verification')
       end.to raise_error(Faraday::SSLError)

       expected Faraday::SSLError, got #<Faraday::ConnectionFailed wrapped=#<Patron::Error: SSL certificate problem: unable to get local issuer certificate>> with backtrace:
         # /usr/local/bundle/gems/patron-0.13.1/lib/patron/session.rb:330:in `handle_request'
         # /usr/local/bundle/gems/patron-0.13.1/lib/patron/session.rb:330:in `request'
         # /usr/local/bundle/bundler/gems/faraday-be097190e962/lib/faraday/adapter/patron.rb:38:in `call'
         # /usr/local/bundle/bundler/gems/faraday-be097190e962/lib/faraday/request/url_encoded.rb:23:in `call'
         # /usr/local/bundle/bundler/gems/faraday-be097190e962/lib/faraday/rack_builder.rb:153:in `build_response'
         # /usr/local/bundle/bundler/gems/faraday-be097190e962/lib/faraday/connection.rb:504:in `run_request'
         # /usr/local/bundle/bundler/gems/faraday-be097190e962/lib/faraday/connection.rb:207:in `get'
         # ./spec/insecure_spec.rb:21:in `block (4 levels) in <top (required)>'
         # ./spec/insecure_spec.rb:20:in `block (3 levels) in <top (required)>'
     # ./spec/insecure_spec.rb:20:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant