首页 > 解决方案 > 我似乎无法用 gunicorn 修复错误,日志如下所示

问题描述

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>`

标签: heroku

解决方案


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

您可以参考这些并报告您的发现。祝你好运!


推荐阅读