<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Networking on ErrorVault — Developer Error Code Dictionary</title><link>https://errorvault.dev/tags/networking/</link><description>Recent content in Networking on ErrorVault — Developer Error Code Dictionary</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 15 Apr 2026 10:24:49 +0800</lastBuildDate><atom:link href="https://errorvault.dev/tags/networking/feed.xml" rel="self" type="application/rss+xml"/><item><title>Fix clw-agent-disconnected: Resolve OpenClaw agent unexpected disconnection errors</title><link>https://errorvault.dev/openclaw/openclaw-clw-agent-disconnected-agent-disconnect/</link><pubDate>Wed, 15 Apr 2026 10:24:49 +0800</pubDate><guid>https://errorvault.dev/openclaw/openclaw-clw-agent-disconnected-agent-disconnect/</guid><description>&lt;h2 id="1-symptoms">1. Symptoms&lt;/h2>
&lt;p>The &lt;code>clw-agent-disconnected&lt;/code> error in OpenClaw manifests during agent operations, typically in distributed environments where the Claw Language Worker (CLW) agent handles task execution, data syncing, or remote command dispatching. Users encounter this when the agent loses connectivity to the OpenClaw controller or backend services.&lt;/p>
&lt;p>Common symptoms include:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Error: clw-agent-disconnected (code: AGT-001)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Agent ID: clw-uuid-1234-5678 lost connection at 2024-10-12T14:30:00Z
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Last heartbeat: 2024-10-12T14:29:45Z
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Reconnect attempts: 5/10 failed
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Task queue stalled: 127 pending jobs
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>&lt;strong>Sudden task failures&lt;/strong>: Running &lt;code>clw exec --remote&lt;/code> or &lt;code>clw sync&lt;/code> commands halt with disconnection logs.&lt;/li>
&lt;li>&lt;strong>Agent logs flood&lt;/strong>: Check &lt;code>/var/log/clw-agent.log&lt;/code> or &lt;code>~/.clw/logs/agent.log&lt;/code> for repeated disconnect entries.&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>[ERROR] [2024-10-12 14:30:05] websocket: close 1006 (abnormal closure)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>[ERROR] [2024-10-12 14:30:06] Agent heartbeat timeout. Reconnecting...
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>[ERROR] [2024-10-12 14:30:11] clw-agent-disconnected: Max retries exceeded.
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>&lt;strong>Dashboard indicators&lt;/strong>: OpenClaw UI shows agent status as &amp;ldquo;Disconnected&amp;rdquo; with red icons.&lt;/li>
&lt;li>&lt;strong>Performance degradation&lt;/strong>: High latency in &lt;code>clw status&lt;/code> outputs, showing offline nodes.&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>$ clw status
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Controller: Online
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Agents:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> - clw-agent-01: Disconnected (clw-agent-disconnected)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> - clw-agent-02: Online
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This error disrupts CI/CD pipelines, remote debugging, and multi-node deployments, often occurring under load or after network flaps.&lt;/p></description></item></channel></rss>