openclaw - 💡(How to fix) Fix control-ui: WebSocket reconnects but message list becomes stale — requires manual refresh [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#81284Fetched 2026-05-14 03:33:42
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
2
Timeline (top)
labeled ×2closed ×1commented ×1

Fix Action

Workaround

Ctrl+Shift+R hard refresh.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Describe the bug

When the WebSocket connection drops and reconnects, the control UI successfully re-establishes the connection but the message list does not refresh. New messages stop appearing until the user manually refreshes the page.

To Reproduce

  1. Open control UI webchat
  2. Gateway restarts (e.g. systemd restart, crash recovery, or manual stop/start)
  3. WebSocket disconnects with code=1001, then reconnects within seconds
  4. New messages arrive at gateway but do not appear in the UI
  5. Must Ctrl+Shift+R to see new messages

Expected behavior

After WebSocket reconnects, the UI should re-fetch chat.history and resume live message display automatically.

Evidence (from logs)

Steps to reproduce

12:09:25 网络聊天已断开 代码=1001 conn=64960d63 12:09:25 网络聊天已连接 conn=872efbe6 (重新连接 OK) 12:09:26 健康 ✓, commands.list ✓, models.list ✓, chat.history ✓, sessions.list ✓

Expected behavior

All re-initialization calls succeed, but the React state for the message list remains stale.

Environment

  • OpenClaw: 2026.5.7 (eeef486)
  • Client: openclaw-control-ui webchat v2026.5.7
  • OS: WSL2 Ubuntu (Linux 6.6.114.1-microsoft-standard-WSL2)
  • Browser: (大哥用的浏览器)

Workaround

Ctrl+Shift+R hard refresh.

Actual behavior

All re-initialization calls succeed, but the React state for the message list remains stale.

Environment

  • OpenClaw: 2026.5.7 (eeef486)
  • Client: openclaw-control-ui webchat v2026.5.7
  • OS: WSL2 Ubuntu (Linux 6.6.114.1-microsoft-standard-WSL2)
  • Browser: (大哥用的浏览器)

Workaround

Ctrl+Shift+R hard refresh.

OpenClaw version

2026.5.7

Operating system

Windows11

Install method

No response

Model

deepseek

Provider / routing chain

openclaw

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

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

All re-initialization calls succeed, but the React state for the message list remains stale.

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 control-ui: WebSocket reconnects but message list becomes stale — requires manual refresh [1 comments, 2 participants]