-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
openclaw-weixin plugin v2.4.4 + OpenClaw 2026.6.1: Channel shows OFF / not configured, startAccount never called #91129
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
ISSUE REPORT: openclaw-weixin plugin 鈥?Gateway shows channel "OFF / not configured", startAccount never called
Environment
Symptoms
Plugin installs and loads successfully. Gateway logs show:
startAccount()is never called. No sign ofstartAccount entry,starting weixin webhook, ormonitorWeixinProvideranywhere in the logs. Only[compat]lines appear.QR code scan login succeeded. Token is saved to state:
openclaw status --deepshows:Agent routing binding is set:
Config
{ "channels": { "openclaw-weixin": { "baseUrl": "https://ilinkai.weixin.qq.com", "accounts": { "ad6e0a00b087-im-bot": { "enabled": true } } } }, "agents": { "defaults": { "model": { "primary": "anthropic/claude-opus-4-8", "fallbacks": ["anthropic/claude-sonnet-4-6"] } } } }Troubleshooting attempted
openclaw doctor --fix鈥?applied fixes, no changeopenclaw agents bind --bind "openclaw-weixin:ad6e0a00b087-im-bot"鈥?binding successful, still "not configured"OPENCLAW_STATE_DIRandOPENCLAW_CONFIGenv vars 鈥?no changeaccounts.defaultentry 鈥?no changegateway installfrom scratch 鈥?no change[compat]lines, nothing elsenpx @tencent-weixin/openclaw-weixin-cli installtried 鈥?same resultSuspected root cause
Likely related to known issues:
register()succeeds butgateway.startAccount()is never invokedchannelConfigsmetadata missing (the plugin dist/index.js does not export achannelConfigsfield)Expected behavior
After Gateway starts,
startAccount()should be called, launching themonitorWeixinProviderlong-poll loop. Logs should contain "starting weixin webhook".openclaw status --deepshould showopenclaw-weixin 鈹?ON 鈹?running.Relevant Gateway logs (startup section, DEBUG level)