Appid: wx78e379e8b640dddd
昵称: XXXX
时间: 2022-09-08 10:02:02
内容: 微信服务器向公众号推送消息或事件后,开发者5秒内没有返回
次数: 5分钟 47次
错误样例: [OpenID=oJ8LIt8Bb5F4qJ7e2u-cUjz25MkI][Stamp=1662602522][OuterIP=175.24.212.195][3rdUrl=http://www.XXXX.com/user/QMUI36XG.php][IP=101.200.158.41][Event=Click Menu Url]
报警排查指引,请见: https://mmbizurl.cn/s/MpkaZb8yg
上面是是服务器访问超时还是我返回的数据有问题?
因为我这边其实是做了只要接收到数据一次我就写入txt文档中一次,所以接收到的参数为
{"XML":{"tag":"XML","type":"close","level":1},"TOUSERNAME":{"tag":"TOUSERNAME","type":"complete","level":2,"value":"gh_3630135e0848"},"FROMUSERNAME":{"tag":"FROMUSERNAME","type":"complete","level":2,"value":"oJ8LIt3bejpSTjcJXN3d3wRpIpwU"},"CREATETIME":{"tag":"CREATETIME","type":"complete","level":2,"value":"1662625629"},"MSGTYPE":{"tag":"MSGTYPE","type":"complete","level":2,"value":"event"},"EVENT":{"tag":"EVENT","type":"complete","level":2,"value":"VIEW"},"EVENTKEY":{"tag":"EVENTKEY","type":"complete","level":2,"value":"https:\/\/XXXX.cn\/index?v=1.1"},"MENUID":{"tag":"MENUID","type":"complete","level":2,"value":"512067622"}}
我尝试过返回下面2中数据都失败,
success
或者
<xml>
<ToUserName><![CDATA[gh_3630135e0848]]></ToUserName>
<FromUserName><![CDATA[oJ8LIt3bejpSTjcJXN3d3wRpIpwU]]></FromUserName>
<CreateTime>1662626124</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[VIEW]]></Event>
<EventKey><![CDATA[https://xdzxxsb.cn/index?v=1.1]]></EventKey>
<MenuId>512067622</MenuId>
</xml>
我的问题是1.是我返回数据错的还是服务器超时?
2返回数据错的应该怎么返回?