收藏
回答

微信公众号后台出现超时报警怎么回事?

报警群收到内容如下 /

Appid: wx22xxxxxx

昵称: 微xxx

时间: 2021-03-22 16:05:01

内容: 微信服务器向硬件厂商推送事件后,硬件厂商1秒内没有返回

次数: 5分钟 36次

错误样例: post data to: http://wechat.bjhike.com/wechatCallback/1/?signature=361638e38d9965134351ba66f694912d432a31ed&timestamp=1616400296&nonce=522676474&encrypt_type=aes&msg_signature=28ed7f58af3c6d08fd035aa3f2f5897b6ef4ae4e timeout for too many times

报警排查指引,请见: https://mmbizurl.cn/s/MpkaZb8yg

=============================================================

问题自查:

1、后台响应日志正常

[2021-03-22 16:05:03.323] [INFO] www_log - wexin message:{"ToUserName":"gh_***","FromUserName":"obw***c","CreateTime":"1616400296","MsgType":"device_event","Event":"subscribe_status","DeviceType":"gh_c7***","DeviceID":"gh_c761bca***","OpType":"2","OpenID":"obwIJt***"}

[2021-03-22 16:05:03.325] [INFO] www_log - signature:361638e38d9965134351ba66f694912d432a31ed,msg_signature:28ed7f58af3c6d08fd035aa3f2f5897b6ef4ae4e message content:device_event:subscribe_status

[2021-03-22 16:05:03.325] [INFO] www_log - reply to WechatServer form signature:361638e38d9965134351ba66f694912d432a31ed,msg_signature:28ed7f58af3c6d08fd035aa3f2f5897b6ef4ae4e

[2021-03-22 16:05:03.325] [INFO] www_log - reply content:<xml><Encrypt><![CDATA[+7a5Pg6tMaiVVG3kTYSUqj/nh9yTQ+RBNxiVjV6yL/jM***d0k/vJg==]]></Encrypt><MsgSignature><![CDATA[8aa2a66872628c00f2cccb9048325e222821879b]]></MsgSignature><TimeStamp>1616400303325</TimeStamp><Nonce><![CDATA[73495414026]]></Nonce></xml>

2、查看nginx接入日志发现499错误

49.235.73.44 - - [22/Mar/2021:16:05:01 +0800] "POST /wechatCallback/1/?signature=361638e38d9965134351ba66f694912d432a31ed&timestamp=1616400296&nonce=522676474&encrypt_type=aes&msg_signature=28ed7f58af3c6d08fd035aa3f2f5897b6ef4ae4e HTTP/1.1" 499 0 "-" "Mozilla/4.0" "-"

此类信息出现非常频繁,大约10%的请求会出现该错误。

3、根据排查指导#附录3:nginx配置和排查指引

https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Warning_Message_Troubleshooting_Guide.html

发现如下描述: 499: 则是客户端的问题,请联系微信团队。 此错误少见。

因此特将此问题反馈给平台,望及时解决。谢谢!

最后一次编辑于  2021-03-22
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签