openclaw - 💡(How to fix) Fix [Bug]: Double Messages [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#72356Fetched 2026-04-27 05:31:03
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×2closed ×1commented ×1cross-referenced ×1

Bug: Double Messages in WebChat (2026.4.24 Regression)

After updating from 2026.4.11 → 2026.4.24, both user messages AND agent responses appear as duplicates in webchat. Every message is sent 2-3x. Discord/Telegram work fine. Two separate Macs both affected after the update.

Version: 2026.4.24 Channel: webchat (Control UI) Troubleshooting: Hard refresh, session wipe, gateway restart — none fixed it

Root cause: Likely a regression in the webchat/websocket delivery pipeline in 2026.4.24.

Error Message

Gateway error log shows repeated "stuck session" warnings

Root Cause

Root cause: Likely a regression in the webchat/websocket delivery pipeline in 2026.4.24.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Bug: Double Messages in WebChat (2026.4.24 Regression)

After updating from 2026.4.11 → 2026.4.24, both user messages AND agent responses appear as duplicates in webchat. Every message is sent 2-3x. Discord/Telegram work fine. Two separate Macs both affected after the update.

Version: 2026.4.24 Channel: webchat (Control UI) Troubleshooting: Hard refresh, session wipe, gateway restart — none fixed it

Root cause: Likely a regression in the webchat/websocket delivery pipeline in 2026.4.24.

Steps to reproduce

Reproduction Steps:

Update OpenClaw from 2026.4.11 to 2026.4.24 Open the Control UI webchat at http://localhost:18789 Send any message to the agent Observe: the same message appears TWICE in the chat (one labeled "openclaw-control-ui", one labeled with your name) The agent's responses are ALSO delivered 2-3 times each Expected: Each message sent/received once Actual: Every message duplicated

Expected behavior

Expected Result:

In OpenClaw 2026.4.11 (the prior version), each message was delivered exactly ONCE — no duplicates. After updating to 2026.4.24, messages began arriving 2-3 times instead of once.

Known-good version: 2026.4.1

Actual behavior

Observed Result:

After updating to 2026.4.24, every message in webchat appears as duplicates:

User messages arrive TWICE — one labeled "openclaw-control-ui", one labeled with the user's name Agent responses are delivered 2-3 times each to the Control UI Session log file contains duplicate entries 2ms apart, confirming doubled processing at the gateway level Evidence:

Session log shows duplicate message entries (same timestamp, same content) Gateway error log shows repeated "stuck session" warnings User reports seeing 2-3 copies of every response in the webchat UI

OpenClaw version

2026.4.24

Operating system

macOS 26.3 (Mac mini)

Install method

Homebrew — brew install openclaw

Model

MiniMax-M2.7

Provider / routing chain

Webchat → Gateway (localhost:18789) → MiniMax API (minimax/MiniMax-M2.7) Request path: Control UI (browser) → WebSocket → OpenClaw Gateway → Agent (MiniMax) → Response → Gateway → WebSocket → Control UI

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

<img width="1331" height="858" alt="Image" src="https://github.com/user-attachments/assets/f89fd072-5285-4280-b720-1b11174b8205" />

extent analysis

TL;DR

Downgrade to version 2026.4.11 to potentially resolve the duplicate message issue in webchat.

Guidance

  • Verify the issue is specific to the webchat channel by testing other channels like Discord or Telegram, which are reported to work fine.
  • Check the session log file for duplicate entries to confirm the issue is related to the gateway level processing.
  • Review the gateway error log for "stuck session" warnings, which may indicate a problem with the WebSocket connection or message handling.
  • Consider testing with a different version, such as 2026.4.1, which is mentioned as a known-good version.

Example

No code snippet is provided as the issue seems related to a version regression rather than a specific code problem.

Notes

The issue appears to be specific to the webchat channel and version 2026.4.24. Downgrading to a previous version may resolve the issue, but it's essential to verify the root cause to ensure a proper fix.

Recommendation

Apply workaround: Downgrade to version 2026.4.11, as it is reported to work correctly and the issue seems to be a regression introduced in version 2026.4.24.

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

Expected Result:

In OpenClaw 2026.4.11 (the prior version), each message was delivered exactly ONCE — no duplicates. After updating to 2026.4.24, messages began arriving 2-3 times instead of once.

Known-good version: 2026.4.1

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING