We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it Ok when a combination of --workers and --uds raises 503 error via nginx? For example:
--workers
--uds
--workers 4 --uds /var/run/uvicorn-test.sock
it works well when --workers is omitted (1 worker). Please note that gunicorn works well via Unix socket and multiple workers.
gunicorn
Thanks!
The text was updated successfully, but these errors were encountered:
It seems that when combine the --workers and --uds arguments. uvicorn will ignore --uds and create a tcp socket.
uvicorn/uvicorn/main.py
Lines 274 to 277 in e0a77de
uvicorn/uvicorn/config.py
Lines 220 to 228 in e0a77de
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Is it Ok when a combination of
--workers
and--uds
raises 503 error via nginx? For example:it works well when
--workers
is omitted (1 worker). Please note thatgunicorn
works well via Unix socket and multiple workers.Thanks!
The text was updated successfully, but these errors were encountered: