Skip to main content

All Questions

Tagged with
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 ...
Divyansh Pathak's user avatar
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 ...
Divyansh Pathak's user avatar
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 ...
Shoaib Rehman's user avatar
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 ...
TeeeeJ's user avatar
  • 1
-2 votes
0 answers
21 views

Problem in screen sharing in WebRTC using MERN stack [closed]

I'm making a simple Google Meet type application using MERN stack. I have connected the users they can communicate over each other through video calling. But when User A tries to screen share I'm ...
Jagannath Samantra's user avatar
0 votes
0 answers
33 views

in canvas drawing is visible in person who is drawing but its not drawing in other persons screens. in console coordinates are same for all

Here is code where I have backend as springboot not sure whats causing the blank canvas for others. I am trying to make project like skribble. All other events are working but drawing is not a ...
Jack Smith's user avatar
1 vote
1 answer
31 views

React + Django webapp doesnt show user messages, despite showing server messages which are managed by the same logic both frontend and backend

What the title says, I'm trying to make battleships with websockets, yesterday everything was going more or less smooth, aside from having multiple ws opening so after changing stuff around for a ...
Sostanco's user avatar
0 votes
0 answers
18 views

Add header to SockJS

i am using this code to connect to my websocket spring boot, but it not working when im add header into. import { Client, IMessage, IFrame } from '@stomp/stompjs' import SockJS from 'sockjs-client' ...
Kiên Phạm Thanh's user avatar
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 ...
seven's user avatar
  • 1,482
0 votes
1 answer
44 views

How to keep websockets alive in background?

WS Connection opens and stays open for quite a long time - which is great. If you leave the page for a long time or the computer goes to sleep/hibernation, the WS connection closes and is never re-...
Satej Bidvai's user avatar
0 votes
0 answers
18 views

How to handle SPA application reload to fetch current deployed version over firebase in react.js?

I am facing a problem where my application needs to do a hard refresh in order to reflect new changes after deploying latest version. Went through multiple ways in order to solve this such as service ...
Satvinder pal singh's user avatar
2 votes
0 answers
27 views

Authenticating websockets - adding credentials to Stomp.js client

According to spring doc authentication for websocket falls back to authentication of HTTP request ( handshake ) and when spring-security is set up, no more configuration is needed. I have set up the ...
Darlyn's user avatar
  • 4,862
0 votes
0 answers
20 views

Can i use one shared-worker across sub domains?

I am having 4 react web applications, all of them use realtime data from webscockets. Currently in each of them i create a web worker and that handles all the websocket things, It's a stock broking ...
Harsh's user avatar
  • 1
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 ...
Guilherme Hepfener's user avatar
-1 votes
1 answer
52 views

React State Resets to Default When WebSocket Message is Received

I'm working on a React project using WebSockets to receive real-time updates. However, I'm encountering an issue where my component's state resets to the default value every time a WebSocket message ...
user25703354's user avatar

15 30 50 per page
1
2 3 4 5
70