Skip to main content

Questions tagged [flask-socketio]

Flask-SocketIO lets Flask python applications access low latency bi-directional communications between the clients and the server

flask-socketio
0 votes
0 answers
18 views

Session not persisting between Flask and SocketIO

I have been trying to build a real-time app, but unfortunately, I am not able to work around session management in SocketIO. I will not be pasting my original code; instead, I wrote the code below to ...
Nitin kumar's user avatar
0 votes
0 answers
13 views

Socket Mismatch Problem in Federated Learning Project

I'm trying to running the FL project on github , the thing is, when I run the client side with run.sh. It reported the warning/error: 400 "The client is using an unsupported version of the Socket....
jfjjfj's user avatar
  • 1
0 votes
0 answers
22 views

Socket keeps connecting and disconnecting in Flask socket.io

I am using Flask-socket.io. It works on local perfectly without any warning and error, but it keeps connecting and disconnecting in server. so first time it is not getting notification cause ...
dada's user avatar
  • 177
0 votes
1 answer
38 views

How do I use SocketIO to store and send multiple pieces of data at once?

I am making a Fast Food Management system and I need to find a way to send order information from a client app to a main server, for it to be shown in a similar way to that in McDonald's, with the ...
Erkan Mikiver's user avatar
0 votes
0 answers
11 views

Swift Socket.Io client only broadcasts to itself

I'm trying to set up a socket.io app in Swift for messaging. Unfortunately, each client only receives the messages that it individually broadcasts, and sometimes they don't even send anything and ...
Kingbird4's user avatar
0 votes
0 answers
41 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 =...
Rishit Chakraborty's user avatar
0 votes
0 answers
30 views

Why is my main thread immediately stopping and exiting?

I'm implementing two-sided conversation transcription using Python Flask and React.js. I'm getting audio streams from microphone and speaker using the Python SoundCard library. I'm transcribing from ...
adityapgupta211's user avatar
0 votes
0 answers
23 views

How to Handle WebSockets with Flask-SocketIO Using Phusion Passenger and NGINX?

I'm running a Flask application with Flask-SocketIO, using NGINX as a reverse proxy and Phusion Passenger to manage the application. My Flask app works fine for HTTP requests, but I'm having trouble ...
AtomFliege's user avatar
0 votes
0 answers
29 views

Emitting messages from Flask using socketio in main loop, not received by client?

I'm working on a project where I have a Flask server, and I'm trying to use flask-socketio to send messages to the front-end react component. Apologies in advance for any lack of understanding. I have ...
user25546427's user avatar
0 votes
0 answers
33 views

Flask-SocketIO, Nginx Proxy Manager and Cloudflare setup

I'm trying to setup a little web application. It's a small flask application, run by uwsgi. uwsgi expose the port 8090 for the application, while the app itself runs on 5080. Here's the content of the ...
Kaka32's user avatar
  • 3
0 votes
0 answers
37 views

GPU Memory Issues Handling Multiple Simultaneous Requests with Flask-SocketIO, uWSGI, and Hugging Face Model

I am putting a chatbot into production using Flask-SocketIO integrated with uWSGI and gevent. The chatbot uses a Hugging Face model that occupies about 2GB of GPU memory. The issue arises when two ...
Abraham Lopez's user avatar
0 votes
0 answers
13 views

Flask, Cloudetype

Real-time chat seems to work when running in pycharm, but it doesn't work well when deployed through cloudetype. github ---------app.py---------- from flask import Flask, render_template, session, ...
user25374617's user avatar
0 votes
1 answer
29 views

Flask-SocketIO v5.2.0 join_room sid key error when using python-socketio v5.11.2

python-socketio v5.11.2 is causing my flask server (Flask-SocketIO v5.2.0) to create a key error when invoking join_room. Client first connects, then returns a key error when joining a room. It seems ...
tylertucker202's user avatar
0 votes
1 answer
55 views

Python - PySide6 button click event not working after disconnecting and connecting new slot

I am creating some buttons and assigning click events to them. Each button is assigned to a dialog window where data can be entered. After entering that data it's sent to a flask server, flask server ...
Cody's user avatar
  • 11
0 votes
0 answers
37 views

uWSGI with flask-socketio- Error: OSError: unable to complete websocket handshake

When I run my flask app from run.py File, it runs well, but when running from uWSGI that runs the run.py file, the app runs, but shows a runtime error of failed handshake (despite all API's are HTTP, ...
Zag Gol's user avatar
  • 1,076

15 30 50 per page
1
2 3 4 5
75