wx.request接口报错“协议错误 with seq 0”
发布于 6 年前 作者 jinguiying 12126 次浏览 来自 问答

很少一部分iOS手机出现wx.request接口调用失败。从iphone6~iphoneX都有部分手机出现该问题。

绝大部分手机是没有问题的,说明https以及域名配置是没有问题的。

以下是其中一个出现问题的手机:

iPhone

iPhone 6<iPhone7,2>

7.0.3

2.6.6

iOS 11.0.3

用户反馈日志

2019-5-5 14:10:34 [log] wx.getStorageSync api invoke

2019-5-5 14:10:34 [log] wx.getStorageSync return

2019-5-5 14:10:34 [log] wx.getSystemInfo api invoke

2019-5-5 14:10:34 [log] wx.getSystemInfo success callback with msg getSystemInfo:ok

2019-5-5 14:10:34 [log] App onLaunch have been invoked

2019-5-5 14:10:34 [log] App onShow have been invoked

2019-5-5 14:10:34 [log] wx.canIUse api invoke

2019-5-5 14:10:34 [log] wx.getStorageSync api invoke

2019-5-5 14:10:34 [log] wx.getStorageSync return

2019-5-5 14:10:34 [log] page pages/index/index onLoad have been invoked

2019-5-5 14:10:34 [log] page pages/index/index onShow have been invoked

2019-5-5 14:10:34 [log] page pages/index/index onReady have been invoked

2019-5-5 14:10:53 [log] wx.login api invoke

2019-5-5 14:10:53 [log] wx.showLoading api invoke

2019-5-5 14:10:53 [log] wx.getStorageSync api invoke

2019-5-5 14:10:53 [log] wx.getStorageSync return

2019-5-5 14:10:53 [log] wx.getStorageSync api invoke

2019-5-5 14:10:53 [log] wx.getStorageSync return

2019-5-5 14:10:53 [log] wx.request api invoke with seq 0

2019-5-5 14:10:53 [log] wx.login success callback with msg login:ok

2019-5-5 14:10:54 [log] wx.request fail callback with msg request:fail 未能完成该操作。协议错误 with seq 0

3 回复

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

你的这个问题解决了吗,我也碰到了这样的问题,有的用户反馈页面没反应

我也想知道是什么原因,请问可以说一下是什么情况吗?

回到顶部