小程序
小游戏
企业微信
微信支付
扫描小程序码分享
在启用消息接受服务后,微信端在推送消息到企业后台后,报签名验证错误。 检查了配置的token, aeskey, corpid都是正确的,但是依然有此类错误。 奇怪的是,验证URL有效性,save多次失败后,才会验证通过一次。 被动回复消息,也是报签名验证错误 使用的是http://open.work.weixin.qq.com/wwopen/downloadfile/java.zip
3 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
您好,可以参考下文档demo加解密https://work.weixin.qq.com/api/doc/90000/90139/90968,或者可以提供下corpid 和应用id看下
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
- [2020-05-07T07:38:56.874340640Z] "POST /api/wechat/v1/isConnected?msg_signature=322e776311fe7407984b2bed32107e2e1332bc6f×tamp=1588837136&nonce=1589558058 HTTP/1.1" 200 691 0 "-" "Mozilla/4.0" "-" "*.*.*.*:*****" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"93883e52-d4f4-468f-58eb-e549fea34081" response_time:0.008659 gorouter_time:0.000105 app_id:"60800aaf-b612-497b-b642-f4b15545e6c0" app_index:"0" x_correlationid:"-" tenantid:"-" x_scp_request_id:"f47bb985-f06b-465d-804a-56ec5a616c52-5EB3BB0B-1C3BDC" x_cf_app_instance:"-" x_b3_traceid:"7bdd8a440bd3a1dd" x_b3_spanid:"7bdd8a440bd3a1dd" x_b3_parentspanid:"-" b3:"7bdd8a440bd3a1dd-7bdd8a440bd3a1dd"
2020-05-07T07:38:56.883+0000 [APP/PROC/WEB/0] OUT 2020-05-07 07:38:56.883 DEBUG 12 --- [o-8080-exec-114] o.s.web.servlet.DispatcherServlet : Completed 200 OK
2020-05-07T07:39:02.058+0000 [APP/PROC/WEB/0] OUT 2020-05-07 07:39:02.057 DEBUG 12 --- [io-8080-exec-96] o.s.web.servlet.DispatcherServlet : POST "/api/wechat/v1/isConnected?msg_signature=50842d7d570834d8cae899575f80295f42e7c007×tamp=1588837142&nonce=1588839384", parameters={masked}
2020-05-07T07:39:02.058+0000 [APP/PROC/WEB/0] OUT 2020-05-07 07:39:02.058 DEBUG 12 --- [io-8080-exec-96] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.sap.smis.flexmessage.controller.ReceiveWechatWorkMsgController#reply(String, String, String, String)
2020-05-07T07:39:02.059+0000 [APP/PROC/WEB/0] OUT 2020-05-07 07:39:02.058 DEBUG 12 --- [io-8080-exec-96] m.m.a.RequestResponseBodyMethodProcessor : Read "text/xml;charset=UTF-8" to ["<xml><ToUserName><![CDATA[wwa464962364db3b6c]]></ToUserName><Encrypt><![CDATA[/bcAidPwVBJ4rlf4T2jc9 (truncated)...]
2020-05-07T07:39:02.060+0000 [APP/PROC/WEB/0] ERR com.qq.weixin.mp.aes.AesException: ??????
2020-05-07T07:39:02.060+0000 [APP/PROC/WEB/0] ERR at com.qq.weixin.mp.aes.WXBizMsgCrypt.DecryptMsg(WXBizMsgCrypt.java:259)
springMvc 环境也遇到这个问题 有时校验通过 有时校验失败
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
您好,可以参考下文档demo加解密https://work.weixin.qq.com/api/doc/90000/90139/90968,或者可以提供下corpid 和应用id看下
- [2020-05-07T07:38:56.874340640Z] "POST /api/wechat/v1/isConnected?msg_signature=322e776311fe7407984b2bed32107e2e1332bc6f×tamp=1588837136&nonce=1589558058 HTTP/1.1" 200 691 0 "-" "Mozilla/4.0" "-" "*.*.*.*:*****" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"93883e52-d4f4-468f-58eb-e549fea34081" response_time:0.008659 gorouter_time:0.000105 app_id:"60800aaf-b612-497b-b642-f4b15545e6c0" app_index:"0" x_correlationid:"-" tenantid:"-" x_scp_request_id:"f47bb985-f06b-465d-804a-56ec5a616c52-5EB3BB0B-1C3BDC" x_cf_app_instance:"-" x_b3_traceid:"7bdd8a440bd3a1dd" x_b3_spanid:"7bdd8a440bd3a1dd" x_b3_parentspanid:"-" b3:"7bdd8a440bd3a1dd-7bdd8a440bd3a1dd"
2020-05-07T07:38:56.883+0000 [APP/PROC/WEB/0] OUT 2020-05-07 07:38:56.883 DEBUG 12 --- [o-8080-exec-114] o.s.web.servlet.DispatcherServlet : Completed 200 OK
2020-05-07T07:39:02.058+0000 [APP/PROC/WEB/0] OUT 2020-05-07 07:39:02.057 DEBUG 12 --- [io-8080-exec-96] o.s.web.servlet.DispatcherServlet : POST "/api/wechat/v1/isConnected?msg_signature=50842d7d570834d8cae899575f80295f42e7c007×tamp=1588837142&nonce=1588839384", parameters={masked}
2020-05-07T07:39:02.058+0000 [APP/PROC/WEB/0] OUT 2020-05-07 07:39:02.058 DEBUG 12 --- [io-8080-exec-96] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.sap.smis.flexmessage.controller.ReceiveWechatWorkMsgController#reply(String, String, String, String)
2020-05-07T07:39:02.059+0000 [APP/PROC/WEB/0] OUT 2020-05-07 07:39:02.058 DEBUG 12 --- [io-8080-exec-96] m.m.a.RequestResponseBodyMethodProcessor : Read "text/xml;charset=UTF-8" to ["<xml><ToUserName><![CDATA[wwa464962364db3b6c]]></ToUserName><Encrypt><![CDATA[/bcAidPwVBJ4rlf4T2jc9 (truncated)...]
2020-05-07T07:39:02.060+0000 [APP/PROC/WEB/0] ERR com.qq.weixin.mp.aes.AesException: ??????
2020-05-07T07:39:02.060+0000 [APP/PROC/WEB/0] ERR at com.qq.weixin.mp.aes.WXBizMsgCrypt.DecryptMsg(WXBizMsgCrypt.java:259)
springMvc 环境也遇到这个问题 有时校验通过 有时校验失败