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 ...
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 ...
2 votes
0 answers
174 views

After upgrading react-scripts, I get WebSocket connection to 'wss://example.com:3000/ws' failed

Here's my tech stack: Ubuntu Nginx Docker React mkcert I use mkcert to create valid local certificates. Then instead of localhost:3000, I use hosts file to create a DNS record for my project. Thus I ...
1 vote
1 answer
1k views

Reconnect WebSocket in react js

The web socket server restarts on a certain time and I want my react front-end app restarts the connection each time. this peace of code works fine but only once. I want it reconnect every time ...
1 vote
0 answers
389 views

WebSocket connection to 'wss://mydomain.com/ws' failed

I just began making a new domain for a client using ReactJS. I built the app using create-react-app, and I configured the React start script to run over port 443 so I could develop over HTTPS. The ...
1 vote
0 answers
48 views

wss undefined on server side configuration

I need help with fixing the issue I'm facing. On my server side I'm configuring websocket I have two files server.js and nftController.js below is the code. on nftController wss is undefined. server....
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 ...
-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 ...
0 votes
0 answers
24 views

Error querying device-1 while trying to send streaming audio data to backend served on EC2

In local environment, my application was running smoothly without any issues, but when I deployed it on EC2, I was getting an error querying device -1 while I was trying to send streaming audio data ...
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 ...
1 vote
1 answer
199 views

My React Component not re-render when my array object properties is changed

Hello I'm just new in React. I have a react component that shows list users. The data was from array of object. When I fetched new data that changed the properties in object the component was not re-...
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 ...
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' ...
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 ...

15 30 50 per page
1
2 3 4 5
70