-1 votes
0 answers
47 views
Why does python socketio sio.emit() not work?I need help with my Python desktop app. The issue is that I have set up the clipboard_button from the main.py to trigger the send_message_test function in the Server class. The function has clearly ...
asked Jul 25 at 22:250 votes
1 answer
30 views
Socketio background task issues with pubsub subscriptionI am running a gunicorn server with 1 eventlet worker through which I communicate with the FE via websockets. However, I also need to listen to an external pod running some code that will emit a redis ...
asked Jun 27 at 10:120 votes
1 answer
101 views
Server.emit() got an unexpected keyword argument 'broadcast' with Flask-SocketIONote: There is a discussion at GitHub but nothing was concluded. I am getting error - "Server.emit() got an unexpected keyword argument 'broadcast'" after python update from 3.8 to 3.11 in ...
asked May 21 at 12:490 votes
0 answers
23 views
python server / JS client: socketio regular disconnectsIn trying to reproduce errors from a larger project I have created a server using python's aiohttp and the following python-socketio (v5.12.0) namespace: class MyNamespace(AsyncNamespace): ...
asked Apr 27 at 8:370 votes
0 answers
34 views
RevPi connection using WebsocketsI am trying to connect a revpi to a windows pc to exchange input events using websockets. The server(revpi) looks as such: @app.route('/init', methods=['GET']) def initialize(): rpi.io.O_Unlock....
asked Apr 11 at 14:290 votes
0 answers
65 views
How can I implement multithreading in socketio and FastAPI?I have a FastAPI application. When the user enters a room id on frontend then a dedicated worker thread is started for each room that emits the time every second to the frontend. Apart from emit event ...
asked Jan 11 at 15:310 votes
0 answers
40 views
RuntimeError : Expected ASGI message 'websocket.accept' or 'websocket.close', but got 'http.response.start' [duplicate]After updating my FastAPI version to fastapi[standard] to use fastapi-cli I got an error regarding sockets. I searched all the threads but couldn't find a solution. Could someone help me please? # my ...
asked Dec 16, 2024 at 9:330 votes
0 answers
344 views
FastAPI 'reload' hangs and the application does not restartI recently added sockets to my application, and since then the reload no longer works but gets stuck in the 'Shutting down' status Here is a screenshot of the logs in the application. Capture logs ...
asked Dec 13, 2024 at 11:313 votes
1 answer
830 views
FastAPI RuntimeError: Expected ASGI message 'websocket.accept', 'websocket.close', or 'websocket.http.response.start' but got 'http.response.start'I have server like: main.py import socketio from fastapi import FastAPI app = FastAPI() sio = socketio.AsyncServer(async_mode="asgi", cors_allowed_origins="*") sio_app = socketio....
asked Dec 11, 2024 at 11:560 votes
1 answer
48 views
flask-socketio server not connect to python-socketio client by pollingQ: I have a flask server application by flask-socketio, it is : from flask import Flask from flask_socketio import SocketIO app = Flask(__name__) # CORS(app, supports_credentials=True) app.config['...
asked Nov 27, 2024 at 12:340 votes
0 answers
104 views
Why Flask-SocketIO ends with 'Invalid session error'?I'm testing the Flask-SocketIO package. My config is: Server: Synology NAS DS218J (unix) on local network, running the basic example over Python 3.9.14. Python script running on server: from flask ...
asked Nov 13, 2024 at 17:380 votes
1 answer
47 views
Python sockio SimpleClient fails to connect to python-socketioI've got a python backend with python-socketio as server. I have a react application which can connect to it just fine. However, my python client app always raises a 'connectionError'. I need some ...
asked Nov 4, 2024 at 6:340 votes
1 answer
474 views
Flask Blueprint with socketio configurationMy problem 🥲 I have a Flask app that I recently separated into blueprints as it grew in size. All of the app migrated well except for one thing - socketio. My goal is to have a socketio background ...
asked Sep 19, 2024 at 15:380 votes
0 answers
58 views
Extra 0x00 at the start of TLS Client Hello packet, how to remove it?I'm working on a Python proxy server that needs to receive TLS Client Hello data from a browser and forward it to the target server. However, I've noticed that the Client Hello packet sent by my proxy ...
asked Aug 18, 2024 at 5:221 vote
2 answers
134 views
How should I correctly configure tasks when using sockets in python?I have this small snippet which I intend to have function as a server, I have managed to get the socket to connect to the client but cannot send data due to errors. import asyncio import json import ...
asked Aug 2, 2024 at 10:34RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4