Issue: OpenClaw Node Pairing Failure (pairing required / gateway closed 1008)
Environment:
OS: Windows 11 (x64),
OpenClaw CLI Version: 2026.3.12,
Gateway Mode: Local (ws://127.0.0.1:18789),
Node Host: Headless Node service,
Symptoms:
Running openclaw node run results in:node host gateway connect failed: pairing requiredgateway connect failed: GatewayClientRequestError: pairing requirednode host gateway closed (1008): pairing required,
openclaw nodes list shows Pending: 0 · Paired: 0, and no pairing code is displayed in the terminal.,
Attempting to approve via openclaw nodes approve <id> is impossible because no requestId is generated.,
Agent tools (Canvas/Node) return node required errors despite the service being active.,
Troubleshooting performed:
Gateway restarted multiple times.,
tools.profile set to full.,
Node service reinstalled and restarted.,
Checked openclaw nodes pending, but it returns an empty list.,
Ask:
Why does the Node service fail to trigger a visible pairing request or display a pairing code, even when the Gateway is reachable? Is there a way to force-trigger the pairing mode or manually register the local node?