"invalid frame header" upon Disconnect #2076
-
I executed the example code from the repository. I accessed http://127.0.0.1:5000/ in Chrome and checked the communication via the network tab in the Developer Tools. After pressing the disconnect button, it showed "invalid frame header". Furthermore, the console displayed the following error message: Why does this error message appear? It should be noted that this issue only occurs in Chrome and does not occur in Firefox or Safari. I tried under various conditions but couldn't figure out the cause, so I am asking for help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Which web server are you using? If you are using Werkzeug, I suggest you try with Gunicorn instead, which has better support for WebSocket. |
Beta Was this translation helpful? Give feedback.
Which web server are you using? If you are using Werkzeug, I suggest you try with Gunicorn instead, which has better support for WebSocket.