git Heroku 错误 H10(应用程序崩溃)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9909373/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Heroku Error H10 (App crashed)
提问by user1051849
My Heroku app has crashed, and all i'm getting out of the logs is Error H10 (App crashed)
我的 Heroku 应用程序崩溃了,我从日志中得到的只是错误 H10(应用程序崩溃)
2012-03-28T14:11:56+00:00 heroku[router]: Error H10 (App crashed) -> GET www.devsite.com/ dyno= queue= wait= service= status=503 bytes=
2012-03-28T14:11:56+00:00 heroku[nginx]: 109.145.58.15 - - [28/Mar/2012:14:11:56 +0000] "GET / HTTP/1.1" 503 607 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.83 Safari/535.11" www.devsite.com
Any idea how to draw more information out of heroku logs - or find out what is wrong?
知道如何从 heroku 日志中提取更多信息 - 或者找出问题所在?
回答by Kem Mason
I had a similar problem, every time I hit the server, I just got these 2 useless lines of output in the logs.
我遇到了类似的问题,每次我访问服务器时,我都会在日志中得到这 2 行无用的输出。
When I ran:
当我跑:
heroku restart
It ended up showing me more output that let me track down my issue (related to migrating to cedar) (the app was crashing on deploy it appears, never fully starting up, but not showing an error during the deploying process, as would usually occur).
它最终向我展示了更多的输出,让我可以追踪我的问题(与迁移到 cedar 相关)(应用程序在部署时崩溃了,它似乎从未完全启动,但在部署过程中没有显示错误,这通常会发生)。
回答by Paul Simpson
According to their Developer documentation:
根据他们的开发人员文档:
Check your app's backtrace in the logs to find out what you need to do to fix the problem.
在日志中检查您的应用程序的回溯,以了解您需要做什么来解决问题。
回答by Samuel Cesc
I had similar issues and it was related to the dynos. H10 error.
我有类似的问题,它与 dynos 有关。H10 错误。
Just run:
赶紧跑:
heroku restart
heroku restart
Fixed it for me!
给我修好了!
回答by Artem Vasiliev
Heroku sometimes have H10 errors completely on their side like today- then you can utilize heroku-dyno-restartertool to have an automated solution - it will heroku restart
your app until it works )
Heroku 有时会像今天一样完全有 H10 错误- 然后您可以使用heroku-dyno-restarter工具来获得自动化解决方案 - 它会heroku restart
在您的应用程序运行之前)
回答by Toma
Had a similar problem and the error was masked, running a rails c on heroku gave us the reason for the crash
有一个类似的问题并且错误被掩盖了,在 heroku 上运行 rails c 给了我们崩溃的原因