After Recent update of Flask-SocketIO 5.0.3 (Although I think it maybe python-engineio and/or python-socketio)
Hi Team, I have the following occur after recent updates when using Flask-Socketio with Redis and/or RabbitMQ.
Traceback (most recent call last):
File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/opt/app-root/lib64/python3.8/site-packages/socketio/pubsub_manager.py", line 164, in _thread
self._handle_emit(data)
File "/opt/app-root/lib64/python3.8/site-packages/socketio/pubsub_manager.py", line 112, in _handle_emit
super(PubSubManager, self).emit(message['event'], message['data'],
File "/opt/app-root/lib64/python3.8/site-packages/socketio/base_manager.py", line 161, in emit
for sid, eio_sid in self.get_participants(namespace, room):
File "/opt/app-root/lib64/python3.8/site-packages/socketio/base_manager.py", line 45, in get_participants
participants = ns[room[0]]._fwdm.copy() if room[0] in ns else {}
TypeError: 'int' object is not subscriptable
Pinning all three, resolves the issue in the interim.
Flask-SocketIO==5.0.2
python-engineio==4.1.0
python-socketio==5.2.1
After Recent update of Flask-SocketIO 5.0.3 (Although I think it maybe python-engineio and/or python-socketio)
Hi Team, I have the following occur after recent updates when using Flask-Socketio with Redis and/or RabbitMQ.
Pinning all three, resolves the issue in the interim.
Flask-SocketIO==5.0.2
python-engineio==4.1.0
python-socketio==5.2.1