All Questions
13,305
questions
1
vote
2
answers
41
views
Why is my emitted data not getting recieved on the frontend in react and node js
I wrote this code where I get some data from a function on the server side and that function gives back some data that is then relayed to the front end vis socket.io in node and react
however the ...
-1
votes
0
answers
23
views
why is s3 returning null even though I have folders in the directory
I made this small code where the code finds the folder i write in the input box and displays it's content but aws is just sending no directory data to me
Here is the function doing the work
async ...
0
votes
0
answers
14
views
Getting a lot of errors in this aws-sdk server mainly in websockets
I am getting multiple warning and errors but I am not able to debug them
The delay between the input submitted and the server is extremely long (approx 90 sec) with increases with more emit functions ...
0
votes
0
answers
14
views
Getting multiple errors in this aws-sdk server mainly in websockets
I am getting multiple warning and errors but I am not able to debug them
The delay between the input submitted and the server is extremely long (approx 90 sec) with increases with more emit functions ...
0
votes
1
answer
19
views
In Next.js, not using sockets but getting GET /socket.io?EIO=4&transport=polling&t=P37KhCz 404 in 5344ms
I'm working on a next.js project using nextjs 15.0.0-rc.0, next-auth 5.0.0-beta.19, and react 19.0.0-rc-f994737d14-20240522.
The latest time I went to start up my project, I did pnpm run dev, and I ...
0
votes
0
answers
16
views
Event handling for encapsulated socket.io server
I (js beginner) am creating a node.js webapp with socket.io. I encapsulated my socket server and namespaces to a single module that I call socketManager.js because I heard that this is generally good ...
0
votes
0
answers
39
views
Is there a way to keep my program alive if the server it needs to connect to is not up and listening yet?
So I've been trying to figure out how to keep my program alive if this separate server that I'm running is not open yet. Right now my program's site pulls up successfully but then the second I try to ...
0
votes
0
answers
21
views
Extending socket.io Socket interface with custom properties like user_id not recognized
I'm currently implementing authentication with socket.io in TypeScript for my project. When a user connects, I need to store their user_id on socket.user_id after verifying their JWT token in a ...
0
votes
0
answers
30
views
Group Voice chat application
I am building a project that features group voice chat, allowing a group of people to audio chat with each other in real-time. I am using the MERN stack for development and using Socket.IO on the ...
0
votes
0
answers
32
views
Socket.io not creating a connection in Express.Js Server
I am trying to create a socket.io based connection in my localhost server running on port 80. All of a sudden it has stopped working as i did not see my debug statements in session middleware as well ...
0
votes
0
answers
51
views
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (CORS request did not succeed). Status code: (null)
I want to deploy my node.js on vps. my project tech stack is node.js , express , peer.js and socket.io I deployed the project on server but cors blocked error occurs
Picture of the error is
I am ...
0
votes
0
answers
28
views
Independent socket.io servers on separate child processes [duplicate]
I've been working with express and socket.io, and have successfully created two different apps that serve clients from a domain. So now I'm interested in having the main page for my domain be a portal ...
1
vote
1
answer
26
views
How can I check if a user is logged in or not in socket.io with AdonisJS?
There isn't much information about this. Is there a way to check if a user is logged in with AdonisJS V6 and socket.io? I have this code so far, but I can't verify if the user has logged in with CSRF ...
0
votes
0
answers
19
views
Socket.IO: Clients Not Receiving changeRoom Event in Multiplayer Game
I'm building a multiplayer game using Flutter for the frontend and Node.js with Socket.IO for the backend. The problem is that when a second player joins a room, the changeRoom event is not being ...
0
votes
1
answer
39
views
Socket.IO Callback not working in (Node/C#)
I am so concern about an issue that i tried 100 solutions for but nothing works.
In python i can :
self.sio.emit('join', 'join', callback=self.join_acknowledgment)
and it works with charms. I.e. ...