All Questions
1,043
questions
0
votes
0
answers
24
views
Error querying device-1 while trying to send streaming audio data to backend served on EC2
In local environment, my application was running smoothly without any issues, but when I deployed it on EC2, I was getting an error querying device -1 while I was trying to send streaming audio data ...
2
votes
0
answers
41
views
WebSocket is not receiving messages
I have simple STOMP websockets:
@Configuration
@EnableWebSocketMessageBroker
public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
@Override
public void ...
0
votes
0
answers
14
views
Only pingpong data is received from an external web socket
I am implementing logic that receives real-time stock prices from an external websocket (KIS WebSocket) and sends this information to the front end.
The structure is:
React (frontend) - Nest.js (...
0
votes
0
answers
29
views
Emitting messages from Flask using socketio in main loop, not received by client?
I'm working on a project where I have a Flask server, and I'm trying to use flask-socketio to send messages to the front-end react component. Apologies in advance for any lack of understanding. I have ...
0
votes
0
answers
16
views
Error: Rendered more hooks than during the previous render with next-auth & socket.io
const [bidAmount, setBidAmount] = useState<number>(product?.data?.currentPrice);
const { data: session } = useSession();
const socket = useClient();
useEffect(() => {
if (!socket) ...
0
votes
1
answer
49
views
Storing async WebSocket messages in React state without message loss
I have a React app that connects to a WebSocket using react-use-websocket. Messages are received asynchronously, processed by receiveHandler and then the socketMessages state is updated with the ...
1
vote
1
answer
67
views
WebSocket Connection Fails in docker client but not in local / container
Context
I'm working on a React client app for a chat app using rabbitmq, ws, docker, docker compose, react-use-websocket.
repository here
Problem
The Websocket connection fails from the browser of the ...
1
vote
0
answers
60
views
Socket.io events in React.js and Node.js are not being triggered
I'm building a chat application in React js and Node js.
The events that I have written in React.js and Node.js do not seem to be triggered. I can login and see data in both the browser and the ...
0
votes
0
answers
11
views
Changing the WS-URL of React.js DEV
I have a React application running on PORT 5447, but it is redirected to a subdomain on port 80 using Nginx Multihost.
Example: dev.react-app.net
The connection basically works, but my React ...
0
votes
0
answers
58
views
Laravel Rever and React Configurations
I want to connect my React app with Laravel Reverb.
When connecting to a public channel everything works fine. but when trying to connect to a private channel I get connection refused
My React Code
...
0
votes
0
answers
63
views
Authentication in websocket
I have an express application, which serves some api endpoints and a websocket. Web sockets have rooms and on every message it inserts a message to mongodb.
wsServer.on("connection", (ws, ...
0
votes
0
answers
25
views
I'm using React to develop the web, but the socket is disconnected right away
Hi I'm trying to send and receive videos through a web socket connection
The html code runs properly, connects and receives photos
But the one that's made of react doesn't work
It's a code that's ...
0
votes
0
answers
80
views
Stream Huggingface Text Generation Response Via Websocket
So I am new to working with websockets and seem to be at a snag with my current code base. Essentially, I have a React frontend where the user asks a question and supplies some parameters, this ...
0
votes
1
answer
91
views
How connect React to MQTT over WSS
I am trying to connect to the MQTT Broker using MQTT.js in my React application, but I am getting an error with the WSS protocol.
First, my mosquitto.conf file:
# mosquitto.conf
pid_file /run/...
0
votes
0
answers
40
views
WebSocket Connection Fails with 301 Moved Permanently on DigitalOcean App Platform with NGINX
I have a React frontend and a .NET Core 8 backend running on DigitalOcean App Platform. The backend acts as a WebSocket server. Everything works when tested locally or with tools like Postman, but my ...