Questions tagged [websocket]
WebSocket is an API built on top of TCP sockets and a protocol for bi-directional, full-duplex communication between client and server without HTTP overhead.
websocket
28,573
questions
0
votes
0
answers
5
views
How can I check if a user is logged in or not in socket.io with AdonisJS?
There isn't much information about this. Is there a way to check if a user is logged in with AdonisJS V6 and socket.io? I have this code so far, but I can't verify if the user has logged in with CSRF ...
-1
votes
1
answer
13
views
LARAVEL: WebSocket is closed before the connection is established
I am using composer v 2.7.6 and created a laravel project. After that i have configured websocket using pusher in my laravel project. The websocket is working fine in my local devise (localhost)
Tried ...
0
votes
0
answers
8
views
Can mitmproxy be used to block WebSockets from a SignalR Client when used as a proxy for them?
In order to test some networking conditions for a project, I need to block the use of websockets for a SignalR. The easiest way to do this seemed to be a proxy and mitmproxy seemed suitable.
After ...
0
votes
0
answers
15
views
Socket.IO: Clients Not Receiving changeRoom Event in Multiplayer Game
I'm building a multiplayer game using Flutter for the frontend and Node.js with Socket.IO for the backend. The problem is that when a second player joins a room, the changeRoom event is not being ...
0
votes
1
answer
26
views
Socket.IO Callback not working in (Node/C#)
I am so concern about an issue that i tried 100 solutions for but nothing works.
In python i can :
self.sio.emit('join', 'join', callback=self.join_acknowledgment)
and it works with charms. I.e. ...
0
votes
0
answers
16
views
Issues with Establishing WebSocket Connection via JHipster, Spring Cloud Gateway, and Traefik
I'm experiencing difficulties in establishing a WebSocket connection through Spring Cloud Gateway and Traefik in my JHipster project. When I attempt to create a WebSocket connection, I encounter the ...
0
votes
0
answers
14
views
WebSocket server logs connections but not messages in production environment through Nginx proxy
I have a WebSocket server that functions correctly in my local environment, where it connects, sends, and receives messages without issues.
However, in my production environment, the WebSocket server ...
1
vote
0
answers
13
views
Can't make multiple WebSockets per host on Firefox
Consider the following JS code (that is not the actual host obviously):
ws1 = new WebSocket("wss://myhost.com/ws/123/subscribe");
ws2 = new WebSocket("wss://myhost.com/ws/456/subscribe&...
0
votes
0
answers
12
views
Particles not rendering as I want them unless I make a manual change to the file
...
import 'particles.js/particles;
...
useEffect(() => {
const particlesJS = window.particlesJS;
particlesJS("particles-js", {
particles: {
number: { ...
0
votes
0
answers
17
views
websocket not notifying sender or receiver when friend request is accepted
I am running my websocket on node.js server and android app in kotlin and im mapping users in the websocket by username to notify them, i have a sendchatmessage function which correctly notifies both ...
0
votes
0
answers
16
views
gateio api v4 ws socket connection problem?
I am connecting to gateio websocket servers with the nodejs code below. Authentication works correctly when connecting to the futures.usertrades channel. But I am getting unexpected errors when ...
0
votes
0
answers
10
views
How can i send messages via WebSockets with React on the frontend and trpc on the backend
I know I can receive data from trpc in React and do I have the possibility to send messages via wsLink? I want to connect to Binance and be able to place orders via WebSockets, so far I've only been ...
0
votes
0
answers
7
views
Does Simple Broker auto deletes the message queue in Stomp Websocket?
I am new to learning Websockets and how they work.
In my implementation of Websocket using Springboot (React Client), I am using one connection
[ ws://localhost:8080/intl-moa/ws-endpoint (for eg)]
I ...
-1
votes
0
answers
28
views
How to store user data for every WebSocket connection in Helidon SE4
Task: There is a server implemented using the Helidon SE4. I need to store user data associated with each WebSocket connection on the server side.
Problem: Unlike Jakarta WebSockets, Helidon SE 4 does ...
0
votes
0
answers
37
views
Angular 17 Not Receiving Message From Spring WebSocket
This is my service on Angular. It successfully connects and sends a message:
export class WebsocketService {
private stompClient:any;
private isConnectedSubject: BehaviorSubject<boolean>...