简体   繁体   English

Heroku错误H10(应用程序崩溃)

[英]Heroku Error H10 (App crashed)

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日志中提取更多信息 - 或者找出问题所在?

I had a similar problem, every time I hit the server, I just got these 2 useless lines of output in the logs. 我有一个类似的问题,每次我点击服务器,我只是在日志中有这两个无用的输出行。

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). 它最终向我展示了更多输出,让我可以追踪我的问题(与迁移到雪松相关)(应用程序在部署时出现崩溃,从未完全启动,但在部署过程中没有显示错误,通常会发生)。

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. 检查应用程序在日志中的回溯,找出解决问题所需的操作。

https://devcenter.heroku.com/articles/errors https://devcenter.heroku.com/articles/errors

I had similar issues and it was related to the dynos. 我有类似的问题,它与dynos有关。 H10 error. H10错误。

Just run: 赶紧跑:

heroku restart

Fixed it for me! 为我修好了!

Heroku有时会像今天一样完全出现H10错误 - 那么你可以使用heroku-dyno-restarter工具来获得一个自动化解决方案 - 它会heroku restart你的应用程序,直到它工作为止)

有一个类似的问题和错误被掩盖,在heroku上运行rails c给了我们崩溃的原因

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM