-
Notifications
You must be signed in to change notification settings - Fork 696
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
uwsgi.websocket_send fails on messages >200-255kb #1602
Comments
This issue doesn't seem to exist if uwsgi is accessed directly by running with |
Does it make any difference if you enable post-buffering ? |
Websockets won't even connect when I use |
Did you manage to fix this? I'm also having this issue. |
@lucasdavid I never managed to completely fix it but for me it's pretty rare in production. I think it's something related to #1716 combined with some nginx setting. |
Does it still happen in 2.0.16? |
Using uWSGI 2.0.15 and Python 3.5.1.
My WSGI script is a copy of: https://github.com/unbit/uwsgi/blob/2.0.15/tests/websockets_chat_async.py
I run it with:
When I try to send messages >200-255kb I get the following error:
This "timeout" happens immediately - not after 60s and is not affected by
uwsgi_read_timeout
.The max size that can be sent varies each time uWSGI is started but it always seems to be between 200-255kb.
I've tried increasing options like
ugreen-stacksize
andwebsockets-max-size
but they have no affect.The text was updated successfully, but these errors were encountered: