LoginSignup
1
2

More than 5 years have passed since last update.

heroku openのエラー

Last updated at Posted at 2014-05-17

heroku へデプロイして
本番環境でサンプルアプリケーションが動作しているか確かめる

$ heroku open

エラーがでた

Application Error
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

at=error code=H10 desc="App crashed" method=GET path=/ host=obscure-dawn-8322.herokuapp.com request_id=6d9685c0-3c3d-418e-a570-c5cee9a2085d fwd="133.31.219.68" dyno= connect= service= status=503 bytes=

再起動

・heroku ps:restart web.1
・heroku ps

しても変わらず・・

$heroku logs --tail

2014-05-17T04:20:52.779552+00:00 heroku[run.4846]: State changed from starting to up
2014-05-17T04:20:52.675062+00:00 heroku[run.4846]: Awaiting client
2014-05-17T04:21:24.116094+00:00 heroku[run.4846]: State changed from up to complete
2014-05-17T04:21:22.677803+00:00 heroku[run.4846]: Error R13 (Attach error) -> Failed to attach to process
2014-05-17T04:21:24.112800+00:00 heroku[run.4846]: Process exited with status 128

これを参考にしたが、timeout になってしまっている

$ heroku run:detached rake db:migrate
$ heroku run rails console

Running `rails console` attached to terminal...
up, run.3424
!
! Timeout awaiting process

timeout になってしまっている

$ telnet rendezvous.runtime.heroku.com 5000
Trying 50.19.103.36...
telnet: connect to address 50.19.103.36: Operation timed out
telnet: Unable to connect to remote host

エラーもきえず。。

1
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2