我的应用程序抛出 Gunicorn 错误:gunicorn.errors。暂停服务器:<HaltServer 'Worker failed to boot.' 3

问题描述 投票:0回答:0

获取这个 gunicorn 错误。怎么解决??

'''"/usr/local/bin/gunicorn",第 8 行,在 系统退出(运行()) 运行中的文件“/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py”,第 58 行 WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() 运行中的文件“/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py”,第 228 行 超级().运行() 运行中的文件“/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py”,第 72 行 仲裁者(自我).run() 运行中的文件“/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py”,第 229 行 self.halt(原因=inst.reason,exit_status=inst.exit_status) 文件“/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py”,第 342 行,暂停 自我停止() 文件“/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py”,第 393 行,停止 时间.睡眠(0.1) 文件“/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py”,第 242 行,在 handle_chld 中 self.reap_workers() 文件“/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py”,第 525 行,在 reap_workers 提高 HaltServer(原因,self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: '''

python flask gunicorn wsgi
© www.soinside.com 2019 - 2024. All rights reserved.