Category "websocket"

Websockets connect fail after a while in execute

Excuse me, this is my IOT program, through bluetooth to receive sensor data, and then transfer the data, use websockets to transmit to the web page, but after a

websocket conecttion closed (on mobile browsers) when screen looks

I have a connection to WebSocket which sends me data every second, but when I lock the screen of my phone, after 5 min (approximately), the WebSocket connection

Is WebSocket compatible with HTTP/3

The upcoming HTTP/3 standard is no longer based on TCP, but on the QUIC protocol. WebSocket is based on TCP and is initiated as HTTP update. Is a WebSocket con

Utilizing the Websocket Data from Android cellphone while running

Using SensorServer, I am establishing a connection between an android phone and Python and utilizing the data sent. The accelerometer of the Android device is u

How to pass a dynamic port to the Websockets-gateway in NestJS?

I wanted to dynamically set the Websockets-gateway port from config in NestJS. Below is my websockets-gateway code. import { WebSocketGateway } from '@nestjs/we

AWS API Gateway Websocket UnknownError

We are experiencing an error when doing a SDK postToConnection() call as a promise, full error details given below. Other calls in the same function with a dif

simultaneous (async) work - getting msg receiving and placing order/selling in auto bot w websocket

''' I would like to get async working for purchasing ordering while continuously getting realtime price update by websocket receving. However, when I execute th

python websocket pub-sub with re-publish/broadcast

I would like to set-up a server that can subscribe to an external stream over a websocket (ws_ext) and then republish that data (after curating) to internal cli

Traefik V2 docker provider path /ws routing to external websocket server

Stack: serverX docker traefik x-site.com redirect :80->:443 https://x-site.com/* -> x-site docker container wss://x-site.com/ws proxy -> ws://external.

Django channels rest framework don't return data of subscription in production environment (gunicorn/daphne/nginx)

Hi everyone I deployed django with channels via daphne for websocket and gunicorn for normal request http with reverse proxy nginx, I have a problem that has no

Fetching data from websocket to react

I'm relatively new to React, and am looking to combine my React application with a websocket connection. I'm able to establish a connection via the websocket co

Should I migrate to Manifest v3 because most of the features of my extension depends on persistent background

I have a chrome extension which uses WebSocket, webrtc, audio and HTTP connections heavily, also I am using react-redux in the background to keep a state of UI

Stream Audio via WebSocket - Web Audio

I'm so close to getting audio chat working via Websockets. The idea of this application I'm building is to have a group voice chat working in browser. I'm using

How can I detect a server ping using URLSessionWebSocketTask?

Using URLSessionWebSocketTask, a server ping is automatically responded to by a pong from the client. Still, can the client observe that a ping/pong occurred? (

WAF Protection for api gateway using websockets

I have a use case where i am supposed to connect my client to apigateway using websockets. I have seen the API gateway can be configured with WAF rules in case

python websockets set port as None, how can get which port used?

I used python websockets library create a websocket server, to avoid port has been used by other application, I set port as None, let system choose a port for m

ASP.Net WebSocket how to simulate error event?

I just want to do like this on ASP.NET WebSocket. When my WebSocket server catches internal server error, I want my WebSocket server to send an error to clients

Nodejs Game using too much cpu/ram

I am making a Nodejs Multiplayer game. PROBLEM: After a period of time, around a few seconds, the latency between the server to client skyrockets. Not just a li

websockets.exceptions.ConnectionClosedError: code = 1011 (unexpected error), no reason

The server close connection for the client after a while and client disconnect automatically after try to send a message : newmsg = await websocket.recv()

Not able to connect flutter socket socket_io_client 1.0.1 to nodejs server

**Not able to connect websocket to the nodejs server for websocket connection I'm using socket_io_client: ^1.0.1 library ** void connect(){ IO.Socket socke