You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an aside, I tested this same configuration with uwsgi using uwsgi --plugin /usr/lib/uwsgi/plugins/python312_plugin.so -s localhost:8000 --wsgi-file wsgi.py and it worked correctly.
I used the reference implementation of wsgiref with the small example in the documentation which hinted at the problem. I was thoroughly confused by Nginx documentation that configures uwsgi binary protocol, which gunicorn doesn't support. It is still a good method to trigger the related timeout issue.
With the following app:
and configuring nginx this way (in sites-enabled/<file>):
Starting gunicorn with
gunicorn wsgi:app --bind localhost:8000
, results in the following:Log level debug doesn't reveal more information about why the worker died. Using an http request directly to the port 8000 it works correctly.
This is related to #3207
The text was updated successfully, but these errors were encountered: