What happened / 发生了什么
Reproduce / 如何复现?
参考https://docs.astrbot.app/platform/wecom.html ,填好各种信息后生成webhook链接,将其填入回调URL后便会出现这个错误:

但在平台日志里面,这个验证显示为有效:
我的astr为nginx反代docker暴露的端口,nginx的access日志也可以看到成功:
127.0.0.1 - - [29/Jun/2026:22:38:48 +0800] "GET /api/platform/webhook/b?msg_signature=14dc×tamp=1&nonce=8&echostr=kAE2TEXjjH%3D HTTP/1.1" 200 59 "-" "Mozilla/4.0"
如果直接请求,返回的似乎是一个json:
·$ curl -i 'https://:32315/api/v1/webhooks/platforms/b?msg_signature=6×tamp=1&nonce=1&echostr=gP3%2FINM'
HTTP/2 200
server: nginx/1.24.0 (Ubuntu)
date: Mon, 29 Jun 2026 14:46:09 GMT
content-type: application/json
content-length: 58
strict-transport-security: max-age=31536000
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
{"status":"ok","message":null,"data":"2321"}·
我不是非常熟悉企业微信的回调,不过我看到有文档说这里应该返回的是一个明文而不是一个json?
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
4.26.2,Docker部署
OS
Linux
Logs / 报错日志
见上
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct
What happened / 发生了什么
Reproduce / 如何复现?
参考https://docs.astrbot.app/platform/wecom.html ,填好各种信息后生成webhook链接,将其填入回调URL后便会出现这个错误:

但在平台日志里面,这个验证显示为有效:
我的astr为nginx反代docker暴露的端口,nginx的access日志也可以看到成功:
127.0.0.1 - - [29/Jun/2026:22:38:48 +0800] "GET /api/platform/webhook/b?msg_signature=14dc×tamp=1&nonce=8&echostr=kAE2TEXjjH%3D HTTP/1.1" 200 59 "-" "Mozilla/4.0"如果直接请求,返回的似乎是一个json:
·$ curl -i 'https://:32315/api/v1/webhooks/platforms/b?msg_signature=6×tamp=1&nonce=1&echostr=gP3%2FINM'
HTTP/2 200
server: nginx/1.24.0 (Ubuntu)
date: Mon, 29 Jun 2026 14:46:09 GMT
content-type: application/json
content-length: 58
strict-transport-security: max-age=31536000
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
{"status":"ok","message":null,"data":"2321"}·
我不是非常熟悉企业微信的回调,不过我看到有文档说这里应该返回的是一个明文而不是一个json?
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
4.26.2,Docker部署
OS
Linux
Logs / 报错日志
见上
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct