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

Faraday::Error::ConnectionFailed #28

Closed
Dark-Sun opened this issue Sep 30, 2013 · 3 comments
Closed

Faraday::Error::ConnectionFailed #28

Dark-Sun opened this issue Sep 30, 2013 · 3 comments

Comments

@Dark-Sun
Copy link

При использовании VkontakteApi.authorize в контроллере вылетает ошибка
Faraday::Error::ConnectionFailed (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed).
Все делал по инструкции.
Ruby 1.9, Rails 4.0.0

@7even
Copy link
Owner

7even commented Sep 30, 2013

Похоже, проблема с SSL-сертификатом. Винда?

@Dark-Sun
Copy link
Author

OS X
Проблема решилась выключением проверки SSL-сертификата (для моих целей это подходит):

require 'openssl'
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE

@7even
Copy link
Owner

7even commented Oct 1, 2013

Вообще так делать не советуют.

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

2 participants