All Questions
227
questions
0
votes
0
answers
7
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
26
views
Hello Everyone ! i want to connect webSocket to my mern app but getting some error
i am working on realtime chat-app ... want to integrate websocket for instance chat ... but i am getting the error i am getting this kind of error (socket__io-client.js?v=6fe409f1:1018 WebSocket ...
1
vote
0
answers
19
views
How can i send messages via WebSockets with React on the frontend and trpc on the backend
I know I can receive data from trpc in React and do I have the possibility to send messages via wsLink? I want to connect to Binance and be able to place orders via WebSockets, so far I've only been ...
0
votes
0
answers
32
views
Websocket in NodeJS and ReactJs not connecting
I deployed a React.js PWA application (frontend) and a NodeJS backend in a server. Both are working well with Nginx and PM2. I created a WebSocket in my backend server to connect with my Frontend, but ...
1
vote
1
answer
67
views
WebSocket Connection Fails in docker client but not in local / container
Context
I'm working on a React client app for a chat app using rabbitmq, ws, docker, docker compose, react-use-websocket.
repository here
Problem
The Websocket connection fails from the browser of the ...
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
0
answers
63
views
Authentication in websocket
I have an express application, which serves some api endpoints and a websocket. Web sockets have rooms and on every message it inserts a message to mongodb.
wsServer.on("connection", (ws, ...
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
14
views
Problem when connecting my frontend to deployed socket server
I am trying to connect a react frontend to a deployed node js backend which also has a socket.io connection. this is working fine locally.
But when deploying and connecting to it, it is not making the ...
0
votes
0
answers
18
views
NodeJS socket connection not working on EC2 despite working fine on local
We have deployed our reactJS frontend, NodeJS backend and NodeJS chat(which uses socket programming for communication) on AWS using nginx as webserver.
This is what I have added my /etc/nginx/nginx....
0
votes
1
answer
52
views
Does WebRTC need Server? [duplicate]
I have a simple question
based on this link
WebRTC
WebRTC (Web Real-time Communication) is an industry effort to enhance
the web browsing model. It allows browsers to directly exchange
realtime media ...
0
votes
1
answer
174
views
React websocket connection closes after a few seconds
I have a websocket server in node and a react client defined as follows:
import { useState } from 'react';
import { Container } from "react-bootstrap";
import { useParams, useLocation } from ...
0
votes
0
answers
22
views
Getting Warning: Session become too large.Will stop sending websocket data
Server is hosted on google-compute-engine. I am getting the warning on client side as "Session become too large.Will stop sending websocket data". How can I manage the web-socket(using ...
1
vote
0
answers
16
views
Websockets connection error (socket.io...?)
I am clicking on call button once it does nothing when I click call button twice only then only it establish connection.
Frontend code:
import React, { useState, useRef, useEffect } from 'react';
...