2012-03-02 30 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