-
Notifications
You must be signed in to change notification settings - Fork 60
Windows Tray App does not auto-reconnect after Gateway restart #149
Description
Bug Report: Windows Tray App Does Not Auto-Reconnect After Gateway Restart
Description
When the OpenClaw Gateway restarts, the Windows Tray App (Node Mode) does not automatically reconnect. The node stays in a disconnected state indefinitely and requires manual intervention to reconnect.
This is inconsistent with the CLI node (openclaw node run), which does attempt to reconnect automatically as shown in its logs:
Node reconnecting in 1000ms (attempt 1)
Steps to Reproduce
- Install OpenClaw Windows Tray App and enable Node Mode in Settings → Advanced (Experimental)
- Confirm node is connected and visible in
openclaw nodes statuson the Gateway - Restart the Gateway (
openclaw gateway restartor service restart) - Observe the Windows Tray App — node remains disconnected and does not reconnect
Expected Behavior
The Windows Tray App should automatically detect the Gateway reconnection and re-establish the node connection, similar to how the CLI node handles reconnection.
Actual Behavior
The node stays disconnected after Gateway restart. Manual workaround required:
- Toggle Node Mode off and on again in the app settings
Environment
- OpenClaw Tray App version: 0.4.7
- Windows version: Windows 11 x64
- Gateway connection: Remote Gateway over WSS (Nginx TLS reverse proxy)
- Node Mode: Enabled via Settings → Advanced (Experimental)
Logs
After Gateway restart, the app shows:
[INFO] Node status changed: Disconnected
[INFO] Node status: Disconnected
No reconnection attempts are logged afterward.
Workaround
Manually toggle Node Mode off → wait 2-3 seconds → toggle back on.
Additional Context
The CLI node (openclaw node run / node install) handles this correctly with automatic retry logic. It would be great if the Tray App implemented the same behavior.