diff --git a/lib/src/main/java/org/asamk/signal/manager/SignalWebSocketHealthMonitor.java b/lib/src/main/java/org/asamk/signal/manager/SignalWebSocketHealthMonitor.java index 24a673ff..556e227d 100644 --- a/lib/src/main/java/org/asamk/signal/manager/SignalWebSocketHealthMonitor.java +++ b/lib/src/main/java/org/asamk/signal/manager/SignalWebSocketHealthMonitor.java @@ -101,6 +101,7 @@ public final class SignalWebSocketHealthMonitor implements HealthMonitor { if (healthState.mismatchErrorTracker.addSample(System.currentTimeMillis())) { logger.warn("Received too many mismatch device errors, forcing new websockets."); signalWebSocket.forceNewWebSockets(); + signalWebSocket.connect(); } } } @@ -146,6 +147,7 @@ public final class SignalWebSocketHealthMonitor implements HealthMonitor { + " needed by: " + keepAliveRequiredSinceTime); signalWebSocket.forceNewWebSockets(); + signalWebSocket.connect(); } else { signalWebSocket.sendKeepAlive(); }