我将rails应用程序部署到heroku但是在查看它时出现错误

时间:2015-02-04 01:53:08

标签: ruby-on-rails heroku

我的rails应用程序在本地工作正常,但在heroku上它无法正常工作。当我运行heroku日志时,除了这一行之外,一切似乎都很好:

2015-02-04T01:46:56.345454+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=intense-everglades-8966.herokuapp.com request_id=43dd88ab-bf6a-4eea-978c-3ba43ed561c2 fwd="98.225.171.126" dyno= connect= service= status=503 bytes=

1 个答案:

答案 0 :(得分:0)

您收到的消息返回错误代码H10,这意味着应用程序崩溃了。 https://devcenter.heroku.com/articles/error-codes#h10-app-crashed

在Heroku网站上排除故障的帮助不大。崩溃可能是由于多种原因造成的。 但是,您可以获得有关错误的更多线索:

$heroku run rails console
希望有所帮助。

相关问题