我似乎无法用gunicorn修复错误,日志如下所示

时间:2018-09-29 16:27:11

标签: heroku

2018-09-29T15:33:25.160299+00:00 heroku[web.1]: State changed from starting to crashed
2018-09-29T15:33:25.141050+00:00 heroku[web.1]: Process exited with status 1
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...
2018-09-29T15:33:25.048441+00:00 app[web.1]:     self.stop()
2018-09-29T15:33:25.048444+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 393, in stop
2018-09-29T15:33:25.048656+00:00 app[web.1]:     time.sleep(0.1)
2018-09-29T15:33:25.048693+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 245, in handle_chld
2018-09-29T15:33:25.048898+00:00 app[web.1]:     self.reap_workers()
2018-09-29T15:33:25.048910+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2018-09-29T15:33:25.049163+00:00 app[web.1]:     raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2018-09-29T15:33:25.049169+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>`

1 个答案:

答案 0 :(得分:0)

由于一些细节,我们只知道它似乎与gunicorn.errors.HaltServer错误有关。

您可以参考these并报告发现的内容。祝你好运!