Flask-socketio Server communication problem #1609
Replies: 8 comments
-
Please provide logs that show the problem. See the troubleshooting section of the documentation if you don't know how to enable the logs. |
Beta Was this translation helpful? Give feedback.
-
logsraise RuntimeError('You need to use the eventlet server. ' Localhost:
but |
Beta Was this translation helpful? Give feedback.
-
I don't know what you mean by passenger_wsgi. I assume this is a requirement of your deployment platform? You may need to ask them if they support eventlet. |
Beta Was this translation helpful? Give feedback.
-
[ N 2021-05-10 20:24:20.8429 22254/T1 age/Cor/CoreMain.cpp:1117 ]: Checking whether to disconnect long-running connections for process 799, application /home/hironika/FlaskHironika (production) |
Beta Was this translation helpful? Give feedback.
-
I'm sorry, but I have no idea what you are showing me. |
Beta Was this translation helpful? Give feedback.
-
I think those are from Apache. Perhaps apache wsgi set to have several workers, and it is checking if flask is still alive for each worker |
Beta Was this translation helpful? Give feedback.
-
Not a problem of the program thank you very much |
Beta Was this translation helpful? Give feedback.
-
What web server does this passenger_wsgi thing uses? You can't just use any web server, there are some requirements that many web servers (say Apache) do not have. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hi
i 'm from Iran
i run my project on the system, it works fine, send and receive messages to the server
But
When I deploy within the site. The server response is incorrect,
The server always sends the message socket.on ('connect')
Thanks for your help
requirements:
app.py:
chat.html:
Beta Was this translation helpful? Give feedback.
All reactions