openclaw - 💡(How to fix) Fix [Bug] openclaw-weixin login hangs before QR code appears on OpenClaw 2026.4.5 [1 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#62120Fetched 2026-04-08 03:08:46
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

On OpenClaw 2026.4.5 (3e72c03), Weixin plugin install/login gets stuck before the QR code is shown.

The plugin install flow prints:

  • 插件就绪,开始首次连接...

But the actual host command:

  • openclaw channels login --channel openclaw-weixin --verbose

hangs before the Weixin plugin login logic starts, so no QR code is displayed.

Root Cause

On OpenClaw 2026.4.5 (3e72c03), Weixin plugin install/login gets stuck before the QR code is shown.

The plugin install flow prints:

  • 插件就绪,开始首次连接...

But the actual host command:

  • openclaw channels login --channel openclaw-weixin --verbose

hangs before the Weixin plugin login logic starts, so no QR code is displayed.

Code Example

openclaw gateway restart

---

npx -y @tencent-weixin/openclaw-weixin-cli@latest install

---

[openclaw-weixin] 插件就绪,开始首次连接...

---

openclaw channels login --channel openclaw-weixin --verbose

---

Config valid: ~/.openclaw/openclaw.json
RAW_BUFFERClick to expand / collapse

Summary

On OpenClaw 2026.4.5 (3e72c03), Weixin plugin install/login gets stuck before the QR code is shown.

The plugin install flow prints:

  • 插件就绪,开始首次连接...

But the actual host command:

  • openclaw channels login --channel openclaw-weixin --verbose

hangs before the Weixin plugin login logic starts, so no QR code is displayed.

Environment

  • OpenClaw host version: 2026.4.5 (3e72c03)
  • Platform: macOS
  • Plugin: @tencent-weixin/openclaw-weixin
  • Plugin version: 2.1.6

Reproduction

  1. Restart gateway:

    openclaw gateway restart
  2. Install Weixin plugin:

    npx -y @tencent-weixin/openclaw-weixin-cli@latest install
  3. Observe output stopping at:

    [openclaw-weixin] 插件就绪,开始首次连接...
  4. Run host login command directly:

    openclaw channels login --channel openclaw-weixin --verbose
  5. Command hangs and no QR code appears.

Expected behavior

The command should enter Weixin login flow and print the QR code in terminal, or at least print:

  • 正在启动微信扫码登录...

Actual behavior

The command hangs before the Weixin plugin login flow begins.

What I verified

  • openclaw config validate returns:

    Config valid: ~/.openclaw/openclaw.json
  • The Weixin plugin is installed locally and enabled.

  • The config itself is valid on the installed host.

  • The hang appears to happen in the host CLI pre-action / config-guard / doctor-preflight path before plugin auth login runs.

Why this looks like a host-side regression

From the installed 2026.4.5 host flow, channels login first goes through CLI preaction and config readiness checks before entering channel plugin login.

In my case, the command never reaches the Weixin plugin's auth.login output, which suggests the hang is in the host startup preflight, not in the Weixin QR login implementation itself.

Related issues

These may be related host regressions in the same version range:

  • #62095 Post-upgrade stability regressions — v2026.4.5 (3e72c03)
  • #62076 openclaw sessions --json hangs on 2026.4.5
  • #61283 openclaw plugins doctor hangs indefinitely
  • #59797 openclaw-weixin Failed to start login
  • #52885 openclaw-weixin incompatibility with newer OpenClaw versions

Additional note

This reproduces even though config validation succeeds, so this seems different from a normal invalid-config failure.

extent analysis

TL;DR

The issue can likely be resolved by checking the host-side configuration and preflight checks, potentially related to a regression in version 2026.4.5 (3e72c03).

Guidance

  1. Verify host configuration: Although openclaw config validate returns a valid configuration, double-check the ~/.openclaw/openclaw.json file for any inconsistencies or missing values that might cause the hang during preflight checks.
  2. Check for known regressions: Review the related issues (#62095, #62076, #61283, #59797, #52885) to see if any of the discussed fixes or workarounds apply to this specific problem, especially those related to version 2026.4.5 (3e72c03).
  3. Isolate the issue: Attempt to run the openclaw channels login command with a different plugin or channel to determine if the issue is specific to the Weixin plugin or a more general problem with the host's login flow.
  4. Debugging: Increase the verbosity of the openclaw command by adding more verbose flags (if available) to gather more detailed output that might indicate where the hang occurs.
  5. Consider a version rollback: If the issue is confirmed to be a regression in 2026.4.5 (3e72c03), consider rolling back to a previous version of OpenClaw where the login flow was working correctly, as a temporary workaround.

Notes

The exact cause of the hang before the QR code is shown is not immediately clear without more detailed debugging information. The steps provided are aimed at gathering more information and potentially isolating the issue to either the host configuration, a specific plugin, or a known regression.

Recommendation

Apply a workaround by checking the host configuration and potentially rolling back to a previous version of OpenClaw, as the issue seems to be related to a regression in the current version.

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

The command should enter Weixin login flow and print the QR code in terminal, or at least print:

  • 正在启动微信扫码登录...

Still need to ship something?

×6

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

Back to top recommendations

TRENDING