Skip to content

[Bug]: [Bug]: WebChat dashboard freezes during tool calls, WebSocket disconnects with no auto-reconnect #86811

@18855472958-wq

Description

@18855472958-wq

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbug:crashProcess/app exits unexpectedly or hangs

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions