heroku - 我似乎无法用 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>`
解决方案
由于细节很少,我们只知道它似乎与 gunicorn.errors.HaltServer 错误有关。
您可以参考这些并报告您的发现。祝你好运!
推荐阅读
- javascript - 如何从nodeJS中的查询块中获取变量?
- node.js - NodeJS存储你需要解密和读取的加密数据库密码,而不是用户密码?
- apache - apache的neo4j反向代理配置
- javascript - 意外的令牌,预期的,用于 seletedValues.filter 方法
- wordpress - 在 WordPress 中重置密码后获取新的哈希密码
- go - 子例程中的 Go Channel
- regex - 使用正则表达式查找具有特定内容的json
- php - Laravel 从 MessageSending 事件中获取邮件类名
- three.js - 鼠标悬停时重新渲染对象
- youtube - 为什么 Youtube API 的日程安排视频不起作用?