All Questions
6 questions
1
vote
1
answer
753
views
Why is loop.create_task taking so long to execute?
I am trying to emulate the reading of a NFC chip by pressing the cmd key in a little python script that acts as a socket-io server. It's job is to notify a client after the cmd key has been pressed. ...
9
votes
2
answers
33k
views
TypeError: 'coroutine' object is not iterable
I build a chatapplication using Aiohttp server and using python-socket-io. When i tried to host this application in nginx i found this error in supervisor error from error log of supervisor(error log ...
1
vote
1
answer
2k
views
How to connect RabbitMQ Queue into Socket IO server and send messages from Socket IO server to client concurrently
Im trying to get work Rabbit MQ queues through AioPika to send messages to Socket Io server and server would send those messages to client based on there SID, UID, etc. Documentation for using ...
0
votes
1
answer
2k
views
In python socketio RuntimeWarning: coroutine 'initial' was never awaited despite writing an await statement
python3 client.py
/home/aijax/.local/lib/python3.6/site-packages/socketio/client.py:592: RuntimeWarning: coroutine 'initial' was never awaited
self._handle_event(pkt.namespace, pkt.id, pkt.data)
...
1
vote
0
answers
634
views
Asyncio lock gets deadlocked when tasks are cancelled
I've recently written a client/server application using python-socketio with aiohttp, I've based my application on async namespaces (server-side), additionally I have many await calls in my on_message ...
2
votes
2
answers
4k
views
python socket_io.emit() call from function
I am building a webserver application with aiohttp and python. For the exchange of data I'm using the socketio python implementation. For getting data from my frontend to my python script everything ...