在部署代码后出现Heroku应用程序错误?

时间:2020-07-07 09:51:26

标签: javascript node.js github heroku

当我使用localhost运行代码时,我使用node js开发了一个简单的聊天应用程序,整个应用程序运行正常,但是每次将代码部署到Heroku时都会失败

这些是我正在获取的日志... 有人可以解释应该怎么做

020-07-07T09:41:22.714227+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=aathma-nirbhar-bharat.herokuapp.com request_id=3649cd8a-ce4f-481f-9317-a462497c433b fwd="27.5.227.1" dyno= connect= service= status=503 bytes= protocol=https
2020-07-07T09:41:55.531781+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2020-07-07T09:41:55.550121+00:00 heroku[web.1]: Stopping process with SIGKILL
2020-07-07T09:41:55.624470+00:00 heroku[web.1]: Process exited with status 137
2020-07-07T09:41:55.663460+00:00 heroku[web.1]: State changed from starting to crashed
2020-07-07T09:41:56.628289+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=aathma-nirbhar-bharat.herokuapp.com request_id=7ca88f42-b5a1-49da-8449-5697f6584fd0 fwd="27.5.227.1" dyno= 
connect= service= status=503 bytes= protocol=https
2020-07-07T09:42:28.778832+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=aathma-nirbhar-bharat.herokuapp.com request_id=78879817-9f44-46cd-8982-2a2560b445f3 fwd="27.5.227.1" dyno= 
connect= service= status=503 bytes= protocol=https
2020-07-07T09:42:29.729147+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=aathma-nirbhar-bharat.herokuapp.com request_id=911afd24-e560-4a53-9883-190169922bab fwd="27.5.227.1" dyno= connect= service= status=503 bytes= protocol=https

0 个答案:

没有答案