Open disciplinary opened 1 year ago
Ideally, the method should be:
@Override
public void onFailure(WebSocket ws, Throwable t, Response response) {
logger.error("[Connection {}] Failure", connectionId, t);
onFailureCallback.onFailure(t, response);
}
So that the WS connection's Failure Callback can get more information when failure is detected and define how to handle next. We haven an internal ticket to solve this in the future.
![Uploading image.png…]() WebSocketConnection.onFailure,
If one of the multiple subscriptions is disconnected, how do you retry without knowing the current subscription information Or throw the exception out