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

rest client does not connect to graph api using SSLv3 #50

Closed
formigarafa opened this issue Oct 16, 2014 · 6 comments
Closed

rest client does not connect to graph api using SSLv3 #50

formigarafa opened this issue Oct 16, 2014 · 6 comments

Comments

@formigarafa
Copy link

require 'mini_fb'
access_token = "that_crazy long string"
MiniFB.get access_token, 'me'
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failure
from /Users/rafaelsantos/.rbenv/versions/2.1.3/lib/ruby/2.1.0/net/http.rb:920:in `connect'

It seems the POODLE is annoying here, too.

@SanderSander
Copy link

Same issue here with sslv3 =(

@SanderSander
Copy link

October 14th, 2014 - Disabled SSL 3.0 Support

Source: https://developers.facebook.com/docs/apps/changelog

And the fix: treeder/rest_client#3

@eellson
Copy link

eellson commented Oct 16, 2014

I have a fork which fixes a specific manifestation of this bug here. Slightly different to the above suggestion as the treeder/rest_client branch is not the same as the rest_client this gem depends on by default.

I imagine something similar may want to be done in other parts of the codebase, but this seems enough to fix the issue I was seeing.

@formigarafa
Copy link
Author

@SanderSander , I may need some help with that pull request (treeder/rest_client#3) on rest_client. I have fixed a bunch of tests but there is still a couple of them failing. if someone here could give me a little help I would really appreciate.

@treeder
Copy link
Member

treeder commented Oct 17, 2014

Merged those rest_client pulls, anything that needs to change in mini_fb now?

@treeder
Copy link
Member

treeder commented Oct 27, 2014

rest_client 1.8.0 (just pushed to rubygems) has all the fixes in it now.

@treeder treeder closed this as completed Oct 27, 2014
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

4 participants