Skip to main content

All Questions

Tagged with
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 &...
Ahmed B's user avatar
  • 33
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 ...
frameworker's user avatar
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 ...
MjBVala's user avatar
  • 137
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-...
W. Churchill's user avatar
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 ...
Tmello225's user avatar
  • 113
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 ...
rahcon's user avatar
  • 31
-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 ...
Nyxynyx's user avatar
  • 63.9k
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) ...
Nyxynyx's user avatar
  • 63.9k
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 ...
user avatar