appservice?t=1537006821587:5415 WebSocket connection to 'wss://www.xxx.com/' failed: Error during WebSocket handshake: Unexpected response code: 502
程序如下:
wx.connectSocket({ url: 'wss://example.qq.com', data:{ x: '', y: ''
}, header:{
'content-type': 'application/json'
}, protocols: ['protocol1'], method:"GET"})
这个问题如何处理?咋回事?
你好,502是服务器端的反馈,可以查下服务器为什么做这种反馈