部分手机connectSocket onerror 返回The total timed out?
this.ws = wx.connectSocket({
url: this.socketUrl,
timeout:1000*20,
complete:function(e){
console.log("wx.connectSocket",e,e.toString())
}
})
this.ws.onOpen(this.onOpen)
this.ws.onMessage(this.onMessage)
this.ws.onClose(this.onClose)
this.ws.onError(this.onError)
onError 返回了 The total timed out 如下图 [图片] 其他的手机没有问题,安卓 ios都可以 但在这台手机上出现了问题,手机参数如下: [图片] [图片]