您好: 请问这是什么问题呢,,
VM1658 asdebug.js:1 WebSocket connection to 'wss://d1.mq.tddata.net:8084/mqtt' failed: Error during WebSocket handshake: Unexpected response code: 400
socket = wx.connectSocket({
url: 'wss://d1.mq.tddata.net:8084/mqtt',
header:{
'content-type': 'application/json'
},
protocols: ['protocol1'],
fail:res=>{
console.log("fail",res)
},
success:(res)=>{
console.log("success",res)
}
})