openclaw - 💡(How to fix) Fix [Bug]: `openclaw nodes list` intermittently times out on local loopback and can wedge follow-up gateway probe (2026.4.25) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#73992Fetched 2026-04-30 06:30:05
View on GitHub
Comments
1
Participants
2
Timeline
13
Reactions
0
Author
Timeline (top)
mentioned ×5subscribed ×5cross-referenced ×2commented ×1

openclaw nodes list intermittently times out against a healthy-looking local loopback gateway on 2026.4.25, and in some failure windows the timeout also spills over into openclaw gateway probe, suggesting nodes.list can still wedge or starve gateway RPC handling.

Error Message

--- attempt 1 --- exit=1 duration=13.02s STDERR: nodes list failed: Error: gateway timeout after 10000ms Gateway target: ws://127.0.0.1:18789 Source: local loopback Config: ~/.openclaw/openclaw.json Bind: auto

--- attempt 2 --- exit=1 duration=12.36s STDERR: nodes list failed: Error: gateway timeout after 10000ms Gateway target: ws://127.0.0.1:18789 Source: local loopback Config: ~/.openclaw/openclaw.json Bind: auto

--- attempt 3 --- exit=0 duration=11.14s STDOUT: Pending: 0 · Paired: 4

Paired ┌──────────┬───────────────┬──────────────────┬──────────────┐ │ Node │ ID │ IP │ Last Connect │ ├──────────┼───────────────┼──────────────────┼──────────────┤ │ <redacted><redacted><private-lan-ip> │ 1h ago │ │ <redacted><redacted> │ │ 1h ago │ │ <redacted><redacted><private-lan-ip> │ 1h ago │ │ <redacted><redacted><private-lan-ip> │ 1h ago │ └──────────┴───────────────┴──────────────────┴──────────────┘

Root Cause

openclaw nodes list intermittently times out against a healthy-looking local loopback gateway on 2026.4.25, and in some failure windows the timeout also spills over into openclaw gateway probe, suggesting nodes.list can still wedge or starve gateway RPC handling.

Code Example

--- attempt 1 ---
exit=1 duration=13.02s
STDERR:
nodes list failed: Error: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: ~/.openclaw/openclaw.json
Bind: auto

--- attempt 2 ---
exit=1 duration=12.36s
STDERR:
nodes list failed: Error: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: ~/.openclaw/openclaw.json
Bind: auto

--- attempt 3 ---
exit=0 duration=11.14s
STDOUT:
Pending: 0 · Paired: 4

Paired
┌──────────┬───────────────┬──────────────────┬──────────────┐
NodeIDIPLast Connect├──────────┼───────────────┼──────────────────┼──────────────┤
<redacted><redacted><private-lan-ip> │ 1h ago       │
<redacted><redacted> │                  │ 1h ago       │
<redacted><redacted><private-lan-ip> │ 1h ago       │
<redacted><redacted><private-lan-ip> │ 1h ago       │
└──────────┴───────────────┴──────────────────┴──────────────┘

---

attempt=1 exit=1
nodes list failed: Error: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: ~/.openclaw/openclaw.json
Bind: auto
--- probe after failed nodes.list ---
Gateway Status
Reachable: no
Capability: unknown
Probe budget: 3000ms

Discovery (this machine)
Found 0 gateways via Bonjour (local.)
Tip: if the gateway is remote, mDNS won’t cross networks; use Wide-Area Bonjour (split DNS) or SSH tunnels.

Targets
Local loopback ws://127.0.0.1:18789
  Connect: failed - timeout · Capability: unknown

---

Gateway Status
Reachable: no
Capability: unknown
Probe budget: 3000ms

Targets
Local loopback ws://127.0.0.1:18789
  Connect: failed - timeout · Capability: unknown

--- nodes list after cooldown ---
exit 1
nodes list failed: Error: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: ~/.openclaw/openclaw.json
Bind: auto
RAW_BUFFERClick to expand / collapse

Bug type

Behavior/performance bug

Summary

openclaw nodes list intermittently times out against a healthy-looking local loopback gateway on 2026.4.25, and in some failure windows the timeout also spills over into openclaw gateway probe, suggesting nodes.list can still wedge or starve gateway RPC handling.

Steps to reproduce

Environment:

  • OpenClaw 2026.4.25 (aa36ee6)
  • Linux 6.17.0-22-generic x64
  • Node.js v25.8.2
  • Gateway target: ws://127.0.0.1:18789
  • Source: local loopback
  • Config: local default OpenClaw config
  • Paired nodes: 4

Observed by operator first:

  • openclaw nodes list failed with the same timeout on about a dozen sequential attempts.

