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
gunicorn failure on cloud run example #198
Comments
Same here, finding solution as well |
@ChunKinPS |
@guilhem-martin I had solved the issue. Simply remove the version for all the dependencies in requirements.txt . For my case, it solved the issue. |
I am also getting same issue with gunicorn. Basically I have deployed a python gen app on google cloud run with gunicorn version "20.1.0" but its giving me same error as above user are facing. Though with the same gunicorn version I was able to run it earlier on cloud run, please suggest me how I can fix this issue. below is the error Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker worker.init_process() File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 95, in init_process super().init_process() File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() |
Thanks, I will try without passing any version, but what's the fix when I have version dependencies for few libraries. |
One possible solution is keep trying for different version until you did not see the error, but it is not the best way to fix this. |
I got the same error. I also removed all versions from requirements but it nothing changed.
|
@guilhem-martin Have you also set the And setup a Vertex AI Search app in the project? |
Hello,
I'm running the search webapp following the readme. The cloud run is successfully built but raises errors when deployed:
Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker worker.init_process() File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 95, in init_process super().init_process() File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi()
The cloud run web page displays "service not available".
I tried several verion of gunicorn through the Dockerfile, but it didn't help.
Any idea?
Thanks.
The text was updated successfully, but these errors were encountered: