首页 > 解决方案 > Heroku 应用程序错误,错误代码为 H10

问题描述

我创建了一个 eccomerce 应用程序,当我尝试使用 heroku 时,它给出了应用程序错误。当我运行 heroku 日志时,它会提供以下详细信息:

2021-08-17T05:03:31.462638+00:00 heroku[web.1]: Starting process with command `npm start`
2021-08-17T05:03:33.276856+00:00 app[web.1]: 
2021-08-17T05:03:33.276871+00:00 app[web.1]: > ecommercia@1.0.0 start /app
2021-08-17T05:03:33.276872+00:00 app[web.1]: > node
2021-08-17T05:03:33.276872+00:00 app[web.1]:
2021-08-17T05:03:33.368932+00:00 heroku[web.1]: Process exited with status 0
2021-08-17T05:03:33.475426+00:00 heroku[web.1]: State changed from starting to crashed
2021-08-17T05:04:20.545221+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=ecommerciashop.herokuapp.com request_id=ffde7dc6-7863-40e6-a375-572f0af5bdd9 fwd="111.119.185.46" dyno= connect= service= status=503 bytes= protocol=https
2021-08-17T05:04:21.710674+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=ecommerciashop.herokuapp.com request_id=af5164f7-674e-46d1-b2dd-8bdb1abd1c66 fwd="111.119.185.46" dyno= connect= service= status=503 bytes= protocol=https
2021-08-17T05:08:39.399909+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=ecommerciashop.herokuapp.com request_id=7a496c69-ac5f-4099-8320-d72f77ed5551 fwd="111.119.185.46" dyno= connect= service= status=503 bytes= protocol=https
2021-08-17T05:08:39.836180+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=ecommerciashop.herokuapp.com request_id=c85d540d-6e43-4ef1-826c-0f69a73ad394 fwd="111.119.185.46" dyno= connect= service= status=503 bytes= protocol=https

任何人都可以帮助诊断错误

标签: herokumern

解决方案


推荐阅读