All Questions
9 questions
0
votes
1
answer
323
views
AttributeError: '_asyncio.Task' object has no attribute 'is_alive'
Whenever the socket client connect to the the socket server I get the following error:
Client connected: 3uRG6PtVuta3wHsbAAAD
message async handler error
Traceback (most recent call last):
File &...
0
votes
0
answers
229
views
python socketio Server with custom mainloop
simplified use case
I have multiple (slow) robots, an API for the robots to upload sensor data and one control loop for all robots running on the server. The setup that I want to create looks ...
0
votes
0
answers
350
views
The requested address is not valid in its context error (Socketio Python Aiohttp)
I’m having trouble implementing SSL to my aiohttp TCPSite connection. I have a VPS set up with Ubuntu and Apache. My config files are set to enable CORS and SSL is active on the server. When I go to ...
3
votes
1
answer
2k
views
Why is my asynchronous (NodeJS-Python) WebSocket not connecting immediately?
This is a continuation of a question I had earlier, Using Socket IO and aiohttp for data transfer between node JS and Python, based on this tutorial, https://tutorialedge.net/python/python-socket-io-...
1
vote
2
answers
2k
views
Python-SocketIO server takes a long time to fire event
I have a python websocket server attempting to communicate with a javascript websocket client (embedded in HTML). The events are being emited from the server immediately, but it takes upwards of 30 ...
1
vote
0
answers
360
views
How to thread a mqtt subscription and a socket.io Server
I tried to setting up a python application that starts a mqtt subscriptions or publish and at the same time I start up a Socket.io Server. My first attempt was to thread these two task - no problem ...
-1
votes
1
answer
265
views
How to make SocketIO/aiohttp print to screen every X seconds
A SocketIO server created using aiohttp appends a new string to a global dict zoo on receiving a addAnimal message from its socketio clients.
Is it possible to also print out the dict zoo every 5 ...
4
votes
0
answers
1k
views
CTRL+C does not terminate aiohttp app in Python 3.6 script on Windows
A simple Python 3.6 script using aiohttp and python-socketio and running on Windows 10 outputs the following when started:
======== Running on http://0.0.0.0:8080 ========
(Press CTRL+C to quit)
...
0
votes
0
answers
41
views
Can android phone block communication with server?
I wrote client in android studio and server in python(socketIO aiohttp)
when I run the program in android studio(in the virtual machine) it works perfectly
But when I test the program on my phone(LG ...