在heroku日志中:
/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 :(得分: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...
答案 1 :(得分:2)
此问题已在Heroku的github帐户中发布为问题。他们正在努力并快速解决问题:
答案 2 :(得分:1)
[sudo] gem install certified
添加到gemfile:gem 'certified'
bundle install
从https://github.com/stevegraham/certified /certs
添加/lib
以确保