Tag: 奥阿斯

Omniauth Facebook错误 – Faraday ::错误:: ConnectionFailed

(仅供参考:我正在使用来自railscast#241的Twitter Omniauth,我成功地使用了Twitter,现在进入Facebook) 只要我使用OmniauthloginFacebook,我得到这个错误: Faraday::Error::ConnectionFailed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed 这是什么意思? 这是我的代码 Rails.application.config.middleware.use OmniAuth::Builder do provider :facebook, '<key from fb>', '<another key from fb>' end 在我的代码中实际上没有什么,我所拥有的是在sessionController中,我想使用to_yaml来查看request.env class SessionsController < ApplicationController def create raise request.env["omniauth.auth"].to_yaml end end 我如何解决法拉第误差?