-
-
Notifications
You must be signed in to change notification settings - Fork 889
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
gevent with uwsgi requires ping/pong #417
Comments
Note that the ping I am talking about is not the engineIO ping timeout. This issue occurs immediately after the web socket connection. |
When you say
Do you mean typing |
@miguelgrinberg Sorry, I probably wasn't clear in my description. I am not using my own code, only the example code provided in the repo with a couple lines commented out. Below are more detailed steps:
|
Sorry for the misunderstanding. I have now reproduced the issue. It appears I inadvertently introduced this bug in miguelgrinberg/python-engineio@d158423, by changing the method to read the websocket file handle. Please upgrade python-engineio to version 1.2.4. I think with that upgrade uwsgi will behave. |
Working. Thanks! |
I am having an issue where the client does not receive emits from the server unless it sends a message. To recreate the issue run the example app in the Flask-SocketIO library and comment out the ping/pong functions in the client library (currently lines 38 to 57). Run the server with uwsgi and gevent using the command listed in the docs. If I send an ECHO message to the server the client doesn't get any response back until sending another ECHO message.
The text was updated successfully, but these errors were encountered: