28,491 questions
0
votes
0
answers
4
views
ReactJS, SpringBoot WebSocket
I have a webscoket endpoint in SpringBoot that I'm trying to call from a React application, but no matters what I do the output in React is this:
WebSocket connection to 'ws://localhost:8083/message/...
0
votes
0
answers
13
views
Nano RP2040 Connect – WebSocket multi-client issue
I'm using the Arduino Nano RP2040 Connect with WiFiNINA and WebSockets2_Generic to control the board via WebSockets.
It works fine with one client, but when a second client connects, the page won't ...
0
votes
0
answers
19
views
How to access the Guacamole web client over HTTP without using a reverse proxy or HTTP [closed]
I'm using Apache Guacamole 1.6.6 deployed in Docker. I want to access the Guacamole web client over HTTP (ws://) without using any reverse proxy (like NGINX or Apache).
Currently, I'm trying to test ...
0
votes
0
answers
28
views
Check origin for websockets in axum
I only want to allow websocket connections when they come from a specific website.
I have a CORS layer in my axum server setup, but it only seems to apply to HTTPS, not WSS. All websocket connections ...
0
votes
0
answers
16
views
Websocket data limitation in lte modem Simcom A7672s
I am using SIMCOM A7672S module for Websocket communication for OCPP, whilw doing this I need to tx/rx data more than 1500 bytes for few commands but as per documentation of the module the max limit ...
0
votes
0
answers
46
views
How to deliver asynchronous image processing results via WebSocket in Kubernetes with horizontal scaling?
I have a PWA where users upload images, and after asynchronous processing, results need to be sent back to them in real-time via WebSocket.
Problem:
Users establish WebSocket connections to my ...
0
votes
1
answer
40
views
Ktor Websocket chat Client MVVM best practice
I am building a Chat client feature. I am trying my best to adhere to the MVVM architecture.
I am using Ktor to communicate via WebSocket with my server.
In my data layer, I have class ...
0
votes
0
answers
25
views
BACnet/SC - TLS 1.3 “Alert: Close Notify” sent by node right after WebSocket upgrade — what does it indicate and how can I keep the session open?
Situation
I am bringing up a BACnet/SC testbed:
Role
Host
SW / FW
IP & Port
Hub
Windows 10 laptop
bacnet-sc-reference-stack (Java)
192.168.20.27:4443
Node
Azbil field controller (DEVICE_NO37)
...
0
votes
0
answers
12
views
Spring WebSocket STOMP: convertAndSendToUser() not delivering private messages
I'm implementing private messaging with Spring WebSocket STOMP, but messages sent via convertAndSendToUser() are not being delivered, while broadcast messages work fine. The client subscribes to /user/...
0
votes
0
answers
11
views
Spring WebSocket: How to reject group message but still send error to /queue/errors/{userId}?
I would like to send message to /queue/errors/{userId}, when user is not in the group and also I would like to reject message to group. Problem is how to send message to /queue/errors/{userId} without ...
0
votes
0
answers
24
views
Artillery Socket.IO: {{token}} in socketio.query interpolates as 'undefined' despite beforeConnect
I'm trying to load test a Node.js Socket.IO server using Artillery. My server expects an authentication token as a query parameter during the handshake. I'm using Artillery's socketio.beforeConnect ...
0
votes
0
answers
37
views
How to intercept a form submit in websocket connection?
I have "inherited" a piece of code from a chat application. I would like to add some custom checks on the user input upon submission, allowing the submit to be aborted on client side if ...
0
votes
0
answers
28
views
Twilio `<Stream>` Call Disconnects After 5 Seconds – No Error, Audio Not Played
I'm using Twilio's <Stream> tag to stream audio to a WebSocket for a voice call. The WebSocket is established successfully and I receive audio chunks from Twilio just fine. However:
The call ...
0
votes
0
answers
14
views
How to detect speech silence in Twilio Media Streams for real-time transcription using deepgram?
Twilio continuously sends audio chunks every 20 milliseconds, even during periods of silence. These chunks may contain silent audio data, making it challenging to identify "real silence" by ...
-2
votes
0
answers
33
views
Websocket vs Webhooks confusion [closed]
I have one query if I use Whatsapp cloud API to build whatsapp like custom chat app what I use Webhook or websockets.
webhook is use for server to server real time communication, otherhand websocket ...