python-socketio
python-socketio copied to clipboard
Python Socket.IO server and client
Hello, with the sample below after hitting Ctrl+C, the script exits on Linux but nothing happens on Windows. ``` Linux python 3.8.6 python-engineio 3.13.2 python-socketio 4.6.0 Windows python 3.8.5/3.9.0 neither...
**Describe the bug** Using Python 3.9.9 on MacOS 12.1, asyncio client example throws the following error ``` DEBUG:asyncio:Using selector: KqueueSelector Traceback (most recent call last): File "/opt/homebrew/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/selector_events.py", line 261, in...
It took me a while to figure out why some of my messages were not received by the server and caused connection drop *without any errors*. Eventually, I found out...
Currently, `pickle` is used, without an easy option to change it.
Referencing #484 Does http_session allow for **websocket** transport to work where both client and server verify? Currently I am passing in http_session with an initialized requests.session that has the client...
Hello, First of all, thank you for developing this amazing library! I have a client that needs to be connected continuously. However, I encountred a server error and it responded...
Have tried this example https://github.com/miguelgrinberg/python-socketio/tree/master/examples/server/sanic with sanic v. 19.12.2 and 20.3.0 + python-socketio v. 4.6.0 Server allows client to connect, after this any interaction is impossible Have tried to run...
## Problem 1. `sio.connect()` first connects to namespace `/` before connecting to other namespaces. Subsequent `emit()` commands are allowed before all namespaces are connected to - causing messages to disappear...
Hi! I'm currently using [Flask-SocketIO](https://github.com/miguelgrinberg/Flask-SocketIO) and it's pretty great so far! There was one error in my logic when a client joins/leaves rooms, where I tried to call `flask_socketio.rooms()` on...
 After using `guppy` to profile heap usage i found that most of the memory which is not freed are instances of `engineio.packet.Packet` ``` from guppy import hpy hp =...