Local repro from the same installation:

  1. Run openclaw nodes list repeatedly.
  2. Observe intermittent 10s gateway timeouts.
  3. In some failure windows, immediately run openclaw gateway probe.

Actual behavior

Two immediate repro attempts timed out, then a third succeeded only after ~11s:

--- attempt 1 ---
exit=1 duration=13.02s
STDERR:
nodes list failed: Error: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: ~/.openclaw/openclaw.json
Bind: auto

--- attempt 2 ---
exit=1 duration=12.36s
STDERR:
nodes list failed: Error: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: ~/.openclaw/openclaw.json
Bind: auto

--- attempt 3 ---
exit=0 duration=11.14s
STDOUT:
Pending: 0 · Paired: 4

Paired
┌──────────┬───────────────┬──────────────────┬──────────────┐
│ Node     │ ID            │ IP               │ Last Connect │
├──────────┼───────────────┼──────────────────┼──────────────┤
│ <redacted> │ <redacted> │ <private-lan-ip> │ 1h ago       │
│ <redacted> │ <redacted> │                  │ 1h ago       │
│ <redacted> │ <redacted> │ <private-lan-ip> │ 1h ago       │
│ <redacted> │ <redacted> │ <private-lan-ip> │ 1h ago       │
└──────────┴───────────────┴──────────────────┴──────────────┘

A separate controlled run showed the failure can affect immediate follow-up RPC probes too:

attempt=1 exit=1
nodes list failed: Error: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: ~/.openclaw/openclaw.json
Bind: auto
--- probe after failed nodes.list ---
Gateway Status
Reachable: no
Capability: unknown
Probe budget: 3000ms

Discovery (this machine)
Found 0 gateways via Bonjour (local.)
Tip: if the gateway is remote, mDNS won’t cross networks; use Wide-Area Bonjour (split DNS) or SSH tunnels.

Targets
Local loopback ws://127.0.0.1:18789
  Connect: failed - timeout · Capability: unknown

Even after a 12s cooldown in that failure window:

Gateway Status
Reachable: no
Capability: unknown
Probe budget: 3000ms

Targets
Local loopback ws://127.0.0.1:18789
  Connect: failed - timeout · Capability: unknown

--- nodes list after cooldown ---
exit 1
nodes list failed: Error: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: ~/.openclaw/openclaw.json
Bind: auto

Expected behavior

  • openclaw nodes list should return promptly and reliably when the gateway is otherwise healthy.
  • If a node is slow/offline, the slowdown should be isolated to node enumeration rather than degrading loopback RPC reachability.
  • A failed nodes.list should not make an immediate openclaw gateway probe timeout against the same loopback gateway.

Why this may be a regression / related line

This looks related to earlier closed issues around node.list blocking or handshake failures:

  • #55625
  • #64926
  • #45918

Those appear closed, but the behavior above still reproduces on 2026.4.25, so either the underlying problem is not fully fixed or there is a new variant/regression in the same path.

Impact

  • Node management becomes unreliable from the CLI.
  • In failure windows, gateway RPC appears partially wedged even for simple probe traffic.
  • The problem is frequent enough to be user-visible and repeatable in ordinary use.

Additional information

openclaw status during the session still reported the gateway as running; the failure was specifically in loopback RPC responsiveness during/after nodes.list attempts.

extent analysis

TL;DR

Investigate and potentially adjust the timeout settings for openclaw nodes list and openclaw gateway probe to mitigate intermittent gateway timeouts.

Guidance

  • Review the configuration files (e.g., ~/.openclaw/openclaw.json) to check for any timeout settings that could be contributing to the issue.
  • Consider increasing the timeout value for openclaw nodes list to see if it reduces the frequency of timeouts.
  • Investigate the relationship between nodes.list and gateway probe to understand why a failed nodes.list attempt can cause subsequent gateway probe timeouts.
  • Check the system resources and network connectivity to ensure they are not contributing to the timeouts.

Example

No code snippet is provided as the issue does not specify a particular code change.

Notes

The issue may be related to earlier closed issues (#55625, #64926, #45918), but the exact cause is unclear. Further investigation is needed to determine the root cause of the problem.

Recommendation

Apply a workaround by adjusting the timeout settings for openclaw nodes list and openclaw gateway probe to mitigate the intermittent timeouts, as the root cause of the issue is not immediately clear.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

  • openclaw nodes list should return promptly and reliably when the gateway is otherwise healthy.
  • If a node is slow/offline, the slowdown should be isolated to node enumeration rather than degrading loopback RPC reachability.
  • A failed nodes.list should not make an immediate openclaw gateway probe timeout against the same loopback gateway.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: `openclaw nodes list` intermittently times out on local loopback and can wedge follow-up gateway probe (2026.4.25) [1 comments, 2 participants]