openclaw - 💡(How to fix) Fix [Bug]: openclaw-weixin personal account: assistant replies undelivered when session goes cold (context token stale)

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…

On OpenClaw 2026.5.6 (Windows), with openclaw-weixin channel using a personal WeChat account (ot_type=3), assistant replies to user messages stop being delivered once the conversation goes idle for a period of time.

  • In-session replies (user sends a message, AI responds within minutes) -> delivered correctly
  • Delayed replies (user sends a message, AI takes 30min+ to respond) -> sometimes not delivered
  • Out-of-session / proactive messages -> never delivered

The system reports delivery: pending or delivered: true, but the message never appears on WeChat.

Root Cause

On OpenClaw 2026.5.6 (Windows), with openclaw-weixin channel using a personal WeChat account (ot_type=3), assistant replies to user messages stop being delivered once the conversation goes idle for a period of time.

  • In-session replies (user sends a message, AI responds within minutes) -> delivered correctly
  • Delayed replies (user sends a message, AI takes 30min+ to respond) -> sometimes not delivered
  • Out-of-session / proactive messages -> never delivered

The system reports delivery: pending or delivered: true, but the message never appears on WeChat.

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Summary

On OpenClaw 2026.5.6 (Windows), with openclaw-weixin channel using a personal WeChat account (ot_type=3), assistant replies to user messages stop being delivered once the conversation goes idle for a period of time.

  • In-session replies (user sends a message, AI responds within minutes) -> delivered correctly
  • Delayed replies (user sends a message, AI takes 30min+ to respond) -> sometimes not delivered
  • Out-of-session / proactive messages -> never delivered

The system reports delivery: pending or delivered: true, but the message never appears on WeChat.

Environment

  • OpenClaw: 2026.5.6 (c97b9f7)
  • Node: v24.15.0
  • OS: Windows 10.0.26200 (x64)
  • Install: npm global
  • Gateway: local
  • Channel: openclaw-weixin (plugin: @tencent-weixin/openclaw-weixin)
  • Account type: Personal WeChat (bot_type=3)
  • Account ID: 3c947a6d5e9d-im-bot

Reproduction

  1. Start a conversation with the AI via openclaw-weixin (personal WeChat account)
  2. Exchange several messages normally ??all replies arrive
  3. Wait 30-60 minutes without sending any messages
  4. Have the AI attempt to send a message proactively (e.g., "ni hao" via sessions_send)
  5. Result: Gateway reports success, but the message never arrives on WeChat

CLI test result

openclaw message send --channel openclaw-weixin --target "o9cq80_..." --account "3c947a6d5e9d-im-bot" --message "test"

  • Works when conversation is active
  • Fails when cold: "weixin: cannot determine which account to use (2 accounts registered, none has an active session)"

Expected behavior

Assistant replies that use the same session/conversation context should be delivered to the user's WeChat regardless of whether the conversation is currently active. If context token expires, the system should refresh it automatically.

Related issues

  • #79753 (same symptom, still open)
  • #68805 (confirmed same symptom, closed as not reproducible after it mysteriously started working)
  • #78532 (deliverySucceeded=true when no adapter was invoked)

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

Assistant replies that use the same session/conversation context should be delivered to the user's WeChat regardless of whether the conversation is currently active. If context token expires, the system should refresh it automatically.

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]: openclaw-weixin personal account: assistant replies undelivered when session goes cold (context token stale)