Skip to main content

All Questions

0 votes
0 answers
34 views

Connection failed: socket.io

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
1 vote
1 answer
66 views

Flutter socket_io_client not updating query token on reconnect – server keeps receiving old 'public' token

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
  • 51
-1 votes
0 answers
44 views

Socket.io message length limit

I'm trying to implement Scoket.io in my NextJs project for notifications, but I have some issues. First of all, I must say I haven't worked with WebSockets before and trying to learn with this ...
Alejandro Peñafiel's user avatar
0 votes
0 answers
18 views

Socket IO Invalid WebSocket frame: RSV1 must be clear ( permessage deflate )

require('dotenv').config(); const Agent = require(`./Models/agentModel`); const logger = require(`./logger`); const adminRoom = 'admin-room'; const socketapi = { io: null }; function setupSocket(...
Manish Pandey's user avatar
0 votes
0 answers
28 views

Socket.io with pm2 cluster mode

I am running a node app via pm2 using cluster mode (-i 4) and this same node app uses socket.io and since running in cluster mode, I have been not been able to connect to the socket. I have followed ...
Daniel Zamloot's user avatar
0 votes
0 answers
39 views

Socket.io doesn't work on secure (tls/ssl) connection

I am developing an web app that utilize Socket.io for communication between client's browser and backend. For the environment, I ran both backend and frontend under single container, and it works ...
isca_'s user avatar
  • 41
0 votes
1 answer
88 views

Configuring Socket.io and Caddy

I am trying to set up a socket server between my node backend and React frontend and am using Caddy as my reverse proxy. I am having trouble getting a connection once Caddy was introduced into the ...
Daniel Zamloot's user avatar
0 votes
0 answers
18 views

TypeError: Cannot read properties of undefined (reading 'server') while calling socket.io in nextjs

I am trying to implement real-time notifications in a Next.js application using Socket.IO. My goal is to emit notification counts from the server and display them in the client. However, I’m running ...
Ponsakthi Anand's user avatar
0 votes
0 answers
56 views

Facing issue while creating Chat App using WebSocket in React

I'm new to React and working on a React project - to build chat application. The logic is when new user logs in, all users name are displayed on the screen. This is done by events. When user logs in ...
Razak Shaik's user avatar
0 votes
0 answers
31 views

Why is my query call returning extra data that I didn't request? [duplicate]

I have an issue where changing the status of a turn causes it to appear in other views where it shouldn't. For example, if I set a turn in 'technical support' to 'pending,' it also appears in 'payment'...
Swiftboat's user avatar
0 votes
0 answers
25 views

React and socket io mobile disconnection instantly when switching apps

I am developing a game to be played most likely on a phone via the internet. I have it working as a beta but whenever I am on my phone and change apps it instantly exits and removes my player from the ...
Tommy Pritchett's user avatar
0 votes
0 answers
28 views

Socket IO Not Working On Google App Engine

I am using Socket.io for messaging in my React app with a NodeJS / Express API on App Engine. SocketIO is working fine locally, but when I deploy to GAE it fails to connect. I made several attempts to ...
gareth power's user avatar
0 votes
0 answers
30 views

socket.io - io.to(room) doesn't seem to work

for some reason socket.io won't send a message to a specific room. right before using the io.to(${socket.id}-devices).emit("event", data) i check what sockets are in said room by using: io....
Jalmar Verbraak's user avatar
0 votes
0 answers
133 views

WebSocket Connection Failing with "WebSocket protocol error" in Socket.io

I'm working on a WebSocket server using socket.io with Node.js and getting a connection issue. I keep getting the error WebSocketError: WebSocket protocol error when I try to connect using websocatand ...
Haris's user avatar
  • 1
0 votes
0 answers
32 views

Socket io not listening to events

I'm using node.js and socket.io v4.8.0. I'm trying to create a basic chat application that updates my postgress db once an event such as "send message" has been called. I am able to ...
Joe Ellul-Turner's user avatar

15 30 50 per page
1
2 3 4 5
127