Repository navigation
Description
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Description
When attempting to link a WhatsApp number using the native OpenClaw channel (openclaw channels login --channel whatsapp), the pairing process completes successfully (QR code scanned, terminal outputs ✅ Linked!). However, the bot does not receive any messages.
Inspecting the creds.json file reveals that the registered flag is persistently set to false. The openclaw-darr service logs show that the WebSockets transport is connected and heartbeat packets are exchanged, but messagesHandled: 0 and lastInboundAt: null.
This leads to a silent failure state where the bot appears connected but is completely muted.
Steps to reproduce
Ensure no previous session exists (rm -rf ~/.openclaw/credentials/whatsapp/default/).
Run openclaw channels login --channel whatsapp.
Scan the QR code using the WhatsApp app on the phone.
Terminal outputs ✅ Linked!.
Check the creds.json file in ~/.openclaw/credentials/whatsapp/default/.
See "registered": false.
Send a message to the bot's WhatsApp number. The message is never handled by the bot.
Expected behavior
The registered flag in creds.json should switch to true upon successful QR code pairing, and the bot should receive and handle incoming messages.
Actual behavior
The registered flag in creds.json should switch to true upon successful QR code pairing, and the bot should receive and handle incoming messages.
OpenClaw version
2026.6.9 & 2026.6.10 v22.22.2
Operating system
Ubuntu (Hostinger VPS)
Install method
No response
Model
gemini 3.1 pro
Provider / routing chain
hostinger
Additional provider/model setup details
@whiskeysockets/baileys updated to the latest available via npm update.
Restarted the openclaw gateway.
Removed session folders and re-paired multiple times.
Ensured firewall rules are not blocking WebSocket traffic.
Updated @whiskeysockets/baileys directly within the openclaw node_modules.
Executed openclaw doctor --fix which completed successfully but did not resolve the registration failure.
Verified that the number works properly on other WhatsApp Web instances (it does).
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
The account was previously used with Evolution API, but that instance was completely deleted prior to attempting the native OpenClaw pairing. The issue persists regardless of whether it's a Business (smba) or Personal (android) account type. The transport layer connects fine, but the application layer registration is rejected or fails to sa
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 26, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 26, 2026, 12:40 PM ET / 16:40 UTC.
Summary
Keep open: the report describes a current-release WhatsApp QR login state where OpenClaw can say linked while inbound delivery never starts, and current main still treats parseable persisted WhatsApp creds as linked without proving the completed app-layer registration state.
Reproducibility: no. high-confidence live reproduction was established in this read-only review. Source inspection does reproduce the risky state classification: current main and v2026.6.10 can treat parseable WhatsApp creds as linked even though the exact QR
registered:falsefailure still needs redacted logs or live proof.Ways to help us reproduce this
Next step
Manual WhatsApp auth/session review is needed because the issue needs live QR-pairing proof and a maintainer policy choice before any automated repair should rewrite credential-readiness behavior.
Review details
Best possible solution:
Verify the latest-release QR path with redacted live WhatsApp diagnostics, then tighten WhatsApp-owned auth readiness and recovery so incomplete persisted credentials are not reported as a healthy linked session.
Do we have a high-confidence way to reproduce the issue?
No high-confidence live reproduction was established in this read-only review. Source inspection does reproduce the risky state classification: current main and v2026.6.10 can treat parseable WhatsApp creds as linked even though the exact QR
registered:falsefailure still needs redacted logs or live proof.Is this the best way to solve the issue?
Unclear as a final implementation choice. The likely direction is a WhatsApp-owned readiness/recovery fix for incomplete credentials, but maintainers need live Baileys evidence before choosing whether to use richer credential-shape validation, cleanup, recovery, or diagnostics.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
registered:truea reliable QR-pairing success signal in the inspected QR helper, so a fix should not blindly gate QR readiness on that flag without live WhatsApp proof.Codex review notes: model internal, reasoning high; reviewed against 1cd6f81a46ae.
Label changes
Label justifications:
P1: The report affects a latest-release WhatsApp login flow that appears successful but leaves a real channel unable to receive messages.impact:message-loss: The reported user-visible failure is that inbound WhatsApp messages are never handled after linking.impact:session-state: The report centers on persisted WhatsApp credential/session state staying incomplete while OpenClaw reports the channel linked.impact:auth-provider: The affected surface is WhatsApp channel pairing, auth readiness, and saved WhatsApp Web credentials.Evidence reviewed
What I checked:
AGENTS.md:1, 1cd6f81a46ae)creds.jsonstaysregistered:false, heartbeat showsmessagesHandled:0andlastInboundAt:null, and no messages are handled.webAuthExistsreturns true afterJSON.parse(raw)succeeds; it does not inspectregistered,account,me,signalIdentities, or other completed-pairing fields before reporting linked auth. (extensions/whatsapp/src/auth-store.ts:107, 1cd6f81a46ae)waitForWhatsAppLoginResultrequires onlyreadWebAuthExistsForDecision(...).exists; because that helper is backed by parseable creds, an incomplete but parseable auth file can satisfy the success gate from source inspection. (extensions/whatsapp/src/connection-controller.ts:267, 1cd6f81a46ae)waitForWebLoginreturnsconnected:trueand the exact✅ Linked! WhatsApp is ready.message when the active login markslogin.connected, matching the reporter's observed terminal state. (extensions/whatsapp/src/login-qr.ts:547, 1cd6f81a46ae)extensions/whatsapp/src/auth-store.ts:107, aa69b12d0086)Likely related people:
extensions/whatsapp/src/connection-controller.ts,extensions/whatsapp/src/login.ts,extensions/whatsapp/src/login-qr.ts)extensions/whatsapp/src/connection-controller.ts,extensions/whatsapp/src/login.ts,extensions/whatsapp/src/login-qr.ts)extensions/, which is relevant routing context because any auth-readiness fix belongs in the WhatsApp plugin boundary rather than generic core unless a missing API is proven. (role: WhatsApp plugin boundary contributor; confidence: medium; commits: 16505718e827; files:extensions/whatsapp/src/auth-store.ts,extensions/whatsapp/src/login.ts,extensions/whatsapp/src/login-qr.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.openclaw-barnacle commentedon Jul 11, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
openclaw-barnacle commentedon Jul 19, 2026
Closing due to inactivity.
If this is still an issue, please retry on the latest OpenClaw release and share updated details.
If you are absolutely sure it still happens on the latest release, open a new issue with fresh steps to reproduce.