openclaw - 💡(How to fix) Fix [Bug]: WhatsApp 408 timeout loop, `channels login` hangs indefinitely, and agent reply failure on v2026.4.29 (Windows) [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#76102Fetched 2026-05-03 04:42:20
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
2
Author
Timeline (top)
labeled ×2closed ×1commented ×1unsubscribed ×1

Upgrading from 2026.4.23 to 2026.4.29 on Windows causes three related failures:

  1. WhatsApp WebSocket drops with 408 Request Time-out every ~60 seconds, killing connections before the agent can deliver replies
  2. openclaw channels login --channel whatsapp hangs indefinitely after loading plugins — never displays QR code, cannot be interrupted with Ctrl+C
  3. Agent replies never delivered — inbound messages are received and ack'd, but the agent response is lost because the WhatsApp connection drops before delivery completes

Rolled back to 2026.4.23 where all three issues are absent.

Error Message

[gateway/channels/whatsapp] [default] starting provider (+47...) [gateway/channels/whatsapp] Listening for personal WhatsApp inbound messages.

~60 seconds later:

[web-reconnect] connection closed {status: 408, loggedOut: false, reconnectAttempts: 1, error: "status=408 Request Time-out Connection was lost"} [gateway/channels/whatsapp] WhatsApp Web connection closed (status 408). Retry 1/12 in 2.33s…

Reconnects, then drops again within 60 seconds

OpenClaw version

2026.4.29 (a448042)

Operating system

Windows 11 Home (10.0.26200, x64)

Install method

npm install -g [email protected]

Model

openai/gpt-5

Provider / routing chain

openclaw -> openai (API key, direct)

Additional provider/model setup details

Main agent: openai/gpt-5 with openai/gpt-4o fallback. Cron agent: openai/gpt-4o-mini with anthropic/claude-haiku-4-5 fallback. Gateway: local loopback (127.0.0.1:18789), auth: token, Windows Scheduled Task. WhatsApp: single account, dmPolicy: allowlist, dedicated number. Config file unchanged between versions (6249 bytes verified before and after upgrade). Note: The bugs are channel/gateway-level — not model-dependent.

Logs, screenshots, and evidence

Root Cause

  1. WhatsApp WebSocket drops with 408 Request Time-out every ~60 seconds, killing connections before the agent can deliver replies
  2. openclaw channels login --channel whatsapp hangs indefinitely after loading plugins — never displays QR code, cannot be interrupted with Ctrl+C
  3. Agent replies never delivered — inbound messages are received and ack'd, but the agent response is lost because the WhatsApp connection drops before delivery completes

Fix Action

Fix / Workaround

Affected: Windows users running WhatsApp channel on 2026.4.29 Severity: Blocks workflow — WhatsApp channel completely non-functional (messages received but never answered) Frequency: Always — every WhatsApp connection drops within ~60 seconds, reproduced across multiple gateway restarts and credential resets over 3 hours of testing Consequence: Bot appears unresponsive to all WhatsApp users. Agent replies are never delivered. channels login cannot re-pair after credential reset (hangs indefinitely without QR code). Only workaround is full rollback to 2026.4.23.

Code Example

[gateway/channels/whatsapp] [default] starting provider (+47...)
[gateway/channels/whatsapp] Listening for personal WhatsApp inbound messages.
# ~60 seconds later:
[web-reconnect] connection closed {status: 408, loggedOut: false, reconnectAttempts: 1, error: "status=408 Request Time-out Connection was lost"}
[gateway/channels/whatsapp] WhatsApp Web connection closed (status 408). Retry 1/12 in 2.33s…
# Reconnects, then drops again within 60 seconds


### OpenClaw version

2026.4.29 (a448042)

### Operating system

Windows 11 Home (10.0.26200, x64)

### Install method

`npm install -g [email protected]`

### Model

openai/gpt-5

### Provider / routing chain

openclaw -> openai (API key, direct)

### Additional provider/model setup details

Main agent: openai/gpt-5 with openai/gpt-4o fallback.
Cron agent: openai/gpt-4o-mini with anthropic/claude-haiku-4-5 fallback.
Gateway: local loopback (127.0.0.1:18789), auth: token, Windows Scheduled Task.
WhatsApp: single account, dmPolicy: allowlist, dedicated number.
Config file unchanged between versions (6249 bytes verified before and after upgrade).
Note: The bugs are channel/gateway-level — not model-dependent.

### Logs, screenshots, and evidence
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Upgrading from 2026.4.23 to 2026.4.29 on Windows causes three related failures:

  1. WhatsApp WebSocket drops with 408 Request Time-out every ~60 seconds, killing connections before the agent can deliver replies
  2. openclaw channels login --channel whatsapp hangs indefinitely after loading plugins — never displays QR code, cannot be interrupted with Ctrl+C
  3. Agent replies never delivered — inbound messages are received and ack'd, but the agent response is lost because the WhatsApp connection drops before delivery completes

Rolled back to 2026.4.23 where all three issues are absent.

Steps to reproduce

  1. Running stable OpenClaw 2026.4.23 on Windows with WhatsApp channel working normally
  2. Gateway runs as Windows Scheduled Task
  3. WhatsApp linked to dedicated number (+47...) with dmPolicy: allowlist

Expected behavior

  • WhatsApp connection remains stable for extended periods (as it does on 2026.4.23)
  • channels login displays QR code for pairing within 30 seconds
  • Agent replies are delivered reliably after receiving inbound messages
  • Bonjour failures do not impact WhatsApp or agent functionality

Actual behavior

WhatsApp 408 loop (from gateway log)

[gateway/channels/whatsapp] [default] starting provider (+47...)
[gateway/channels/whatsapp] Listening for personal WhatsApp inbound messages.
# ~60 seconds later:
[web-reconnect] connection closed {status: 408, loggedOut: false, reconnectAttempts: 1, error: "status=408 Request Time-out Connection was lost"}
[gateway/channels/whatsapp] WhatsApp Web connection closed (status 408). Retry 1/12 in 2.33s…
# Reconnects, then drops again within 60 seconds


### OpenClaw version

2026.4.29 (a448042)

### Operating system

Windows 11 Home (10.0.26200, x64)

### Install method

`npm install -g [email protected]`

### Model

openai/gpt-5

### Provider / routing chain

openclaw -> openai (API key, direct)

### Additional provider/model setup details

Main agent: openai/gpt-5 with openai/gpt-4o fallback.
Cron agent: openai/gpt-4o-mini with anthropic/claude-haiku-4-5 fallback.
Gateway: local loopback (127.0.0.1:18789), auth: token, Windows Scheduled Task.
WhatsApp: single account, dmPolicy: allowlist, dedicated number.
Config file unchanged between versions (6249 bytes verified before and after upgrade).
Note: The bugs are channel/gateway-level — not model-dependent.

### Logs, screenshots, and evidence

```shell
Key log lines from C:\tmp\openclaw\openclaw-2026-05-02.log (redacted):

**Gateway startup and WhatsApp connect:**
[gateway] http server listening (3 plugins: active-memory, memory-core, whatsapp; 21.2s)
[gateway/channels/whatsapp] [default] starting provider (+47...)
[gateway/channels/whatsapp] Listening for personal WhatsApp inbound messages.

**Message received but reply never delivered:**
[web-inbound] inbound message {from: "+47...", body: "Hei. Er du der?", timestamp: 1777716752000}
[web-auto-reply] sending ack reaction {emoji: "👍"}
[gateway/channels/whatsapp/inbound] Inbound message +47... -> +47... (direct, 78 chars)
# No "auto-reply sent" ever appears

**408 timeout ~60s after connect:**
[web-reconnect] connection closed {status: 408, loggedOut: false, reconnectAttempts: 1, error: "status=408 Request Time-out Connection was lost"}
[gateway/channels/whatsapp] WhatsApp Web connection closed (status 408). Retry 1/12 in 2.48s…

**`channels login` hang (reproduced 3 times):**
11:55:01 [plugins] loaded 117 plugin(s) (72 attempted) in 65265.2ms
# No further output. Hangs indefinitely. Ctrl+C ineffective.

**Bonjour failure:**
[plugins] bonjour: disabling advertiser after 3 failed restarts (service stuck in unannounced for 20026ms (gateway fqdn=Lenono_Reserve (OpenClaw)._openclaw-gw._tcp.local.))

**Config-triggered self-restart on first boot after upgrade:**
[gateway/reload] config change requires gateway restart (plugins.entries.active-memory.config.model)

**After rollback to 4.23 — immediately stable:**
openclaw channels status --probe → WhatsApp default: enabled, configured, linked, running, connected

Impact and severity

Affected: Windows users running WhatsApp channel on 2026.4.29 Severity: Blocks workflow — WhatsApp channel completely non-functional (messages received but never answered) Frequency: Always — every WhatsApp connection drops within ~60 seconds, reproduced across multiple gateway restarts and credential resets over 3 hours of testing Consequence: Bot appears unresponsive to all WhatsApp users. Agent replies are never delivered. channels login cannot re-pair after credential reset (hangs indefinitely without QR code). Only workaround is full rollback to 2026.4.23.

Additional information

Last known good version: 2026.4.23 (a979721) First known bad version: 2026.4.29 (a448042) Versions 2026.4.25 and 2026.4.27 also had WhatsApp issues on this machine (stuck session, event loop blocked at 91% CPU) — both rolled back to 2026.4.23.

Root cause issues already filed:

  • #75804 — qrcode missing from plugin-runtime-deps (explains why channels login hangs silently on Windows — QR render fails without error output to terminal)
  • #75610 — severe event loop block, API timeout, stuck session & Bonjour mDNS loop

Related issues with overlapping symptoms:

  • #75717 — TUI hangs on 4.29 (WebSocket handshake timeout, 50-92% CPU)
  • #75430 — TUI startup hangs at 100% CPU due to plugin reload loop (4.29)
  • #72355 — Bonjour/mDNS hardcoded hostname causes crash loop

Windows-specific notes:

  • channels login fails silently — no error output, no QR code, Ctrl+C ineffective (must close PowerShell window). Linux users see the qrcode error in terminal; Windows users see nothing.
  • Hostname contains underscore (LENONO_RESERVE) which may contribute to Bonjour mDNS failures.
  • Gateway runs as Windows Scheduled Task via gateway-start.cmd wrapper.

extent analysis

TL;DR

The most likely fix for the WhatsApp connection issues on Windows with OpenClaw version 2026.4.29 is to rollback to version 2026.4.23, as the problems are not present in this version.

Guidance

  1. Verify the issue: Confirm that the WhatsApp connection drops every 60 seconds and that channels login hangs indefinitely on Windows with OpenClaw version 2026.4.29.
  2. Check for related issues: Review the related issues (#75804, #75610, #75717, #75430, #72355) to see if any of the fixes or workarounds apply to this specific problem.
  3. Test with a different version: If possible, test with versions 2026.4.25 and 2026.4.27 to see if the issues are specific to version 2026.4.29.
  4. Consider hostname and Bonjour configuration: Investigate if the hostname containing an underscore (LENONO_RESERVE) contributes to the Bonjour/mDNS failures and adjust the configuration if necessary.

Example

No specific code snippet can be provided without more information about the OpenClaw configuration and plugins.

Notes

The root cause of the issue is likely related to the changes introduced in version 2026.4.29, and rolling back to version 2026.4.23 is the most straightforward solution. However, this may not be a long-term fix, and further investigation into the related issues is necessary.

Recommendation

Apply the workaround by rolling back to version 2026.4.23, as it is the last known good version and the issues are not present in this version. This will allow for temporary relief while the root cause is being investigated and fixed.

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

  • WhatsApp connection remains stable for extended periods (as it does on 2026.4.23)
  • channels login displays QR code for pairing within 30 seconds
  • Agent replies are delivered reliably after receiving inbound messages
  • Bonjour failures do not impact WhatsApp or agent functionality

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]: WhatsApp 408 timeout loop, `channels login` hangs indefinitely, and agent reply failure on v2026.4.29 (Windows) [1 comments, 2 participants]