28,679
questions
0
votes
0
answers
10
views
How to simulate a terminal for the command ‘kubectl exec -ti blablabla’ on the client side
I am developing a web application that simulates a pod (EKS) terminal on the client side. The only solution I can think of is using sockets, but I am facing some issues:
The application has an API ...
3
votes
1
answer
35
views
boost::beast::websocket How to handle multi async_write() function call?
I'm not a network programmer, my design choices are just based on my Google searches.
My Scenario
My clients could receive some events reported by other clients from the server consecutively, and ...
0
votes
0
answers
36
views
Issue Connecting Next.js Frontend to Ruby on Rails Backend via WebSockets on Kubernetes
I'm working on connecting my Next.js frontend to a Ruby on Rails backend using WebSockets. Both apps are deployed on Kubernetes.
My frontend is accessible at test.com.
I have my WebSocket server ...
-1
votes
0
answers
8
views
Fastify, how can I pass a websocket connection to a plugin in for inner functions to use
I have a simple websocket in fastify which calls a custom plugin i wrote:
module.exports = async function (fastify, opts) {
fastify.register(require('@fastify/websocket'))
fastify.register(...
0
votes
1
answer
28
views
Socket.io client disconnects with "transport error" immediately after successful connection
I’m working on a web app with a Python Flask backend that uses Flask-SocketIO for WebSocket connections, and the frontend client is built with React using the socket.io-client library. Everything ...
0
votes
1
answer
14
views
Tornado Websockets throws strange error when streaming from Binance
The code looks like this:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from tornado.ioloop import IOLoop, PeriodicCallback
from tornado import gen
from tornado.websocket import ...
0
votes
0
answers
16
views
Howto: getting chrome websocket events via Python Selenium Chrome DevTools
I'm trying to catch data frames coming from server via websockets. The data is visible in network tab in devtools.
The bidi and cdp python docs is quite poor, so it's not clear enough how to catch the ...
0
votes
0
answers
15
views
how to resolve WebSocket connection issue error code 1006 On GCP?
I am facing web socket disconnection problem with 1006 on production environment. I unable to find the exact problem. We tested without firewall restriction on GCP , that also not working as expected. ...
0
votes
0
answers
14
views
Flutterflow Web Socket Integration
Has anyone successfully integrated web socket to Flutterflow? If so, can you please share the steps?
I've tried writing custom actions and functions obtained from claude cos I am not a flutter/Dart ...
0
votes
0
answers
20
views
keystone.js graphql subscriptions not working - code: 4406, reason: "Subprotocol not acceptable"
I am developing a keystone app, where we want to use graphql subscriptions.
Followed the documentation:
https://keystonejs.com/docs/config/config#extend-http-server
and the keytone github example for ...
0
votes
0
answers
20
views
Websockets Unexpectedly disconnecting after message broadcast - FastAPI
Im working with Wbsockets and FastAPI to make a simple chatbot powered with AI.
For each conversation there are two possible modes copilot (the user message will be answered by a person using the UI) ...
0
votes
0
answers
7
views
Ways to synchronize order status on client devices from cloud server
I am building a SAAS cloud service for restaurants.
Assume a specific restaurant has two handheld devices for creating orders and updating orders, these handheld devices talk with the cloud server.
my ...
0
votes
0
answers
27
views
How can I send both audio and text data simultaneously through a WebSocket connection in Python?
I'm working on a chatbot application where I need to convert text to speech (TTS) on the backend and send both the generated audio and the original text to the frontend through a WebSocket connection. ...
0
votes
0
answers
12
views
XHR Polling Error Socket.io Chrome extension
I'm trying to communicate with my local server from my chrome extension with scoket.io but I'm getting an XHR Polling Error.
I don't get this error when I simulate a client, I only get it with the ...
0
votes
0
answers
21
views
Why does SpeechAsyncClient streaming recognise method hang
Overview
I have implemented a simple client-server WebSocket connection using websocket.asyncio. My goal is to stream audio from the client to the server and to transcribe that audio using Google ...