Rails Unicorn, Omniauth and Https

bruceyue · February 18, 2013 · Last by bruceyue replied at February 19, 2013 · 2893 hits

程序中使用了 Omniauth,访问页面为 https 的形式,但是用 unicorn 启动后程序报错。Chrom: Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. Firefox: An error occurred during a connection to 0.0.0.0:8080.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long) 急切盼望各位大神给予帮助。小弟在此先谢谢啦。

我按照他的方案试过还是不行,换做 Puma 也不行。用 thin start --ssl 可以,但是单线程的服务器慢啊。

You need to Sign in before reply, if you don't have an account, please Sign up first.