Open 4n1qz5skwv opened 1 year ago
Old related issues:
I can try and take a look next week. Did you try as a hack to return a dummy response object from the disconnect callback?
I'll be honest, I have no clue how that is "attaching" to Sanic and plugging into the router for example 🤷♂️
I couldn't reproduce the issue with latest Sanic (main
branch), latest python-socketio
(5.11.2
), and Python 3.11 on Linux.
I also can't reproduce the issue with latest Sanic (v24.6.0), latest python-socketio (5.11.3) and Python 3.11.8 on Windows. I believe this is fixed!
This is fixed and can be closed! See: https://github.com/miguelgrinberg/python-socketio/commit/287d6ed551090eed822f924bb548ba93923dd4d1
Requirements:
Code:
Error:
https://user-images.githubusercontent.com/76768193/195773474-4a0cf52c-2ca2-45eb-9f12-4b0901a2bc76.mp4
More: Problem occurs only after disconnection when
websocket
transport is used. Details in video. Everything else is working Perfectly.