Category "websocket"

FastAPI websockets not working when using Redis pubsub functionality

currently I'm using websockets to pass through data that I receive from a Redis queue (pub/sub). But for some reason the websocket doesn't send messages when us

Error: write EPROTO 4455222784:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:

I have a websocket server running on the backend using the ws nodejs library. I'm getting this error whenever I am trying to connect to it from the client side.

Python - Unidirectional websocket

I'm trying to create a unidirectional websocket connection between the client and server (python). The libraries I've currently been prototyping with are websoc

Two websockets with BinanceSocketManager

I'm trying to open two web sockets - depth book and user socket. Here's my code: async def sockets(client): bm = BinanceSocketManager(client) ds = bm.de

How to proxy WebSockets in Traefik?

I'm trying to set up Upsource to work behind Traefik: https://www.jetbrains.com/help/upsource/proxy-configuration.html traefik is listening to port 8008 and 84

Web socket problem when adding subscriptions in URQL client

I am using URQL Client with Apollo server, now I am trying to handle subscriptions on URQL client, but I can't seem to make the web socket work. Hope someone ca

Websockets request fails with nginx-proxy for docker with ssl

I'm using nginx-proxy as a reverse proxy for my containers in a web server. I have a Laravel backend application with a Vue frontend and they communicate via We

gevent-socketio with Python bottle

I'm trying to put together a Python bottle application that uses gevent-socketio and am having trouble. I'm using the following versions of software: Python: 2.

Meraki API - Redirect stdout, stderr to websocket or file

I'm using a Flask route to call the Meraky python library and trying to redirect the stdout and stderr of each API call to a websocket or eventually a log file,

Websockets on Android Unity devices

I am new to websockets, and I have some doubts that I would like you to clarify, but first of all I would like to tell you what is the aim of the project: I hav

C# - Websocket - Sending Message Back To Client

I've been working on a C# Web Socket server for roughly 24 hours. I've currently figured out how to complete a handshake and get the connection initialized. Als

How to create custom events for 'ws' Web-Socket module?

Is it possible to create a custom event emitter and listener (like there's in socket.io) for 'ws' websocket module in NodeJS. If so then, how can I achieve it?

How use postgres (deadpool-postgres) with WebSocket Actix (actix-web-actors)

How to use database connection from a WebSocket handler. It is possible to use future.into_actor or ctx.spawn or actix::fut::wrap_future but that's not accurate

Javascript - Build an async interface around an async WebSocket

I'm wondering if it is possible to build an async interface around a webSocket object, that is async by nature. The webSockect object is inside a class/funct

Websocket and cross-domain

Currently, I am developing two webapps : the core, developed in Java with Vert.x, receives data from a lot of other apps and sends it to client) the client,

Binanace get Order Book in C# .Net Core

i'm part of a MarketMaker team and currently need to get crypto Market Data from Binance. Here are the requirements... get public market data, so dont have api

Streaming API - how to send data from node JS connection (long-running HTTP GET call) to frontend (React application)

We are attempting to ingest data from a streaming sports API in Node.Js, for our React app (a MERN app). According to their API docs: "The livestream read APIs

How to sign OKEx API V5 login with websockets using HMAC SHA256 encryption and Base64 encoding?

Although this question has been answered for previous versions of the OKEx API using REST, it hasn't been for the latest version 5 of the API using websockets.

Django websockets and channels group_send not working

I started looking into websockets and I would liek to implement realtime communication between web-client (Angular 13) and Python app. As backend I used Django

socket.io determine if a user is online or offline

We can trace if a connection is established or disconnected by this code console.log('a user connected'); socket.on('disconnect', function () { con