2012-03-02 88 views
2

失败的Heroku的Ruby的Heroku在日志中:证书请on Rails的Ruby的3.2.1 1.9.2p290

/usr/lib/ruby/1.9.1/net/http.rb:678:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) 
    from /usr/lib/ruby/1.9.1/net/http.rb:678:in `block in connect' 
    from /usr/lib/ruby/1.9.1/timeout.rb:44:in `timeout' 
    from /usr/lib/ruby/1.9.1/timeout.rb:89:in `timeout' 
    from /usr/lib/ruby/1.9.1/net/http.rb:678:in `connect' 
    from /usr/lib/ruby/1.9.1/net/http.rb:637:in `do_start' 
    from /usr/lib/ruby/1.9.1/net/http.rb:626:in `start' 
    from /usr/local/heroku/lib/heroku/client.rb:409:in `read_logs' 
    from /usr/local/heroku/lib/heroku/command/logs.rb:31:in `index' 
    from /usr/local/heroku/lib/heroku/command.rb:135:in `run' 
    from /usr/local/heroku/lib/heroku/cli.rb:9:in `start' 
    from /usr/bin/heroku:30:in `<main>' 

我一点都不知道的想法在这里做什么。在Ubuntu 11.10上使用Ruby 1.9.2和Rails 3.2.1。已尝试更新我的证书最新从here,但它似乎没有什么差异。

还试图从here添加以下代码,并推回的Heroku但也不能工作。

+0

帮我 - http://stackoverflow.com/a/16983443/11792 – 2013-06-07 12:12:38

回答

2

这个问题已经被张贴作为Heroku的github上考虑的问题。他们正在研究它,并有一个快速的解决办法:

https://github.com/heroku/heroku/issues/245

+0

感谢这真的很感激链接 – Jonathan 2012-03-02 10:00:27

+0

是的,很高兴看到我不是唯一一个恼火与这昨晚。 – drclausen 2012-03-02 19:56:41

+0

http://stackoverflow.com/a/16983443/11792 – 2013-06-07 12:11:10

2

我也一样。

我做了如下解决:

~ $ heroku version 
2.21.1 
~ $ gem uninstall heroku --version 2.21.1 
Successfully uninstalled heroku-2.21.1 
~ $ heroku version 
heroku-gem/2.20.1 
~ $ heroku logs --app myapp 
2012-03-02T04:12:22+00:00 heroku[nginx]: 24.4.137.156 - - [02/Mar/2012:04:12:22 +0000] "GET /assets/layout/nav_bar-0fecc02... 
+0

而不是降级,他们似乎吨o正在处理这个问题,但也看到我的答案。 – Jonathan 2012-03-02 10:00:03