简体   繁体   English

Heroku Web应用程序部署错误

[英]Heroku web app deployment error

I'm getting an Application error when running my python heroku app and the logs show: 运行python heroku应用程序时出现应用程序错误,日志显示:

at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=python-blackjack.herokuapp.com request_id=38f050c2-bc7e-499a-8112-ee7d4b66bf0c fwd="90.205.68.255" dyno= connect= service= status=503 bytes= protocol=https at =错误代码= H10 desc =“应用程序崩溃”方法=获取路径=“ / favicon.ico”主机= python-blackjack.herokuapp.com request_id = 38f050c2-bc7e-499a-8112-ee7d4b66bf0c fwd =“ 90.205.68.255” dyno = connect =服务= status = 503字节= protocol = https

does anyone know the issue/s 有谁知道这个问题

thanks 谢谢

This most likely has nothing to do with favicon.ico . 这很可能与favicon.ico没有关系。 H10 App Crashed means your server could not start, and every request sent to it is erring out. H10 App Crashed意味着您的服务器无法启动,并且发送给它的每个请求都出错了。

I recommend to use heroku restart , and look in the logs what is causing server to die on startup. 我建议使用heroku restart ,并在日志中查找导致服务器在启动时死亡的原因。

This is a very generic error and question without providing any code. 这是一个非常通用的错误和问题,没有提供任何代码。 But the most I can see is that you're missing a favicon.ico. 但是我能看到的最多是您丢失了一个favicon.ico。 Just make one and add it to your project root. 只需制作一个并将其添加到您的项目根目录即可。

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

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