Skip to main content
0 votes
0 answers
76 views

I am trying to connect to a STOMP "server" and have initialised a connection, however my code gets stuck at STOMP: Opening Web Socket for about 5 minutes, then finally says the connection ...
Legacy Coding's user avatar
0 votes
1 answer
73 views

When the React component mounts, it should create a WebSocket connection to the Spring Boot server using SockJS but instead it closes connection immediately. const App = () => { const [message, ...
TheStruggleEzzReal's user avatar
0 votes
1 answer
669 views

I have a simple Spring Boot app, using spring-security to control access to web socket topics. This is done using OAuth to authenticate users with a bearer token. Everything seems to work except I can'...
Jackie's user avatar
  • 24k
2 votes
1 answer
45 views

I am working on an Angular service for connecting to a WebSocket server using STOMP protocol. The service establishes a WebSocket connection, subscribes to a topic, and processes incoming messages to ...
Александр's user avatar
2 votes
1 answer
305 views

I followed this Spring Boot tutorial on Websockets implementing STOMP protocol which works perfectly on its own. I wanted to connect it to a frontend app which uses Expo so I am using STOMPjs After ...
noor soreti's user avatar
1 vote
1 answer
95 views

I'm currently implementing websockets with stomp However, the send function works on the frontend, but I can't receive it on the server side. SEND destination:/app/chatAddUser content-length:15 ...
lsm's user avatar
  • 11
-1 votes
1 answer
141 views

I am building a notification panel using websocket and react. Should i use redux toolkit or useContext for managing centralize location of websockets? or is there any other suggested approach i can ...
James's user avatar
  • 311
1 vote
1 answer
2k views

I have a Spring Boot WebSocket application that uses StompJS. There is a heartbeat setup for every 10 seconds to keep the connection alive. Periodically (maybe 2-10 minutes) the connection will be ...
mnd's user avatar
  • 2,829
0 votes
1 answer
421 views

I am trying to send message between authenticated users with STOMP in Spring. On the client side I am using STOMP.js. Controller: @MessageMapping("/hello") @SendToUser("/queue/hello&...
marius627's user avatar
2 votes
1 answer
740 views

I am trying to connect to my springboot stomp end points with stompjs library Here is the client code; const client = new Client({ brokerURL: "ws://192.168.179.77:8080/gs-guide-websocket", ...
Senith Uthsara's user avatar
1 vote
1 answer
2k views

var stompClient = Stomp.over(function () { return sock; }); console.log("before con"); stompClient.connect({}, () => { setConnected; stompClient.subscribe("/topic/hello&...
Senith Uthsara's user avatar
0 votes
0 answers
174 views

I am trying to send message from StompJS to MQTT broker. So far I am able to connect to the broker. However, when I try to send a message using following command stompClient.publish({ ...
Rusty's user avatar
  • 4,531
0 votes
1 answer
364 views

I want to run the connect function only once so that it initiates a stompjs client. But it is being called 4 times and I am getting the following message in the browser: VM1867 bundle.js:41684 ...
Sabirul Mostofa's user avatar
0 votes
1 answer
941 views

I'm sending heartbeat using StompJS from Angular using this.client.heartbeat.outgoing = 2000; from this documentation https://stomp-js.github.io/stomp-websocket/codo/extra/docs-src/Usage.md.html ...
UltraLegend's user avatar
1 vote
1 answer
1k views

I am trying to implement Web Socket communication between my client and Server Applications. My backend service is a Spring Boot Application which sends a custom message object over the socket on a ...
Fuzail's user avatar
  • 413

15 30 50 per page
1
2 3 4 5
7