Skip to main content

All Questions

0 votes
0 answers
8 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 ...
Aakriti Sahrawat's user avatar
0 votes
0 answers
29 views

@SendToUser does not work, but convertAndSendToUser works

@SendToUser doesn't send messages to given path, but convertAndSendToUser() do. I checked the client side and it subscribes correctly. I expect @SendToUser in RoomExceptionHandler to send errors when ...
dimitri08's user avatar
0 votes
0 answers
40 views

Spring STOMP and ping/pong timing

I'm working with Spring STOMP and rabbit mq. I'm deepening some disconnections issues probably disposed by a reverse proxy server. I would like to know how has in charge the ping/pong handling, is ...
Tobia's user avatar
  • 9,380
0 votes
0 answers
17 views

Angular can't access Springboot through Websockets

I'm having a porject, where Springboot is hosting the Angular frontend. The backend is receiving data from a external MQTT-Broker and is supposed to broadcast specific messages that it receives to an ...
Zerox's user avatar
  • 290
1 vote
1 answer
64 views

Spring WebSocket: Discrepancy in CORS Behavior between XMLHttpRequest and Fetch Requests despite Credentials Set to False

I have configured Credentials to false in my Spring WebSocket application. However, when I request http://192.168.7.175/api/webSocketEndPoint/info?t=17139606, the response status is 200. Despite this, ...
sadeq shahmoradi's user avatar
0 votes
0 answers
33 views

404 error when trying to connect to the websocket (Angular + Spring boot)

In Angular i tried to connect to the websocket but an error message is returned : websocket.service.ts:15 GET http://localhost:8081/socket.io/?EIO=4&transport=polling&t=OxuZ1WH 404 (Not Found) ...
asma's user avatar
  • 1
0 votes
0 answers
44 views

I am trying to make a java websocketWhen I am trying to connect to websocket, I am getting following error : Request method 'GET' is not supported

Pom.Xml : <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&...
asma's user avatar
  • 1
0 votes
1 answer
92 views

Angular implementing websocket using sockJs and Stomp getting CORS Error

I used Stomp and SockJS for implementing WebSocket, and our backend is built with Spring Boot. this is my client code: and baseApi is something like this: baseApi: 'https://api.test.com' this is ...
heliya rb's user avatar
  • 791
0 votes
0 answers
39 views

Failed to handle GenericMessage issue with WebSockets and MongoDB

I want to do simple chat service for my project, which has multiple input users but one end user who get messages from all of them. I have such classes @Service public class ChatUserService { ...
Hubert Kiszka's user avatar
0 votes
0 answers
11 views

Strange random packet delay on client [Java Spring/Netty + WebSocket]

There is a server (Java Spring + Netty), there is a client in Javascript. The server and client communicate via sockets. The server sends packets (about 200 bytes each) to the client at a fixed ...
Akhmed Turabov's user avatar
0 votes
0 answers
50 views

Can't get Stomp JS client to subscribe to my backend websocket built using spring boot

I am trying to build a chat application where the frontend is built using HTML, CSS, JS, and the websockets handling in the backend is built using Java spring boot. The below is my client code. ...
Allen Alex Abraham's user avatar
0 votes
0 answers
38 views

Websocket request is ignored in Spring gateway security

I have a problem with connecting spring WebSocket(Using sockJs). Currently, we are using a gateway service(written in spring boot) to redirect incoming requests to appropriate micro-services. But I ...
Mohammad's user avatar
1 vote
0 answers
19 views

Stomp over websocket , data not receiving to the client

@Configuration @EnableWebSocketMessageBroker public class WebSocketConfig implements WebSocketMessageBrokerConfigurer { @Override public void configureMessageBroker(MessageBrokerRegistry config) { ...
Lalindu Wenasara's user avatar
-1 votes
1 answer
51 views

Spring Websocket CORS issue

I have a web application served by an Angular frontend and Spring Boot backend. They are deployed with a multi-stage Docker build on the same server. I had an issue of the websocket on Angular not ...
Testing's user avatar
0 votes
0 answers
58 views

Websocket duplicate on headers

I'm doing a migration from a monolith to microservices on a springboot web application, there is a service about websocket but I can't connect when I'm doing the migration. This code still work in ...
Pla's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
34