<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Grpc on ErrorVault — Developer Error Code Dictionary</title><link>https://errorvault.dev/tags/grpc/</link><description>Recent content in Grpc on ErrorVault — Developer Error Code Dictionary</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 12 Apr 2026 14:21:20 +0800</lastBuildDate><atom:link href="https://errorvault.dev/tags/grpc/feed.xml" rel="self" type="application/rss+xml"/><item><title>Fix clw-llm-disconnected: OpenClaw LLM backend connection unexpectedly drops during inference</title><link>https://errorvault.dev/openclaw/openclaw-clw-llm-disconnected-llm-connection-drop/</link><pubDate>Sun, 12 Apr 2026 14:21:20 +0800</pubDate><guid>https://errorvault.dev/openclaw/openclaw-clw-llm-disconnected-llm-connection-drop/</guid><description>&lt;h2 id="1-symptoms">1. Symptoms&lt;/h2>
&lt;p>The &lt;code>clw-llm-disconnected&lt;/code> error in OpenClaw manifests during LLM inference or chat completion calls. Key indicators include:&lt;/p>
&lt;ul>
&lt;li>Runtime exception or return code &lt;code>-CLW_ERR_LLM_DISCONNECTED&lt;/code> (error code &lt;code>0xCLW_LLM_DC&lt;/code>).&lt;/li>
&lt;li>Log entries like: &lt;code>[ERROR] clw_llm_client: Connection to LLM backend at grpc://localhost:50051 lost. Error: clw-llm-disconnected&lt;/code>.&lt;/li>
&lt;li>Failed API calls such as &lt;code>clw_llm_generate()&lt;/code> or &lt;code>clw_llm_chat()&lt;/code> returning &lt;code>CLW_STATUS_DISCONNECTED&lt;/code>.&lt;/li>
&lt;li>Intermittent failures: Works initially, then drops after 30-60 seconds of idle or high load.&lt;/li>
&lt;li>Client-side stack traces pointing to &lt;code>clw_llm_channel_state()&lt;/code> returning &lt;code>GRPC_CHANNEL_TRANSIENT_FAILURE&lt;/code>.&lt;/li>
&lt;li>No response from server pings via &lt;code>clw_llm_health_check()&lt;/code>.&lt;/li>
&lt;/ul>
&lt;p>This error blocks all downstream LLM operations until reconnection. In production, it causes 503-like failures in web services or CLI tools using OpenClaw&amp;rsquo;s C++ SDK.&lt;/p></description></item></channel></rss>