When using WebSockets, the reconnection fails when the server has restarted, with the ErrorMessage "bad session id".
This makes sense because the server has been restarted, but I do not understand what is supposed to be done in this circumstance. Before switching to WebSockets, the Bus would reconnect, and when I attempted to do something, the server would throw a 'RequiresLoginException' (our code), which the client would then use to prompt the user to authenticate.
The code is ending up in WebsocketHandler.handleProtocolExtension in the case WebsocketNegotiationFailed.
Please let me know if this is clear, and if I understand things correctly. Ideally, I would like some way to re-authenticate and re-establish the socket connection