在Heroku上部署应用程序时如何解决H20错误?

时间:2019-01-08 21:39:59

标签: node.js heroku nuxt.js heroku-cli

我的应用程序在本地运行良好,并且由于某些原因,我过去曾成功部署过该应用程序。

构建成功,但是当我访问应用程序时,它指出存在错误,并将我定向到错误日志。

更新:该应用程序已自行联机且正在运行。就在今天,我又进行了一次部署,并对日志进行了同样的处理。

我有一个更新的日志报告,该报告可能有助于确定以下问题:

2019-01-10T18:09:25.137016+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=extremeparts.happyfeed.io request_id=416dd308-07ef-431d-9f84-d11dd0ebb2a2 fwd="66.207.216.130" dyno= connect= service= status=503 bytes= protocol=http
2019-01-10T18:09:32.777385+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=extremeparts.happyfeed.io request_id=397e7c62-3274-4cdf-b26e-f00f2c99ee21 fwd="66.207.216.130" dyno= connect= service= status=503 bytes= protocol=http
2019-01-10T18:09:33.881452+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=extremeparts.happyfeed.io request_id=61e77c1f-1edb-4c68-becb-595a4aa5bcca fwd="66.207.216.130" dyno= connect= service= status=503 bytes= protocol=http
2019-01-10T18:10:41.103152+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=extremeparts.herokuapp.com request_id=ff3479ff-5b56-46a3-8714-66e6d9641569 fwd="66.207.216.130" dyno= connect= service= status=503 bytes= protocol=https
2019-01-10T18:10:46.334074+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=extremeparts.herokuapp.com request_id=2633d447-0f58-4f5d-951f-2f01360b7eb1 fwd="66.207.216.130" dyno= connect= service= status=503 bytes= protocol=https
2019-01-10T18:13:29.357357+00:00 heroku[web.1]: State changed from crashed to starting
2019-01-10T18:13:37.398825+00:00 heroku[web.1]: Starting process with command `npm start`
2019-01-10T18:13:40.904693+00:00 app[web.1]:
2019-01-10T18:13:40.904720+00:00 app[web.1]: > sms-funnel@1.0.0 start /app
2019-01-10T18:13:40.904722+00:00 app[web.1]: > nuxt build && nuxt start
2019-01-10T18:13:40.904723+00:00 app[web.1]:
2019-01-10T18:13:42.545513+00:00 app[web.1]:
2019-01-10T18:13:42.545554+00:00 app[web.1]: WARN  vendor has been deprecated due to webpack4 optimization        18:13:42
2019-01-10T18:13:42.545556+00:00 app[web.1]:
2019-01-10T18:13:46.442346+00:00 app[web.1]: ℹ Compiling Client                                         webpackbar 18:13:46
2019-01-10T18:14:23.738300+00:00 heroku[web.1]: Process running mem=667M(130.4%)
2019-01-10T18:14:23.738300+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
2019-01-10T18:14:37.657497+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2019-01-10T18:14:37.657497+00:00 heroku[web.1]: Stopping process with SIGKILL
2019-01-10T18:14:37.814331+00:00 heroku[web.1]: Process exited with status 137
2019-01-10T18:14:55.792511+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=extremeparts.herokuapp.com request_id=0fadedcd-d387-493a-bd0a-1b6463eb5ae1 fwd="66.207.216.130" dyno= connect= service= status=503 bytes= protocol=https
2019-01-10T18:15:02.902463+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=extremeparts.happyfeed.io request_id=6a9c86ee-1ae9-427f-bd2b-b088d04e6050 fwd="66.207.216.130" dyno= connect= service= status=503 bytes= protocol=http
2019-01-10T18:21:57.484369+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=extremeparts.happyfeed.io request_id=0bb304e5-744c-40fd-949d-516d15f9f244 fwd="66.207.216.130" dyno= connect= service= status=503 bytes= protocol=http

0 个答案:

没有答案