Skip to main content

All Questions

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
18 views

Websocket - Client is still with https-200 even though server have successfully upgraded the connection and shared back 101 response

I am having an application using websocket for communication but randomly observing that the browser is still with https & status 200 instead of 101, even though the handshake is successful and ...
Ganges's user avatar
  • 1
0 votes
0 answers
21 views

When i reload or logout from my app the disconnect function in the backend runs twice and i am getting two session different ids when logging out

I am developing an application where there is a chat feature and I am facing a problem. When I logout from the app, I see two disconnects from two different session ids for the same user. The output ...
Mehdi Ziadi's user avatar
0 votes
0 answers
31 views

Having problem with sending message to the Client-Side

I'm using WebSocketMessageBrokerConfigurer on Java Spring. I need to print a message on the client side that is subscribed to server every time I send request to this API routes: @PostMapping("/...
Oianshek's user avatar
0 votes
0 answers
61 views

Spring websocket issues

it's the first time I've used websocket in spring... I created a microservices app and now I need to use websockets to create a very simple notification system... I don't know if this would be a good ...
noobJualian's user avatar
0 votes
0 answers
63 views

Java Spring Web Socket With STOMP & Sock JS Facing Issue With Proxy

I have implemented websockets in Spring with STOMP & Sock js & it is working as expected. The issue arises when we are moving our application to offshore environment where every request first ...
javalearner's user avatar
0 votes
1 answer
76 views

Send to specific user does not work Java Spring WebSockets for Sending Notifications

Hello fellow developers, I recently implemented Java Spring WebSockets to send notifications in my application, the websocket communication works with convertAndSend when I send to all users but not ...
Benjamin Barbé's user avatar
0 votes
1 answer
461 views

today is there any browser that do not support websocket?

Isn't websocket enough without using socket.io or sockjs? i know that some broswer do not support websockt, so we can use socket.io or sockjs. but even if IE, 11 version and 10 version is supporting ...
박요셉's user avatar
0 votes
1 answer
134 views

Client side: Subscribing to multiple websocket pushing from different server

I am new to SockJS, Stomp and Spring websocket. I have spring websocket configuration like below: @Override public void registerStompEndpoints(StompEndpointRegistry registry) { registry....
Om Sao's user avatar
  • 7,477
0 votes
1 answer
355 views

Programatical proxy support in Spring WebSockets' SockJsClient

I'm developing a tiny Java 15 application which connects to a Spring Boot based infrastructure using STOMP over WebSockets. Basically this is a no-brainer but unfortunately corporate proxy settings ...
LouBen3010's user avatar
0 votes
1 answer
860 views

How to make a Spring WebSocket which retains its message history?

I am trying to build a Spring WebSocket which would successfully retain the previous messages sent in the WebSocket. Example of the successful concept: Browser 1: CHAT TestUser: Hi TestUser2: Bye ...
AwesomeDude091's user avatar
1 vote
0 answers
364 views

Stomp websocket gives ByteBuf.release() was not called before it's garbage-collected

I have been working with stomp and sockjs for sometime. The following error occurred in the logs for stomp. 05:49:52.704 [71] [tcp-client-loop-nio-2] ERROR io.netty.util.ResourceLeakDetector - LEAK: ...
pacman's user avatar
  • 815
1 vote
0 answers
515 views

Stomp gives TCP connection failure and disconnection error

I have been using STOMP and sockjs for some time now, but the error below happens at times. 12:57:30.976 [48] [tcp-client-loop-nio-4] INFO org.springframework.messaging.simp.stomp....
pacman's user avatar
  • 815
0 votes
1 answer
450 views

SockJS connections will be closed when multiple connections open

If only one SockJS (polling XHR) connection is open, then the app works fine. As soon as I additionally open it in a new window, then the connections will periodically be closed. The client is SockJS ...
Andras Hatvani's user avatar
2 votes
1 answer
4k views

Is there limit in websockets?

I'm new to websockets and tried to use websockets for pushing notification to user, when function is finished generating exam. How it is working: User pressing button to choose subjects of exam. ...
Obito Uchiha's user avatar

15 30 50 per page
1
2 3 4 5
12