Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback Errors are not helpful, when gunicorn is unable to boot up #1015

Open
timmytiefkuehl opened this issue Jan 8, 2024 · 1 comment
Labels
bug(fix) Something isn't working or address a specific issue or vulnerability help wanted Extra attention is needed

Comments

@timmytiefkuehl
Copy link
Contributor

timmytiefkuehl commented Jan 8, 2024

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: application-name@appspot.gserviceaccount.com 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).
@phorward phorward added this to the ViUR-core v3.6 milestone Jan 8, 2024
@phorward phorward added bug(fix) Something isn't working or address a specific issue or vulnerability help wanted Extra attention is needed labels Jan 8, 2024
@phorward
Copy link
Member

phorward commented Oct 7, 2024

I have now idea or test-case to resolve this. More information required.

@phorward phorward closed this as completed Oct 7, 2024
@phorward phorward reopened this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug(fix) Something isn't working or address a specific issue or vulnerability help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants