You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our SockJS implementation (Spring Boot) then ignores the connect frame, as it thinks that the client is still connected. This leads to the CONNECTED frame not being sent and thus StompConfig#onConnect() not being called. This can be an issue for subscribing to topics if onConnect has never been called so far.
Log output from our Spring Boot backend: 2023-09-07T14:33:41.561Z WARN 1 --- [boundChannel-64] o.s.m.s.b.SimpleBrokerMessageHandler : Ignoring CONNECT in session kd43jkqq. Already connected.
The text was updated successfully, but these errors were encountered:
Currently, the session and server IDs only get generated once - when the
StompConfig
is created. This can lead to the following issue:Our SockJS implementation (Spring Boot) then ignores the connect frame, as it thinks that the client is still connected. This leads to the
CONNECTED
frame not being sent and thusStompConfig#onConnect()
not being called. This can be an issue for subscribing to topics ifonConnect
has never been called so far.Log output from our Spring Boot backend:
2023-09-07T14:33:41.561Z WARN 1 --- [boundChannel-64] o.s.m.s.b.SimpleBrokerMessageHandler : Ignoring CONNECT in session kd43jkqq. Already connected.
The text was updated successfully, but these errors were encountered: