Category "websocket"

Janus invalid session (null)

I've just set up janus and got it running. I'm connecting to it, and can see in the janus logs: [ERR] [transports/janus_http.c:janus_http_handler:1522] Invalid

"Websocket connection failed" when proxying requests to Next.js app via Apache server

Since upgrading to Next.js 12 I'm getting the following error in the console when I run my Next.js app: WebSocket connection to 'wss://mysite.local/_next/webpa

Python websocket with FastAPI does not return data immediately

I created a websocket connection with FastAPI to "stream" data which comes from a tedious calculation. The data chunks should be send as soon as they are availa

WebSocket from HTTPS website to different port, self-signed certificate

I am facing issues when trying to connect from a browser via WebSocket to a server. Website is hosted on a default port (80, 443, configurable - this is s selfh

Why am i getting " Expected an assignment or function call and instead saw an expression" error here?

Im getting " Expected an assignment or function call and instead saw an expression" error at the seconduse effect, it finds the socket port correctly, am i perf

How to implement sending a heartbeat message using a boost beast websocket client

I need to implement sending a heartbeat message to a third party server with regular intervals. The server uses these heartbeat messages to determine if that th

How to fix 400 error bad request in socket io?

I have a frontend application(VUE JS) I have a backend (Nest JS) Vue JS app get data from backend via websockets using vue-socket.io-extended library When Vue J

CF2021 Getting Started with WebSockets (cfwebsocket)

I am just getting started with cfwebsockets and I am having a bit of trouble. What I found from online, is that since this is public-facing application, it is b

RuntimeError - Unable to find subscription with identifier: when ios app try to send a message

I am using WebSocket for comments on a post. ios user subscribe to the comment_channel and I got confirmation that the user successfully subscribed to comment_c

NGINX not loadbalancing for WS connections

I have two local backend applications running on : 127.0.0.1:4444 127.0.0.1:4445 Both of which support websocket connections (totally identical) I have set an n

How does ktor websocket flow api works?

I'm using ktor for server side development with websockets. Documentations shows us this example of using incoming channel: for (frame in incoming.mapNotNull {

Cypress web sockets error: 'Sec-WebSocket-Accept' header is missing

I am trying to test a VueJs application with Cypress. Everything works well except the websocket connection that fails with the message: Error during WebSocket

FastAPI: reject a WebSocket connection with HTTP response

In a FastAPI based Web app, I have a WebSocket endpoint that should allow connections only if some conditions are met, otherwise it should return an HTTP 404 re

How to get discord message content with python websocket

from discord.ext import commands from threading import Thread client = commands.Bot(command_prefix="!") @client.event async def on_message(message): prin

How can I send data via Websocket from a VSCode extension

I would like to send data via Websocket from an VSCode extension. Is there a builtin websocket facility or should I import the package "ws" or else?

how to send message to specific one user id using ratchet Laravel?

chat.php how to send message to specific user id? public function onMessage(ConnectionInterface $from, $msg) { $numRecv = count($this->clients) - 1;

Stream updates from AWS glue catalog to WebSocket React

I'd like to know if there's some way to stream data updates from an AWS Glue catalog to a React app by using a WebSocket or API Gateway. thanks, David

websocket client close failed when switch network/ offline

i'd like to ask some question about how to close a websocket client when offline/switched network. when i try to close the socket for the 2 case in chrome, afte

change booleans to true and false with if using websocket and vue

I am new to websockets and for my project I'm using websocket what I'm trying to achieve is having two taps and when a user clicks the button Start the div with

"CANCEL read_loop, Task exception was never retrieved"{‘e’: ‘error’, ‘m’: ‘Queue overflow. Message not filled’}

I've finally got my code working which does the following: first it gets the historical data from currently 297 symbols (only the last 20 data intervals). After