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
Shutting down dropwizard closes all websockets with close code 1000 NORMAL_CLOSURE, instead of the correct one 1001 GOING_AWAY.
This impacts robust-websocket, which won't trigger a reconnection in case of a server restart because the server initiated closure is marked as normal.
The text was updated successfully, but these errors were encountered:
WebSocketServerFactory#onStop does close all open sessions with StatusCode.SHUTDOWN, but the fact remains that dropwizard does not (double checked with wireshark).
I added a breakpoint to the close method in AbstractWebSocketConnection. After sending a TERM signal to dropwizard it triggered, but not due to WebSocketServerFactory...
Shutting down dropwizard closes all websockets with close code 1000
NORMAL_CLOSURE
, instead of the correct one 1001GOING_AWAY
.This impacts robust-websocket, which won't trigger a reconnection in case of a server restart because the server initiated closure is marked as normal.
The text was updated successfully, but these errors were encountered: