Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
75 views

Problem I need to implement a concurrency handling strategy. If two users try to move or edit the same task at exactly the same time, I want to prevent: Data corruption UI flickering Tasks jumping ...
Sumit Singh's user avatar
0 votes
0 answers
114 views

I’m building a Node.js backend where: BullMQ is used for background jobs (invoice generation, emails, etc.) Socket.IO is used to send real-time updates to clients BullMQ workers run in a separate ...
Yash's user avatar
  • 1
1 vote
2 answers
89 views

@app.route('/3x3/online/<username>', methods = ['POST']) def online3x3(username): if username == session['username']: socketio.emit('create', (session['username'], 1), namespace = '/...
Robin Bourne's user avatar
1 vote
0 answers
72 views

I’m building a Node.js + Socket.IO livestreaming backend where a user can have only one active livestream at a time. When a mobile app is force-closed or crashes, the client does not send a ...
Bisrat Dereje's user avatar
Best practices
0 votes
0 replies
24 views

I have a nest server that has a few @SubscribeMessage functions that fetch data and return it to the client. If the client's request if bad, the functions might throw an error. However, the client's ...
Jan Thürmann's user avatar
1 vote
1 answer
81 views

So apparently for authentication you need to pass extraHeaders in socket.io, meaning you can't use http-only cookies. Since I have this code over here, trying to connect to the most barebones socket....
Ruslan Plastun's user avatar
0 votes
0 answers
81 views

I’m currently working on a logistics app that manages goods transportation in my area. The tech stack includes React Native for the mobile app, Node.js / Express.js for the backend, MongoDB as the ...
Hiren Gamit's user avatar
0 votes
0 answers
32 views

I've spent countless hours trying to figure this out, the code worked perfectly fine on my machine, but stopped working on the server, it just kept throwing "example.com/socket.io/?EIO=4&...
Matt Williams4's user avatar
1 vote
2 answers
138 views

I’m building a real-time chat application using NestJS, Postgresql (Main DB), Redis and Socket.IO. My database schema (simplified) looks like this: -- Chats table chats ( id serial primary key, ...
Vasile Bubuioc's user avatar
Advice
0 votes
2 replies
71 views

I’m currently building a trading platform that requires streaming real-time price updates to the UI. I’ve implemented a WebSocket gateway and added handling for common issues such as: Ghost/...
webster's user avatar
  • 29
0 votes
0 answers
27 views

I am trying to integrate socket.io with Node's HTTP alongside Node's Cluster Module. Consider the reproducible example: index.js: let cluster = require('cluster') let fs = require('fs') let http = ...
Issac Howard's user avatar
0 votes
0 answers
65 views

I'm following a Node.js tutorial where the database is created with Turso but I have a problem, the connection is created well but I can't realise any type of query. I'm using these libraries: import ...
Jordi García's user avatar
0 votes
1 answer
65 views

So I am trying to build a dynamic dashboard application ,so I use socket io 4.8.1 , and In frontend as well I installed the same version , now I used polling socket io it actually worked with polling ...
Vignesh's user avatar
  • 71
0 votes
0 answers
47 views

This is my nodejs server socket.io code: const io = new Server(server, { cors: { origin: "*", // Allows connections from any origin methods: ["GET", "POST"] // ...
yeln's user avatar
  • 757
1 vote
1 answer
121 views

I am trying to setup a socketio server, but having issues with client connection either getting 499 or 426 error - I have tried port forwarding from the pod to my local and run curl command that also ...
Arsh's user avatar
  • 55
0 votes
0 answers
60 views

I'm trying to replicate a function of a website in node.js. And this function is implemented by establishing a websocket connection via socket.io. So I just imported socket.io in my node.js code, but ...
n1nja88888's user avatar
0 votes
1 answer
91 views

I have a Express application with Socket.IO and Bull queues. My worker processes run in separate processes from the main Express server, and I need to emit Socket.IO events from within the worker jobs....
raspace's user avatar
0 votes
1 answer
108 views

I’m using Laravel 8 with Redis and laravel-echo-server to broadcast events to my frontend. The WebSocket connection is successful (status 200), but the broadcasted event from Laravel never shows up in ...
bunga shafa's user avatar
0 votes
1 answer
47 views

This is what the request headers look like in my handshake request GET wss://<REDACTED>/socket.io/?EIO=4&transport=websocket HTTP/1.1 Host: <REDACTED> Connection: Upgrade Pragma: no-...
rjpj1998's user avatar
  • 419
0 votes
0 answers
78 views

I need to collect various system metrics from an Android device, including: Frame rate (FPS) Memory usage CPU frequency Battery level Battery voltage Battery temperature Battery current Power ...
Bellong's user avatar
  • 49
-1 votes
1 answer
82 views

There was another post like this, but the only answer it had was to just restart, which didn't work for me. I added sockets to my project for the first time, it wasn't working so i reverted to a ...
Yevheniia Simaka's user avatar
0 votes
0 answers
49 views

I need to make a reliable socket io solution for my android apps for chatting app or similar. When I was tinkering with the system I noticed the socketio java client is getting disconnected every few ...
Rifat's user avatar
  • 1,938
0 votes
0 answers
72 views

I'm trying to load test a Node.js Socket.IO server using Artillery. My server expects an authentication token as a query parameter during the handshake. I'm using Artillery's socketio.beforeConnect ...
Manish Kumar's user avatar
1 vote
1 answer
31 views

Periodic beeping in live audio stream using Flask-SocketIO and sounddevice — concurrency or deployment issue? Question I'm building a live audio streaming feature with Flask-SocketIO and sounddevice. ...
Daniel's user avatar
  • 63
0 votes
0 answers
50 views

i am making the streamign app in react native so when host start the streamign and user user join the stream user able to see host stream but user start the stream host not able see user see that ...
Vikram bhosale's user avatar
0 votes
0 answers
39 views

I'm using the socketio engine in Artillery, and I want to connect to the server without emitting any events — just receive events after the connection is established. Is there a way to listen for ...
장현수's user avatar
0 votes
1 answer
67 views

I'm running a Node.js application with HTTPS and Socket.IO on an AWS EC2 instance, behind NGINX. The REST APIs work fine, but the WebSocket connection to Socket.IO fails with a 400 Bad Request. const ...
Kulweet_kumar's user avatar
0 votes
0 answers
27 views

I'm using Socket.IO in a Next.js 15 app, and I establish the socket connection globally inside a layout or provider component. My issue is that when I click a button to send a message using socket....
Igor Croitoru's user avatar
0 votes
1 answer
62 views

I am trying to run a Flutter web frontend and a python flask + flask_socketio api/socketio backend in a docker compose file. The frontend image uses nginx as a reverse proxy, and its configuration ...
tommat208's user avatar
  • 413
1 vote
1 answer
88 views

I am using bloc and socket.io in my flutter application to react to login states from the server. Future<void> _setLoginListener(SetLoginListener event, Emitter<LoginState> emit)async{ ...
user29365632's user avatar
0 votes
0 answers
56 views

Environment: OS: Windows 10 Node.js: v20.12.2 socket.io: v4.8.1 socket.io-client: v4.8.1 Run environment: VSCode (Run Code extension) & terminal (Git Bash, PowerShell) Issue: I have a Node.js + ...
seungyeop yoo's user avatar
2 votes
2 answers
79 views

So, basically, I have created a basic chat app using html, css, and javascript. I am also using SocketIO, so that I can make the chat app real-time. The problem is, I am not able to figure out how I ...
hacks_and_nimbus's user avatar
-1 votes
1 answer
64 views

There's an event listener as update-active-users and it's getting listened twice i asked ChatGpt she says that might be listener is getting registered twice . useEffect(() => { const ...
Raman Pratap Singh's user avatar
0 votes
0 answers
39 views

I'm using sockets in android to have a connection between backend(node js) app and my android app. I'm successfully able connect to socket by passing auth header like mSocket = IO.socket(uri, IO....
Mohammad Fahad's user avatar
0 votes
1 answer
33 views

I need to use SocketIO from flask_socketio with certificate, secret key, and certification chain. How do I do that? Here is my code so far: from gevent import monkey monkey.patch_all() import ssl ...
wedesoft's user avatar
  • 3,017
1 vote
1 answer
49 views

My app has five tab - Tab1 Tab2 Tab3 Tab4 Tab5 each tab its own logical operation. using WebSocket notification with api if user made any change in Tab1 Tab 2 3 4,5 must get notification. similar ...
Maulik Dave's user avatar
0 votes
0 answers
35 views

I'm deploying a Node.js app on AWS Elastic Beanstalk using Nginx as the reverse proxy, with socket.io on the backend and socket.io-client on the frontend. Everything runs on a single instance. Locally ...
Diego H. O'Hagan's user avatar
0 votes
0 answers
67 views

Socket issue: My Laravel backend is hosted on https://example001.com/, while my React app is hosted on https://example002.com/ React uses the 4.8.1 version of the socket.io client, and Laravel uses ...
Tirth Gajjar's user avatar
0 votes
2 answers
76 views

I'm trying to set up Socket.IO with cluster support using PM2, following this docs. Here's my code: import { createAdapter } from "@socket.io/redis-adapter"; import { createAdapter as ...
michioxd's user avatar
0 votes
0 answers
32 views

In 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): ...
Gentleman_Narwhal's user avatar
0 votes
0 answers
60 views

how are you? Guys, I'm trying to use socket.io to create a chat, locally everything works, when I put "Cpanel" into production I can't connect. Displays message below: websocket.js:43 ...
Leonardo Arruda's user avatar
2 votes
1 answer
47 views

I am trying to build a Leaderboard that updates real-time based on redis stream events. So I have this code in my frontend component that ultimately should be getting the latest updates real-time from ...
Vaggouras's user avatar
1 vote
1 answer
130 views

I'm building a mobile app in Flutter that connects to a Node.js WebSocket server using socket_io_client. The WebSocket is used for both: public unauthenticated users (to receive global broadcasts) ...
Nico's user avatar
  • 53
0 votes
2 answers
137 views

I'm working with a Golang Fiber web server using socketio to manage WebSocket connections. I'm trying to mark a guest as Online = false in the database when the socket disconnects. However, I'm facing ...
Vidy45agarvk's user avatar
-1 votes
1 answer
71 views

I am working on flutter app where i need to show live stock price from symphonyfintech and I am using socket_io_client: ^3.1.1. Now i am trying to get connect with socket i am getting error that says: ...
user avatar
0 votes
0 answers
32 views

Description: I'm implementing a Socket.IO connection in an iOS app using socket.io-client-swift. The backend uses authentication via headers (user-id and sessionkey). The issue I'm facing is: The ...
Testing Something's user avatar
0 votes
0 answers
47 views

I am trying to building an server that communicates with the client using socketio protocol, Now the server starts multiple application as a sub processes, the server communicates with this ...
Souvik De's user avatar
0 votes
0 answers
43 views

I've got a NodeJS websocket running on an EC2 instance. I'm keeping it alive with PM2. I'm working on it via SSH using vis studio code. The system is running well and I have about 500 clients (desktop ...
Glenn Angel's user avatar
0 votes
1 answer
53 views

I created two socket.io namespaces because there is an agent and customer in chat application and their handleConnection, handleDisconnect functions and etc. are different. That is why I separated ...
Asif Hajiyev's user avatar
1 vote
1 answer
59 views

I have an Angular component that connects to a Socket.IO server. However, when I include the WebSocket connection code, my component fails to reload properly. If I comment out the Socket.IO code, ...
Hamzah Alkhateeb's user avatar

1
2 3 4 5
411