New error: message handler error #1945
Replies: 4 comments 13 replies
-
I'm not completely sure of the cause of these errors. The issue is that your server is receiving requests that have invalid Are you doing anything out of the ordinary in the client side? Which client are you using? |
Beta Was this translation helpful? Give feedback.
-
Hello thanks for your answer, |
Beta Was this translation helpful? Give feedback.
-
Hello, I allow myself to rewrite in this discussion because my problem is not solved and it disrupts the operation of my server enormously. As I said previously, once the socketIo server crashes, nothing works on my server (no more http request response from flask and no more socketio). I enabled the logs and saved them in a txt file and waited for the bugs to occur. I get a 3giga file, with always the same sequence of logs:
I really need help, I have to restart my server every 2 days and it's getting annoying, I can't put a try catch or something like that to prevent everything from crashing? |
Beta Was this translation helpful? Give feedback.
-
@miguelgrinberg Thank you very much for taking the time to help me, here is more detail on the logs I was able to collect: I have 10,000 rows repeating with: After I get :
Lots of posts like this... Then all this repeats ... New sequence of "Cannot send to sid ...." then the stack trace.... |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have had a socketio flask server running well for several months.
For a few days I observe an error that I had never had before.
Knowing that I did not modify my code.
Here are the logs displayed in my docker container:
I did not put everything, but I have a repetition of lines:
, with different keyError each time.
Here is the code for my socketManager:
Beta Was this translation helpful? Give feedback.
All reactions