All Questions
354 questions
0
votes
0
answers
12
views
Flask-SocketIO and Vue: Stuck on Port 6114 Instead of 5114 — Hardcoded References?
I have a Flask-SocketIO backend (viewer.py) and a Vue frontend (using Vite). I’m trying to switch from port 6114 to 5114 for my socket connection, but can’t get the code to reflect that change. Even ...
0
votes
0
answers
21
views
Celery worker and socket io communication issues
I'm trying to make an app that has multiple socket connections and uses celery workers to periodically send messages to them. Here's the code:
app.py
from Controllers.MediaController import ...
0
votes
0
answers
22
views
socketio.emit statement not updating browser when called from timer driven function
I'm quite new to Python and Flask and I'm writing a simple program for an online game where people join the game, the host enters a word into their admin area and the players have to guess the word. ...
0
votes
0
answers
26
views
Flask SocketIO not firing event
I have a flask app and using SocketIO i am trying to send an “alert” to a webpage. Which webpage the alert is sent to depends on which item the alert belongs to. The problem I am having is any message ...
0
votes
0
answers
35
views
Socketio emit doesn't work inside a thread
The title. I have this code with Paramiko and Flask Socket.io and the thread is not emitting the message:
from flask import Flask, render_template
from flask_socketio import SocketIO, send
import ...
0
votes
0
answers
60
views
Wrote a chat app with Flask and SocketIO. Do I need to refactor to an ASGI based framework?
I've built a webapp for interacting with an AI assistant through text and speech. I'm inexperienced with web dev, and have been picking up each part of the stack as I go along - get it working first, ...
0
votes
2
answers
251
views
Python Flask SocketIo async
How can I make the socket run asynchronously?
This code doesn't work now. Nothing happens when the socket is called.
I need to call an asynchronous function internally. What should I do?
Here is my ...
0
votes
0
answers
29
views
How can my Flask application push Websocket Messages to an asynchronous HTML page?
I'm having a few issues with a Flask application using socketIO.
I have an external device on IP 10.0.0.144 sending websocket messages to my application on 10.0.0.218:8089. I can see the incoming ...
0
votes
0
answers
26
views
Link device's gyroscopic orientation with that of 3d model on web
I am trying to build a model rocket that uses an old phone for reading gyroscopic data using a webapp (Flask and flask-socketIO). the "rocket phone" goes to /rocket and sends gyroscope data ...
0
votes
0
answers
64
views
Why is The Socket Unable To emit to my Frontend?
I have a Flask Route which needs to asynchronously send warnings to the front end and I am using SocketIO() for that purpose, here is what i did...
FLASK....
@app.route('/gotopagefullscreen', methods =...
0
votes
0
answers
32
views
sharing a python object in realtime between socketIO and flask app
I'm working with a web app that is based on socketIO and flask. The problem is that i have a shared object that is changed when a post request is done. However, these changes are not always visible ...
1
vote
0
answers
46
views
Flask-SocketIO - Method Not Allowed
I have a program that generates notes based on a topic, using OpenAI's API. I am using Flask-SocketIO to make it happen in real time on the website. I send the request to the API by clicking a button ...
0
votes
0
answers
72
views
How to disable Flask/Werkzeug logs using socketio
I cannot in any way disable the Flask/Werkzeug logs. I am developing a site for a board game and when the lobby starts all the clients request the images of the cards at the same time. I think ...
-1
votes
1
answer
72
views
frontend not displaying data emitted from socketio in real-time
my websockets app sends data fom the backend to the frontend. but it only updates whenever i refesh the page ,not real-time . I want the updating to be real time
my websockets app sends data fom the ...
0
votes
1
answer
60
views
Flask-SocketIO: Python code can send, but cannot receive. JavaScript code can receive, but cannot send
I am working on a multiplayer web game that uses Flask-SocketIO for real-time communication between the server and clients. However, I am facing an issue where the Python code can successfully send ...