openclaw - 💡(How to fix) Fix [Bug]: [Bug]: WebChat dashboard freezes during tool calls, WebSocket disconnects with no auto-reconnect [5 pull requests]

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…

WebChat dashboard becomes unresponsive after any tool call; WebSocket disconnects and does not auto-reconnect, requiring page refresh to see results.

Error Message

Dashboard becomes completely unresponsive. WebSocket connection drops (TIME_WAIT state observed on port 18789) and does not auto-reconnect. User must close and reopen dashboard to see results. Dashboard shows "网络聊天失败" (network chat failed) error.

Root Cause

WebChat dashboard becomes unresponsive after any tool call; WebSocket disconnects and does not auto-reconnect, requiring page refresh to see results.

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Bug type

Crash (process/app exits or hangs)

Beta release blocker

No

Summary

WebChat dashboard becomes unresponsive after any tool call; WebSocket disconnects and does not auto-reconnect, requiring page refresh to see results.

Steps to reproduce

  1. Open Control UI dashboard at http://127.0.0.1:18789/
  2. Send a message to the agent
  3. Agent responds and calls a tool (e.g., session_status, exec, gateway config.get)
  4. Dashboard freezes — no new messages appear
  5. Close dashboard tab and reopen — all messages appear (agent was responding all along)

Expected behavior

Dashboard should remain responsive during tool calls and display results as they arrive via WebSocket.

Actual behavior

Dashboard becomes completely unresponsive. WebSocket connection drops (TIME_WAIT state observed on port 18789) and does not auto-reconnect. User must close and reopen dashboard to see results. Dashboard shows "网络聊天失败" (network chat failed) error.

OpenClaw version

2026.5.22 (a374c3a)

Operating system

Windows 11

Install method

npm global

Model

qwen/qwen3.5-plus

Provider / routing chain

qwen (direct)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

Affected: All WebChat/Control UI users Severity: High (blocks workflow, dashboard unusable during tool calls) Frequency: Always (reproducible on every tool call) Consequence: Cannot see agent responses without refreshing page; workflow interrupted

Additional information

Last known good version: unknown (first observed on 2026.5.22) Gateway mode: local, bind: loopback, port: 18789 Issue persists across gateway restarts. Simple exec commands without tool calls work fine.

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

Dashboard should remain responsive during tool calls and display results as they arrive via WebSocket.

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]: [Bug]: WebChat dashboard freezes during tool calls, WebSocket disconnects with no auto-reconnect [5 pull requests]