-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bug(fix)Something isn't working or address a specific issue or vulnerabilitySomething isn't working or address a specific issue or vulnerabilityhelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
When gunicorn can't boot up properly the traceback error is not helpful.
Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker
worker.init_process()
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 95, in init_process
super().init_process()
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
The actual error was hidden in the logs and not higlighted as one.
google.api_core.exceptions.Forbidden: 403 GET https://storage.googleapis.com/storage/v1/b/application-name.appspot.com?projection=noAcl&prettyPrint=false: [email protected] does not have storage.buckets.get access to the Google Cloud Storage bucket. Permission 'storage.buckets.get' denied on resource (or it may not exist).
Metadata
Metadata
Assignees
Labels
bug(fix)Something isn't working or address a specific issue or vulnerabilitySomething isn't working or address a specific issue or vulnerabilityhelp wantedExtra attention is neededExtra attention is needed