私はJavaでplay-1.2.4フレームワークを使用しており、MongoDBデータベースを使用しています。プロジェクトをherokuリポジトリに正常にプッシュします。そして、私のページを開こうとすると、まだエラーが表示されます:アプリケーションエラー
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
このheroku logs
コマンドを入力すると、次のエラーが発生します
heroku logs
2012-05-05T06:00:13+00:00 app[web.1]: ~ _ _
2012-05-05T06:00:13+00:00 app[web.1]: ~ _ __ | | __ _ _ _| |
2012-05-05T06:00:13+00:00 app[web.1]: ~ | __/|_|\____|\__ (_)
2012-05-05T06:00:13+00:00 app[web.1]: ~ | '_ \| |/ _' | || |_|
2012-05-05T06:00:13+00:00 app[web.1]: ~ |_| |__/
2012-05-05T06:00:13+00:00 app[web.1]: ~
2012-05-05T06:00:13+00:00 app[web.1]: ~ play! 1.2.4, http://www.p
layframework.org
2012-05-05T06:00:13+00:00 app[web.1]: ~ framework ID is prod
2012-05-05T06:00:13+00:00 app[web.1]: ~ Ctrl+C to stop
2012-05-05T06:00:13+00:00 app[web.1]: ~
2012-05-05T06:00:13+00:00 app[web.1]: ~
2012-05-05T06:00:13+00:00 app[web.1]:
2012-05-05T06:00:14+00:00 heroku[web.1]: Process exited with stat
us 0
2012-05-05T06:00:14+00:00 heroku[web.1]: State changed from start
ing to crashed
2012-05-05T06:05:17+00:00 heroku[run.1]: State changed from creat
ed to starting
2012-05-05T06:05:19+00:00 app[run.1]: Awaiting client
2012-05-05T06:05:20+00:00 heroku[run.1]: State changed from start
ing to up
2012-05-05T06:05:49+00:00 app[run.1]: Error R13 (Attach error) ->
Failed to attach to process
2012-05-05T06:05:50+00:00 heroku[run.1]: Process exited with stat
us 1
2012-05-05T06:05:50+00:00 heroku[run.1]: State changed from up to
complete
を使用してherokuプロセスを実行するheroku ps
と、
Process State Command
------- -------------- ------------------------------------
web.1 crashed for 5m play run --http.port=$PORT $PLAY_O..
を実行するheroku run console
と、次のエラーが表示されます。
端末に接続された実行中のコンソール...
C:/Program Files/Heroku/l ib/heroku/client/rendezvous.rb:33:in `initialize': A connection a ttempt failed because the connected party did not properly respon d after a period of time, or established connection failed becaus e connected host has failed to respond. - connect(2) (Errno::ETIM EDOUT)
from C:/Program Files/Heroku/lib/heroku/client/rendezvous .rb:33:in `open'
from C:/Program Files/Heroku/lib/heroku/client/rendezvous .rb:33:in `block in start'
from C:/Program Files/ruby-1.9.3/lib/ruby/1.9.1/timeout.r b:58:in `timeout'
from C:/Program Files/Heroku/lib/heroku/client/rendezvous .rb:27:in `start'
from C:/Program Files/Heroku/lib/heroku/command/run.rb:35 :in `index'
from C:/Program Files/Heroku/lib/heroku/command.rb:148:in `run'
from C:/Program Files/Heroku/lib/heroku/cli.rb:9:in `star t'
from C:/Program Files/Heroku/bin/heroku:28:in `<main>'
私がここで逃したものは何ですか?誰かが私がこれを整理するのを手伝ってくれますか?