openclaw - 💡(How to fix) Fix WhatsApp: message tool send fails with 'No active WhatsApp Web listener' while channel is connected (duplicate of #49345) [2 comments, 3 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#49353Fetched 2026-04-08 00:56:05
View on GitHub
Comments
2
Participants
3
Timeline
4
Reactions
0
Author
Timeline (top)
commented ×2closed ×1locked ×1

Same root cause as #49345 — the message tool's proactive send path and the auto-reply path maintain independent listener registries. Inbound + replies work fine, but message tool sends always fail with:

Error: No active WhatsApp Web listener (account: default)

While openclaw channels status --probe shows: enabled, configured, linked, running, connected

Error Message

Error: No active WhatsApp Web listener (account: default)

Root Cause

Same root cause as #49345 — the message tool's proactive send path and the auto-reply path maintain independent listener registries. Inbound + replies work fine, but message tool sends always fail with:

Code Example

Error: No active WhatsApp Web listener (account: default)
RAW_BUFFERClick to expand / collapse

Bug Report

Version: 2026.3.13 (61d171a) OS: macOS 15.6 (arm64)

Re-filing from correct account (previously #49336, filed from wrong account).

Description

Same root cause as #49345 — the message tool's proactive send path and the auto-reply path maintain independent listener registries. Inbound + replies work fine, but message tool sends always fail with:

Error: No active WhatsApp Web listener (account: default)

While openclaw channels status --probe shows: enabled, configured, linked, running, connected

Impact

  • Cannot send proactive WhatsApp messages (grade reports, reminders, etc.)
  • Cron jobs that send WhatsApp messages also fail
  • Regression from 2026.3.12 (last successful send: March 13)

See #49345 for full analysis.

extent analysis

Fix Plan

To resolve the issue of the message tool's proactive send path failing with "No active WhatsApp Web listener," we need to synchronize the listener registries between the proactive send path and the auto-reply path.

Steps to Fix

  • Merge the listener registries into a single, shared registry.
  • Update the message tool to use the shared registry for sending proactive messages.
  • Ensure the shared registry is properly initialized and updated when the WhatsApp Web listener status changes.

Example Code

# Create a shared registry
shared_registry = {}

# Initialize the shared registry with the WhatsApp Web listener status
def init_shared_registry():
    shared_registry['whatsapp_web_listener'] = False

# Update the shared registry when the WhatsApp Web listener status changes
def update_shared_registry(status):
    shared_registry['whatsapp_web_listener'] = status

# Use the shared registry in the message tool
def send_proactive_message(message):
    if shared_registry['whatsapp_web_listener']:
        # Send the message using the WhatsApp Web listener
        pass
    else:
        # Handle the case where the WhatsApp Web listener is not active
        pass

Verification

To verify the fix, run the following tests:

  • Send a proactive WhatsApp message using the message tool.
  • Check the WhatsApp Web listener status using openclaw channels status --probe.
  • Verify that the message is sent successfully and the listener status is updated correctly.

Extra Tips

  • Ensure that the shared registry is properly synchronized across all components that use it.
  • Consider adding logging and error handling to the shared registry updates to detect and handle any issues that may arise.

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…

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 WhatsApp: message tool send fails with 'No active WhatsApp Web listener' while channel is connected (duplicate of #49345) [2 comments, 3 participants]