All Questions
267
questions
0
votes
0
answers
8
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
13
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
0
answers
25
views
How to pass custom headers in the upgrade requests using a WebSocket client in my React App
I have tried using the native websocket library to initiate upgrade connection requests. However, my server requires the access token to be sent as a header.
Is there a way to pass access token as a ...
0
votes
0
answers
29
views
Emitting messages from Flask using socketio in main loop, not received by client?
I'm working on a project where I have a Flask server, and I'm trying to use flask-socketio to send messages to the front-end react component. Apologies in advance for any lack of understanding. I have ...
1
vote
0
answers
60
views
Socket.io events in React.js and Node.js are not being triggered
I'm building a chat application in React js and Node js.
The events that I have written in React.js and Node.js do not seem to be triggered. I can login and see data in both the browser and the ...
0
votes
1
answer
42
views
socket.io client shows connected as true, but still does not send any events
I am using react with socket.io to facilitate websocket communication between client and server. Below is the code I am using.
const Main = () => {
const [socket, setSocket] = useState();
const ...
1
vote
1
answer
41
views
Why socket.io recommends not to listen to events inside Child components?
I have a React app with many pages. Inside one of the pages, I need real-time communication with the server. So, we started using socket.io. But, the doc said as follow
Listeners in a child component
...
0
votes
0
answers
16
views
socket.to().emit(), io.to().emit() methods are not working
Actually I am working on a one to many white board application inside it only host can present on canvas other non-host can see the image of that canvas. But in my case a problem arises that when I am ...
0
votes
0
answers
27
views
Socket io trigger an event twice in react js
im facing an issue. my socket io trigger twice on client side. i dont know what is the issue here.
here is my socket configure code in src/socket.ts file
and the socket connection in the mainlayout ...
0
votes
0
answers
11
views
Socket.io only emits to rooms after recompile of react client code
`I am trying to implement socket.io messaging into my react application, and I'm stuck on getting the sockets to work consistently. The socket only works after recompiling the react app, as in, when I ...
0
votes
0
answers
20
views
Stream PCD files using Flask Socket Io
I would like to stream(fetch all .pcd files one by one with one request from client to server)PCD files from server to client or front end . Here I have some pcd folders which contains .pcd files, for ...
0
votes
0
answers
23
views
Socekt.io Issue(with typescript and react) : no data is sent with the socket, even though the connection is established
this is my backend set up for the socket.ts server
import {Server} from "socket.io"
import {createServer} from "http"
import express from "express"
const app = express()...
0
votes
0
answers
45
views
React function re-mounting multiple times
Title: Issue with managing messages in React components
Question:
I'm encountering an issue with managing messages in my React application, particularly with the Message and MessageList components. ...
0
votes
0
answers
61
views
React websocket MultiChat Architecture Design
I have to implement a chat service on an application I'm working on.
I wanted to have a brief overview/help on the architectural design of it.
The chat page should look like this.
So I would like to ...
0
votes
1
answer
135
views
my websocket is not working after i have deployed my application
so i have my frontend in react and backened in nodejs.I have deployed my backened and frontened both on vercel.
locally the application is running very well . i am replacing the server deployed link ...