2012-03-03 9 views
0

私はチュートリアルhereに従っています: すべての手順を完了しました。私のアプリにはconfig.ru、gemfile、そして単にgoというファイルがあります!これはちょうどheroku上で実行されているアプリをテストして、それがどのように処理されたかを確認することでした。残念ながら、私は非常に奇妙なエラーが発生しています。ヒロクのアプリ起動エラー

git push heroku master 
Counting objects: 9, done. 
Delta compression using up to 2 threads. 
Compressing objects: 100% (5/5), done. 
Writing objects: 100% (5/5), 596 bytes, done. 
Total 5 (delta 4), reused 0 (delta 0) 

-----> Heroku receiving push 
-----> Ruby/Rack app detected 
-----> Installing dependencies using Bundler version 1.1.rc.7 
     Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment 
     Using i18n (0.6.0) 
     Using multi_json (1.1.0) 
     Using activesupport (3.2.2) 
     Using builder (3.0.0) 
     Using activemodel (3.2.2) 
     Using bson (1.6.0) 
     Using mongo (1.6.0) 
     Using plucky (0.4.4) 
     Using mongo_mapper (0.11.0) 
     Using rack (1.4.1) 
     Using rack-protection (1.2.0) 
     Using tilt (1.3.3) 
     Using sinatra (1.3.2) 
     Using bundler (1.1.rc.7) 
     Your bundle is complete! It was installed into ./vendor/bundle 
     Cleaning up the bundler cache. 
-----> Discovering process types 
     Procfile declares types  -> (none) 
     Default types for Ruby/Rack -> console, rake, web 
-----> Compiled slug size is 3.7MB 
-----> Launching... done, v5 
     http://myapp.herokuapp.com deployed to Heroku 

To [email protected]:myapp.git 
    d799d9c..93d7d15 master -> master 

が十分に単純に思えるのチュートリアルに従って以下

は私のGitのプッシュです。しかし、HerokuのPSは、当然のことながら、私は、ログをチェックしますが、彼らは同様にアラビアであってもよい

Process State   Command        
------- -------------- ------------------------------------ 
web.1 crashed for 4s bundle exec rackup config.ru -p $P.. 

を与えます。

/

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>' 

私はHerokuのはルビー1.9.2でアプリを実行していたと思いますが、重要ではないthatsのでした。それは私がいくつかの種類のSSL証明書または変数が不足しているようだ。私は間違いなく私の 'go.rb'スクリプトでSSLベースの関数を使用していないが、それはまだ何かを必要と思われる。

誰でも正しい方向に向けることができますか?


config.ru

require './go' 
run Sinatra::Application 
+0

これは実際にはHerokuのツールに問題があるようですが、わかりませんがあなたは[Herokuのサポート](http://support.heroku.com/)に反することができます。 –

+0

あなたのconfig.ruに何か問題があるようです – three

答えて

0

この問題は本当にしばらくの間、私を幽霊。私はまだ問題の底には達していませんが、修正され、再浮上していません。

sinatraアプリケーションは起動しませんでした。ログを確認した後、SSLポップアップという言葉が多く見つかりました

私はちょうどHerokuでテストするために別の小さなプログラムを書きましたが、同じエラーがありました。

チュートリアルhereに続き、エラーを解決したようです。

0

ご迷惑をおかけして申し訳ありません。 SSL証明書に関する最近リリースされたCLIバージョンにはバグがあり、それに遭遇したようです。私たちはそれを修正し、この問題を持ってはならない新しいバージョンをリリースしました。だからこそ、あなたは前進するべきものであってはなりません。

関連する問題