This repository was archived by the owner on Jul 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Problem with Green Unicorn server? #7
Copy link
Copy link
Open
Description
A new deployment as project owner in GCP appears to go well with no errors but upon trying to do initial navigation to the Management Page I'm getting errors. The web page shows NGINX Bad Gateway HTTP 502 and the logs are showing gunicorn issues:
"Traceback (most recent call last):
File "/layers/google.python.pip/pip/bin/gunicorn", line 8, in <module>
sys.exit(run())
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/app/base.py", line 231, in run
super().run()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/arbiter.py", line 229, in run
self.halt(reason=inst.reason, exit_status=inst.exit_status)
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/arbiter.py", line 342, in halt
self.stop()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/arbiter.py", line 393, in stop
time.sleep(0.1)
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
self.reap_workers()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>"
the end result is this error:
[start] 2022/03/11 17:11:04.959761 Start program failed: user application failed with exit code 1 (refer to stdout/stderr logs for more detail): exit status 1
So the management App Engine is failing upon first access.
Metadata
Metadata
Assignees
Labels
No labels