Skip to main content
0 votes
0 answers
33 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
2 votes
1 answer
26 views

SocketIO in React app does not capture emitted event

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
63 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
0 votes
0 answers
43 views

Golang Fiber + Socket.IO: WebSocket Disconnects and Connects in Never Ending Loop

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
0 votes
0 answers
13 views

Socket.IO server in v2.x with a v3.x client, but they are not compatible

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: ...
Kuldeep K's user avatar
0 votes
0 answers
20 views

iOS Socket.IO client connects but events don't reach server (auth via headers, works on Android/Postman)

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
20 views

How to use socketio and ipc together in python

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
-1 votes
0 answers
37 views

Why is state stale in my socket.on listener?

Please can someone tell me why the consumers variable is an empty object inside my user disconnected listener. It is clear that the state in the consumers variable is stale because the JSX maps ...
sam's user avatar
  • 1
0 votes
0 answers
32 views

AWS NodeJS Websocket server "sleeping" - no error

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
32 views

How to add different namespace clients to the same room?

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

Why does my Socket.IO connection prevent my Angular component from reloading?

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 votes
1 answer
30 views

Why does socket.io client give XHR polling error: blocked by cors policy when using self-hosted server address?

I'm trying to self-host a node.js socket.io (v 4.8.1) application (not using Express). Everything works fine locally, when the server and client are on localhost:8000 and localhost:5173 respectively, ...
user124173's user avatar
-1 votes
0 answers
19 views

Custom Server in Nextjs with socket io and Next API Page Routing

Im Trying to do migration and integration from nodejs based socket io server into next js. I have follow some tutorial based on reference below, but it left me stuck in this error. ⨯ TypeError: ...
Expo_Dev01's user avatar
1 vote
2 answers
87 views

Socket.io is not sending value to room

I am working on a project using ReactJS, NodeJS and Socket.io I am not able to understand why I am getting the "hi" part of socket but not the "code" part the "hi" part ...
Nikhitha Sriram's user avatar

15 30 50 per page
1
2 3 4 5
1385