Replies: 1 comment 2 replies
-
I'm not sure what can cause this, but my first guess is that the WebSocket connection isn't properly closed by Edge, which in turn causes the server to miss this event and instead time out some time later due to the client not responding to pings anymore. I'll find a Windows machine to run some tests. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all. I'm having an issue when using Flask SocketIO on an Edge browser which is not disconnecting clients correctly on reloads or tab closes. When I reload my Flask web page on an Edge browser the client does not have a "transport close" disconnect event, and instead a new client is opened. This causes the old client to time out and disconnect with "ping timeout" instead of being cleaned up correctly. I also don't get a "transport close" when I close the tab, which is causing the client to disconnect with a "ping timeout".
Edge logs:
When I try the same application on a Firefox browser, the client correctly disconnects with "transport close" and then reconnects on reload, and disconnects with "transport close" on tab close.
Firefox logs:
Is this an issue with the Edge browser itself or is it a problem with my Flask app? I know there are some issues caused by differences in browsers in the Javascript SocketIO library, but not sure if it's the same case for this library and specifically this problem. Thanks.
Flask SocketIO version: 5.4.1
Javascript SocketIO version: 4.8.0
Edge Browser version: 135.0.3179.85
Firefox Browser version: 137.0.2
Beta Was this translation helpful? Give feedback.
All reactions