Django:Heroku无法启动,at=error code=H10 desc=“应用程序崩溃”

2024-09-30 22:16:19 发布

您现在位置:Python中文网/ 问答频道 /正文

在过去的3天里,我一直在尝试启动我的web应用程序,但我一直遇到这个错误。在应用程序没有任何错误地完美运行之前。我查看我的日志,但似乎无法破译错误来自何处或如何开始调试。我现在都不知道该做什么了,因为我真的很累。如果有人能帮忙那就太棒了!谢谢你

2019-10-31T15:19:04.996635+00:00 app[web.1]: [2019-10-31 15:19:04 +0000] [11] [INFO] Worker exiting (pid: 11)
2019-10-31T15:19:04.998991+00:00 app[web.1]: [2019-10-31 15:19:04 +0000] [4] [INFO] Handling signal: term
2019-10-31T15:19:05.203657+00:00 app[web.1]: [2019-10-31 15:19:05 +0000] [4] [INFO] Shutting down: Master
2019-10-31T15:19:11.689709+00:00 heroku[web.1]: State changed from starting to up
2019-10-31T15:19:11.608486+00:00 app[web.1]: [2019-10-31 15:19:11 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-10-31T15:19:11.609129+00:00 app[web.1]: [2019-10-31 15:19:11 +0000] [4] [INFO] Listening at: http://0.0.0.0:49822 (
4)
2019-10-31T15:19:11.60926+00:00 app[web.1]: [2019-10-31 15:19:11 +0000] [4] [INFO] Using worker: sync
2019-10-31T15:19:11.61345+00:00 app[web.1]: [2019-10-31 15:19:11 +0000] [10] [INFO] Booting worker with pid: 10
2019-10-31T15:19:11.652534+00:00 app[web.1]: [2019-10-31 15:19:11 +0000] [11] [INFO] Booting worker with pid: 11
2019-10-31T15:19:32.839267+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=selmee.he
rokuapp.com request_id=c3a5ba3c-b692-4541-a43b-8fdead5e5adc fwd="197.210.84.35" dyno= connect= service= status=503 bytes
= protocol=https
2019-10-31T15:29:47+00:00 app[api]: Build started by user musty474izala@gmail.com
2019-10-31T15:30:14.108522+00:00 heroku[web.1]: State changed from up to down
2019-10-31T15:30:12.243748+00:00 app[api]: Deploy fcaf6eb1 by user musty474izala@gmail.com
2019-10-31T15:30:15.25223+00:00 app[web.1]: [2019-10-31 15:30:15 +0000] [4] [INFO] Handling signal: term
2019-10-31T15:30:15.25274+00:00 app[web.1]: [2019-10-31 15:30:15 +0000] [10] [INFO] Worker exiting (pid: 10)
2019-10-31T15:30:15.254066+00:00 app[web.1]: [2019-10-31 15:30:15 +0000] [11] [INFO] Worker exiting (pid: 11)
2019-10-31T15:30:15.452534+00:00 app[web.1]: [2019-10-31 15:30:15 +0000] [4] [INFO] Shutting down: Master
2019-10-31T15:30:12.243748+00:00 app[api]: Release v61 created by user musty474izala@gmail.com
2019-10-31T15:30:15.205815+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2019-10-31T15:30:24+00:00 app[api]: Build succeeded
2019-10-31T15:30:15.534461+00:00 heroku[web.1]: Process exited with status 0
2019-10-31T15:30:44.541201+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.selme
.me request_id=d6e5ae65-3a7d-4068-bfcb-651925b89906 fwd="197.210.84.35" dyno= connect= service= status=503 bytes= protoc
ol=http
2019-10-31T15:41:32+00:00 app[api]: Build started by user musty474izala@gmail.com
2019-10-31T15:41:43+00:00 app[api]: Build started by user musty474izala@gmail.com
2019-10-31T15:41:56.936235+00:00 app[api]: Release v62 created by user musty474izala@gmail.com
2019-10-31T15:41:56.951949+00:00 app[api]: Scaled to web@1:Free by user musty474izala@gmail.com
2019-10-31T15:41:56.936235+00:00 app[api]: Deploy 8987e27e by user musty474izala@gmail.com
2019-10-31T15:42:01.928859+00:00 heroku[web.1]: Starting process with command `gunicorn icp.wsgi`
2019-10-31T15:42:03.254217+00:00 app[web.1]: [2019-10-31 15:42:03 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-10-31T15:42:03.254753+00:00 app[web.1]: [2019-10-31 15:42:03 +0000] [4] [INFO] Listening at: http://0.0.0.0:45343 (
4)
2019-10-31T15:42:03.254848+00:00 app[web.1]: [2019-10-31 15:42:03 +0000] [4] [INFO] Using worker: sync
2019-10-31T15:42:03.258385+00:00 app[web.1]: [2019-10-31 15:42:03 +0000] [10] [INFO] Booting worker with pid: 10
2019-10-31T15:42:03.29722+00:00 app[web.1]: [2019-10-31 15:42:03 +0000] [11] [INFO] Booting worker with pid: 11
2019-10-31T15:42:03.490946+00:00 heroku[web.1]: State changed from starting to up
2019-10-31T15:42:07.687219+00:00 app[api]: Release v63 created by user musty474izala@gmail.com
2019-10-31T15:42:07.687219+00:00 app[api]: Deploy 8987e27e by user musty474izala@gmail.com
2019-10-31T15:42:07.902401+00:00 heroku[web.1]: Restarting
2019-10-31T15:42:07.909129+00:00 heroku[web.1]: State changed from up to starting
2019-10-31T15:42:08+00:00 app[api]: Build succeeded
2019-10-31T15:42:08.727918+00:00 heroku[web.1]: Process exited with status 0
2019-10-31T15:42:08.579496+00:00 app[web.1]: [2019-10-31 15:42:08 +0000] [11] [INFO] Worker exiting (pid: 11)
2019-10-31T15:42:08.579535+00:00 app[web.1]: [2019-10-31 15:42:08 +0000] [10] [INFO] Worker exiting (pid: 10)
2019-10-31T15:42:08.579544+00:00 app[web.1]: [2019-10-31 15:42:08 +0000] [4] [INFO] Handling signal: term
2019-10-31T15:42:08.680146+00:00 app[web.1]: [2019-10-31 15:42:08 +0000] [4] [INFO] Shutting down: Master
2019-10-31T15:42:08.554886+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2019-10-31T15:42:14.386515+00:00 heroku[web.1]: Starting process with command `gunicorn icp.wsgi`
2019-10-31T15:42:20.058631+00:00 heroku[web.1]: State changed from starting to up
2019-10-31T15:42:19.227677+00:00 app[web.1]: [2019-10-31 15:42:19 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-10-31T15:42:19.22851+00:00 app[web.1]: [2019-10-31 15:42:19 +0000] [4] [INFO] Listening at: http://0.0.0.0:5491 (4)

2019-10-31T15:42:19.228677+00:00 app[web.1]: [2019-10-31 15:42:19 +0000] [4] [INFO] Using worker: sync
2019-10-31T15:42:19.244574+00:00 app[web.1]: [2019-10-31 15:42:19 +0000] [10] [INFO] Booting worker with pid: 10
2019-10-31T15:42:19.27259+00:00 app[web.1]: [2019-10-31 15:42:19 +0000] [11] [INFO] Booting worker with pid: 11
2019-10-31T15:42:19+00:00 app[api]: Build succeeded
2019-10-31T15:42:47.076925+00:00 app[api]: Starting process with command `bash` by user musty474izala@gmail.com
2019-10-31T15:42:53.274706+00:00 heroku[run.8736]: State changed from starting to up
2019-10-31T15:43:35.496926+00:00 heroku[run.8736]: State changed from up to complete
2019-10-31T15:43:35.461158+00:00 heroku[run.8736]: Process exited with status 128
2019-10-31T15:44:21.797385+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=selmee.he
rokuapp.com request_id=703ba5b2-2d6b-4280-809d-2a3540f531eb fwd="197.210.84.35" dyno= connect= service= status=503 bytes
= protocol=http
2019-10-31T15:45:58.434626+00:00 app[api]: Starting process with command `bash` by user musty474izala@gmail.com
2019-10-31T15:46:04.66692+00:00 heroku[run.2829]: State changed from starting to up
2019-10-31T15:46:18.452773+00:00 heroku[run.2829]: State changed from up to complete
2019-10-31T15:46:18.410057+00:00 heroku[run.2829]: Process exited with status 127
2019-10-31T15:50:12+00:00 app[api]: Build started by user musty474izala@gmail.com
2019-10-31T15:50:30.782747+00:00 app[api]: Release v64 created by user musty474izala@gmail.com
2019-10-31T15:50:33.725408+00:00 app[web.1]: [2019-10-31 15:50:33 +0000] [11] [INFO] Worker exiting (pid: 11)
2019-10-31T15:50:33.729819+00:00 app[web.1]: [2019-10-31 15:50:33 +0000] [10] [INFO] Worker exiting (pid: 10)
2019-10-31T15:50:33.74874+00:00 app[web.1]: [2019-10-31 15:50:33 +0000] [4] [INFO] Handling signal: term
2019-10-31T15:50:33.852772+00:00 app[web.1]: [2019-10-31 15:50:33 +0000] [4] [INFO] Shutting down: Master
2019-10-31T15:50:33.976765+00:00 heroku[web.1]: Process exited with status 0
2019-10-31T15:50:32.123701+00:00 heroku[web.1]: Restarting
2019-10-31T15:50:32.180263+00:00 heroku[web.1]: State changed from up to starting
2019-10-31T15:50:33.654582+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2019-10-31T15:50:35.681206+00:00 app[api]: Release v65 created by user musty474izala@gmail.com
2019-10-31T15:50:36.169014+00:00 heroku[web.1]: Restarting
2019-10-31T15:50:42+00:00 app[api]: Build succeeded
2019-10-31T15:50:46+00:00 app[api]: Build succeeded
2019-10-31T15:50:04+00:00 app[api]: Build started by user musty474izala@gmail.com
2019-10-31T15:50:38.091106+00:00 heroku[web.1]: Starting process with command `gunicorn icp.wsgi  --log-file -`
2019-10-31T15:51:10.403285+00:00 app[web.1]: [2019-10-31 15:51:10 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-10-31T15:51:10.403807+00:00 app[web.1]: [2019-10-31 15:51:10 +0000] [4] [INFO] Listening at: http://0.0.0.0:38117 (
4)
2019-10-31T15:51:10.403923+00:00 app[web.1]: [2019-10-31 15:51:10 +0000] [4] [INFO] Using worker: sync
2019-10-31T15:51:10.407745+00:00 app[web.1]: [2019-10-31 15:51:10 +0000] [10] [INFO] Booting worker with pid: 10
2019-10-31T15:51:10.454498+00:00 app[web.1]: [2019-10-31 15:51:10 +0000] [11] [INFO] Booting worker with pid: 11
2019-10-31T15:50:41.497985+00:00 heroku[web.1]: Starting process with command `gunicorn icp.wsgi  --log-file -`
2019-10-31T15:51:12.823126+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2019-10-31T15:51:13.155218+00:00 heroku[web.1]: Process exited with status 0
2019-10-31T15:51:15.007369+00:00 app[web.1]: [2019-10-31 15:51:15 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-10-31T15:51:15.008355+00:00 app[web.1]: [2019-10-31 15:51:15 +0000] [4] [INFO] Listening at: http://0.0.0.0:5214 (4
)
2019-10-31T15:51:15.008594+00:00 app[web.1]: [2019-10-31 15:51:15 +0000] [4] [INFO] Using worker: sync
2019-10-31T15:51:15.018885+00:00 app[web.1]: [2019-10-31 15:51:15 +0000] [10] [INFO] Booting worker with pid: 10
2019-10-31T15:51:15.024208+00:00 app[web.1]: [2019-10-31 15:51:15 +0000] [11] [INFO] Booting worker with pid: 11
2019-10-31T15:51:15.758968+00:00 heroku[web.1]: State changed from starting to up
2019-10-31T15:51:12.868061+00:00 app[web.1]: [2019-10-31 15:51:12 +0000] [10] [INFO] Worker exiting (pid: 10)
2019-10-31T15:51:12.868099+00:00 app[web.1]: [2019-10-31 15:51:12 +0000] [4] [INFO] Handling signal: term
2019-10-31T15:51:12.868102+00:00 app[web.1]: [2019-10-31 15:51:12 +0000] [11] [INFO] Worker exiting (pid: 11)
2019-10-31T15:51:13.066996+00:00 app[web.1]: [2019-10-31 15:51:13 +0000] [4] [INFO] Shutting down: Master
2019-10-31T15:50:30.782747+00:00 app[api]: Deploy 6792c05d by user musty474izala@gmail.com
2019-10-31T15:51:37.97499+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=selmee.her
okuapp.com request_id=f4b320bf-4dd0-4fb7-bc28-5fbdc8cbc368 fwd="197.210.84.35" dyno= connect= service= status=503 bytes=
 protocol=https
2019-10-31T15:51:41.183307+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/fav
icon.ico" host=selmee.herokuapp.com request_id=5d910790-a0d4-42fc-b243-5370c64d2945 fwd="197.210.84.35" dyno= connect= s
ervice= status=503 bytes= protocol=https
2019-10-31T15:50:35.681206+00:00 app[api]: Deploy 6792c05d by user musty474izala@gmail.com

程序文件

web:  gunicorn icp.wsgi 

Tags: toinfocomapiappherokubywith