Skip to content

Windows Tray App does not auto-reconnect after Gateway restart #149

@iliujiannan

Description

@iliujiannan

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

  1. Install OpenClaw Windows Tray App and enable Node Mode in Settings → Advanced (Experimental)
  2. Confirm node is connected and visible in openclaw nodes status on the Gateway
  3. Restart the Gateway (openclaw gateway restart or service restart)
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions