Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

event handler: 503 Service Unavailable error #475

Open
sandip-bhoi-od opened this issue Jan 8, 2024 · 0 comments
Open

event handler: 503 Service Unavailable error #475

sandip-bhoi-od opened this issue Jan 8, 2024 · 0 comments

Comments

@sandip-bhoi-od
Copy link

Right after setting up the environment, the event handler service receives 503 Service Unavailable error.

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/gthread.py", line 92, in init_process
super().init_process()
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 359, in import_app
mod = importlib.import_module(module)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/app/event_handler.py", line 20, in
from google.cloud import pubsub_v1
File "/usr/local/lib/python3.10/site-packages/google/cloud/pubsub_v1/init.py", line 18, in
from google.cloud.pubsub_v1 import publisher
File "/usr/local/lib/python3.10/site-packages/google/cloud/pubsub_v1/publisher/init.py", line 17, in
from google.cloud.pubsub_v1.publisher.client import Client
File "/usr/local/lib/python3.10/site-packages/google/cloud/pubsub_v1/publisher/client.py", line 22, in
import six
ModuleNotFoundError: No module named 'six'

sandip-bhoi-od added a commit to sandip-bhoi-od/fourkeys that referenced this issue Jan 8, 2024
Added Python 2 and 3 compatibility library.

FIXED: dora-team#475
sandip-bhoi-od added a commit to sandip-bhoi-od/fourkeys that referenced this issue Jan 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant