Skip to content

Bug: openclaw-weixin startAccount ???,?????????? session #93556

Description

@htkillermax-gif

??

?? ??
OpenClaw ?? 2026.4.2 (d74a122)
???? Windows 11 (22621) x64
?? @tencent-weixin/openclaw-weixin@2.1.8
Runtime Node v22.19.0

????

  1. ? ????????,clabot ????????
  2. ? ??? clabot ????(?????????)
  3. ? ???????? agent,? session ???????

????

Gateway ?????:
gateway/channels/openclaw-weixin [compat] Host OpenClaw 2026.4.2 >= 2026.3.22, OK. gateway/channels/openclaw-weixin [runtime] setWeixinRuntime called, runtime set successfully

???????(????):
`

  • startAccount entry
  • starting weixin provider
  • Monitor started
  • getUpdates
  • inbound message
    `

??:startAccount ?????,?????????

??(????)

openclaw.json

json "channels": { "openclaw-weixin": { "enabled": true, "accounts": { "59000514e8ad@im.bot": { "enabled": true, "baseUrl": "https://ilinkai.weixin.qq.com" } } } }

accounts.json ????

~/.openclaw/state/openclaw-weixin/accounts.json ??? "59000514e8ad@im.bot"

accounts ???????? token

???

  • ???? Gateway
  • ?? channels ??
  • ????????????
  • ?? token ???

????

Gateway ?? startAccount ???:

  1. plugin.config.listAccountIds(cfg) ??????
  2. plugin.config.resolveAccount(cfg, id) ??????
  3. plugin.config.isConfigured(account, cfg) ???????
  4. ????? startAccount()

??? listConfiguredAccountIds ? cfg.channels["openclaw-weixin"].accounts ?? key,? openclaw-weixin ??????????(??? accounts.json ??)?Gateway ????????????,?? startAccount ?????

???????:
ormalizeAccountId ? @ ?? -,?????????? account ID ?????? 59000514e8ad@im.bot?

????

  1. ?? startAccount ????,????
  2. ?? account ID ??????
  3. ??? QR ????????? accounts ??? openclaw.json ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority user-facing bug, regression, or broken workflow.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions