Device: RUT956 Firmware Version: RUT9M_R_00.07.18.3 Module: RS485 / Serial over IP
Description: I am using the RUT956 to connect a Fire Alarm system to an Azure server via Serial over IP (TCP Client + SSL).
The connection works perfectly on start of service. However, if the remote server (Docker container) restarts, the connection drops and the router fails to auto-reconnect, even though “Keep Alive” and “Reconnect Interval” are configured. The router remains in a disconnected state indefinitely.
Traffic: The connected device (a firealarm) is completely silent (0 bytes TX/RX) for long periods. It only sends data during an alarm. Therefore, the connection relies entirely on TCP Keep-Alives to detect drops. The issue seems specific to how the router handles reconnection for idle/silent SSL sockets.
Symptoms:
-
Server side restarts (TCP connection broken).
-
Router eventually detects the drop via Keep Alive probes (WebUI shows Connected servers: 0/1).
-
The Failure: The router stays disconnected indefinitely. It does not trigger the Reconnect Interval logic.
-
The Workaround (Proof of Bug): If I simply toggle off click “Save & Apply” then toggle on and click “Save & Apply” in the Serial Configuration (without changing any settings), the router connects immediately. This should prove the network, IP, and Certificates are valid.
Configuration:
-
Mode: Client
-
Protocol: TCP
-
TLS/SSL: Enabled (Certificate based)
-
Reconnect Interval: 30
-
Inactivity Timeout: 0 (Disabled)
-
Keep Alive: ON
-
Time: 60
-
Interval: 10
-
Probes: 3
-
Steps to Reproduce:
-
Establish a Serial over IP (SSL) connection to a remote server.
-
Ensure no data is being transmitted (Silent/Idle state).
-
Restart the remote server application to force a socket break. (docker restart [container])
-
Wait for the Keep Alive settings to detect the drop (approx 90s).
-
Observe that the router marks the server as disconnected (0/1) but never attempts to reconnect automatically.
-
Click “Save & Apply” → Observe immediate successful reconnection.