Skip to main content

All Questions

Tagged with
0 votes
1 answer
28 views

Socket.io client disconnects with "transport error" immediately after successful connection

I’m working on a web app with a Python Flask backend that uses Flask-SocketIO for WebSocket connections, and the frontend client is built with React using the socket.io-client library. Everything ...
awdreg's user avatar
  • 41
0 votes
0 answers
12 views

XHR Polling Error Socket.io Chrome extension

I'm trying to communicate with my local server from my chrome extension with scoket.io but I'm getting an XHR Polling Error. I don't get this error when I simulate a client, I only get it with the ...
Thomas A's user avatar
0 votes
0 answers
30 views

WebSocket Connection Fails with "WebSocket is closed before the connection is established" Error

I'm having trouble with establishing a WebSocket connection in my React application. Despite my backend WebSocket server working as expected (verified using Postman), my frontend consistently fails to ...
siddesh's user avatar
  • 56
-1 votes
0 answers
12 views

How to to fetch real time data in socket io

Can someone explain me that how to fetch real time onlineUser data in the code shown here? Frontend code: import "./Convo.css"; import React, { useEffect } from 'react' import User from &...
GAMING WARRIOR's user avatar
0 votes
0 answers
17 views

Socket.IO: Student List Not Updating on Reconnection During Class Session

I'm working on a real-time classroom application using Socket.IO where students join a class session and can interact with a teacher. However, I'm encountering an issue with updating the student list ...
Madhav Dhungana's user avatar
-1 votes
0 answers
36 views

How to reset default socket host URL?

I am using nodejs to build a socket connection. Code - const socketIO = require('socket.io'); let io; const usersInRoom = {}; // Object to keep track of users in rooms const initializeSocket = (...
Ankit Kumar's user avatar
0 votes
1 answer
34 views

Using UUID In Dynamic Namespace In Socket IO

Am developing a multi-tenant chat app and want each tenant to connect to their own namespace in socket io. Am using the id of the tenant which is UUID (ex: 5d056752-6643-4300-926f-5bcd5ed65722) as the ...
Eddy Freeman's user avatar
  • 3,267
0 votes
1 answer
36 views

Swift Socket.IO v4 Not Connecting: Works in Basic Project but Fails in Complex App

I’m working on a Swift app using Socket.IO v4 for WebSocket communication, but I’m having trouble getting the socket to connect in my main app. I created a basic project with a simple connection setup,...
Unipheas's user avatar
  • 303
0 votes
0 answers
30 views

How can I implement real-time notifications in a React.js application using WebSockets?

I'm working on a React.js application where I need to implement real-time notifications. The goal is to push updates (like new messages, alerts, or any event) to the user's screen as soon as they ...
Priya Mandal's user avatar
0 votes
0 answers
12 views

Handling Errors in a Chat Module Using Socket.IO and Node.js

I'm currently developing a chat module as part of a system using Socket.IO and Node.js. I have a couple of scenarios where I need to handle errors and return appropriate responses to the client, but I'...
OSAMA MOHMED's user avatar
-1 votes
1 answer
32 views

Socket.io Repeatedly Connecting and Disconnecting with Express JS Server

I am working on a React JS project, where I want real-time full duplex communication of client and server (both deployed on Vercel). For this, I tried to implement the websockets using Socket.io ...
AMMAR MUJTABA TARIQ's user avatar
2 votes
1 answer
26 views

Socket.io TypeError: socket is not a function

//module declaration const express = require("express"), bd = require("body-parser"), cors = require("cors"), http = require("http"); const app = express()...
user26503803's user avatar
0 votes
0 answers
32 views

How to get online status of my users on my NextJs App

My NextAuth Option Code is (only the important part) callbacks: { async jwt({ token, user }) { if (user) { token.id = user.id; token.email = user.email; token.role = ...
Rafay Jamal's user avatar
0 votes
1 answer
23 views

How to disable error logging when client.connect(URL) in Socket.IO Client C++ library is unreachable?

https://github.com/socketio/socket.io-client-cpp/blob/master/API.md It keeps outputting to console whenever the server is unreachable. I want to suppress these messages completely. [2024-08-27 18:25:...
falero80s's user avatar
  • 398
-1 votes
0 answers
22 views

MiroTalk WebRTC Video call, Chat Room & Screen Sharing. Not working video and audio with out same local ip address

MiroTalk WebRTC Video call, Chat Room & Screen Sharing. Not working video and audio with out same local ip address if we are using same internet, we can get audio and video. but if we are using ...
MD shamim's user avatar

15 30 50 per page
1
2 3 4 5
224