Skip to content

[Bug]: weixin send file failed #13305

@yourfei

Description

@yourfei

Bug Description

I asked Hermes to write a document and send it to me as a Word file, but the sending failed. The log shows the following:
2026-04-21 06:56:25,488 WARNING gateway.platforms.weixin: [Weixin] send chunk failed to=o9cq80yy attempt=1/3, retrying in 1.00s: iLink sendmessage error: ret=-2 errcode=None errmsg=unknown error
2026-04-21 06:56:26,656 WARNING gateway.platforms.weixin: [Weixin] send chunk failed to=o9cq80yy attempt=2/3, retrying in 2.00s: iLink sendmessage error: ret=-2 errcode=None errmsg=unknown error
2026-04-21 06:56:28,794 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq80yy: iLink sendmessage error: ret=-2 errcode=None errmsg=unknown error

Steps to Reproduce

1.chat with wexin
2.ask hermes send doc file to me
3.hermes say send file failed

Expected Behavior

I will get the doc file

Actual Behavior

failed

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

No response

Debug Report

none

Operating System

WSL2

Python Version

Python: 3.11.15

Hermes Version

send it to me

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type
    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