Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
89 views

My server with socket.io is running fine without nginx proxy, but when I use nginx proxy, its getting an xhr poll error when trying to connect Here's the server block of my nginx looks like location /...
Dylan's user avatar
  • 1,390
0 votes
1 answer
85 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
120 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
91 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
73 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
25 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
82 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
140 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
72 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
28 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
68 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
66 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
  • 759

15 30 50 per page
1
2 3 4 5
1369