当前位置:网站首页>【小5聊】公众号排查<该公众号提供的服务出现故障,请稍后>
【小5聊】公众号排查<该公众号提供的服务出现故障,请稍后>
2022-07-25 16:20:00 【小5聊】
在实际项目开发中,虽然有完整文章作为参考,但是每个人编写的代码都不一样,那么出现的未知情况就会很多
不过,一般出现故障提示,大多数都是下面几种情况
1、5秒内回响应
就是微服务器,发起Get请求调用你的服务器API,您的服务器未在5秒内响应回微信,那么微信发起请求端就直接在5秒后向您服务器直接发送提示”出现故障“
可能会出现的场景:您在API做了很多逻辑处理,花费时间超过了5秒,建议改为异步处理不影响主业务的功能
2、 内容格式不正确
响应回微信的内容格式为xml,大多数出现这个情况主要是xml个别标签或者CDATA存在空格,比如下面:

3、发送和接收者混淆
1)您接收微信服务器消息时,FromUserName=来自公众号,ToUserName=到粉丝处
2)您响应消息给微信服务端,FromUserName=来自粉丝,ToUserName=到公众号处
4、授权给了第三方
可能授权给了多个第三方,第三方可能出现种种原因出现故障
小编就是取消了所有第三方授权后,等了几分钟后再测试时,图片回复就可以了
5、未开启接口警告
小编也是将接口警告,警告规则阈值全部设置为1后,再次尝试图片回复功能,发现又可以了。有点神奇,不知道是第四的还是第五步的原因,亦或者是两者的原因


【总结】
公众号出现故障,基本上是以上5点原因,一般围绕着这5点排查,如果实现不行,那么就只能找官方人员了或者大牛,当然也可以咨询小编。也欢迎大家有任何编程问题都可以公众号留言【有趣小馆】
边栏推荐
- 百度富文本编辑器UEditor 图片宽度100%自适应,手机端
- [zeloengine] summary of pit filling of reflection system
- 测试框架-unittest-测试套件、结果输出到文件
- fastadmin tp 安装使用百度富文本编辑器UEditor
- 测试框架-unittest-跳过测试
- Test Driven Development (TDD) online practice room | classes open on September 17
- mysql意向锁
- Leetcode:154. find the minimum value II in the rotation sort array [about the middle and rear positioning dichotomy of the rotation sort array]
- Promise期约
- Product dynamics - Android 13 high-efficiency adaptation new upgrade
猜你喜欢

How does win11's own drawing software display the ruler?

Solve win10 disk occupation of 100%
![[image denoising] image denoising based on bicube interpolation and sparse representation matlab source code](/img/39/716c62d6ca533a7e84704b2c55d072.png)
[image denoising] image denoising based on bicube interpolation and sparse representation matlab source code

Win11桌面切换快捷键是什么?Win11快速切换桌面的方法
![Leetcode:154. find the minimum value II in the rotation sort array [about the middle and rear positioning dichotomy of the rotation sort array]](/img/03/54a2d82a17cd07374dc0aedacd7b11.png)
Leetcode:154. find the minimum value II in the rotation sort array [about the middle and rear positioning dichotomy of the rotation sort array]

泰雷兹推出解决方案,助力SAP客户控制云端数据

进程之间的通信(管道详解)

城市燃气安全再拉警钟,如何防患于未“燃”?
![Leetcode:6127. Number of high-quality number pairs [bit operation finding rules + the sum of two numbers is greater than or equal to K + dichotomy]](/img/b5/5c7fc70b8025cf7ef21d645a3ac22e.png)
Leetcode:6127. Number of high-quality number pairs [bit operation finding rules + the sum of two numbers is greater than or equal to K + dichotomy]

Crazy God redis notes 12
随机推荐
Product upgrade observation station in June
Recursive menu query (recursion: check yourself)
【ZeloEngine】反射系统填坑小结
leetcode:154. 寻找旋转排序数组中的最小值 II【关于旋转排序数组的中后定位二分法】
fastadmin tp 安装使用百度富文本编辑器UEditor
Verifiable random function VRF
Crazy God redis notes 12
只有1000元能买什么理财产品赚钱?
Which led display manufacturer is better
Today, I went to oppo for an interview and was asked numbly
MySQL table write lock
[fault diagnosis] bearing fault diagnosis based on Bayesian optimization support vector machine with matlab code
邮件的收发的展现逻辑之收件箱发件箱以及回复断链的问题
Talk about how to use redis to realize distributed locks?
如何安装govendor并打开项目
Upgrade esxi6.7.0 to 7.0u3f (updated on July 12, 2022)
[IJCAI 2022] parameter efficient large model sparse training method, which greatly reduces the resources required for sparse training
Test Driven Development (TDD) online practice room | classes open on September 17
Understanding service governance in distributed development
没错,请求DNS服务器还可以使用UDP协议