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
Not sure 100% if this is an issue or expected behavior but according to the Javadoc for HttpServerResponse#sendWebSocket it returns "a Mono completing when upgrade is confirmed". Instead the Mono seems to complete only after WebSocket session handling completes.
This comes through an issue reported against Spring Session and then the Spring Framework https://jira.spring.io/browse/SPR-17051 where a WebSocket handshake request completes at the end of the WebSocket connection (i.e. much later) and saves an already invalidated WebSession causing havoc.