之前Watcher一直都是正常使用的,今天开始一直报这个错误, 这个错误现每次都会出。
VM16 asdebug.js:1 WebSocket connection to 'wss://tcb-ws.tencentcloudapi.com/' failed: Error during WebSocket handshake: Unexpected response code: 502
createSocketTask @ VM16 asdebug.js:1
invoke @ VM16 asdebug.js:1
r @ VM16 asdebug.js:1
invoke @ VM1255 WAService.js:2
o @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
p @ VM1255 WAService.js:2
t @ VM1255 WAService.js:2
n @ VM1255 WAService.js:2
connectSocket @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
n @ VM1255 WAService.js:2
index.js? [sm]:399 the watch closed because of error Error: errCode: -402011 realtime listener unexpected fatal error | errMsg: [object Object]
history states: UNINIT-(close)->CLOSED
at new g (VM1255 WAService.js:2)
at _i.closeWithError (VM1255 WAService.js:2)
at _parentFSMListener (VM1255 WAService.js:2)
at VM1255 WAService.js:2
at Set.forEach (<anonymous>)
at Do.transition (VM1255 WAService.js:2)
at Function.<anonymous> (VM1255 WAService.js:2)
at C (VM1255 WAService.js:2)
at VM1255 WAService.js:2
at VM1255 WAService.js:2
onError @ index.js? [sm]:399
(anonymous) @ VM1255 WAService.js:2
C @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
c @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
C @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
_i.closeWithError @ VM1255 WAService.js:2
_parentFSMListener @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
Do.transition @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
C @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
value @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
c @ VM16 asdebug.js:1
(anonymous) @ VM16 asdebug.js:1
i.emit @ VM16 asdebug.js:1
S.onclose @ VM16 asdebug.js:1
VM1255 WAService.js:2 Error: MiniProgramError
{"errMsg":"closeSocket:fail task not found"}
at Object.errorReport (VM1255 WAService.js:2)
at Function.thirdErrorReport (VM1255 WAService.js:2)
at Object.<anonymous> (VM1255 WAService.js:2)
at I (VM1255 WAService.js:2)
at Object.o [as cb] (VM1255 WAService.js:2)
at VM1255 WAService.js:2
at Array.forEach (<anonymous>)
at e.value (VM1255 WAService.js:2)
at o (VM1255 WAService.js:2)
at VM1255 WAService.js:2
errorReport @ VM1255 WAService.js:2
thirdErrorReport @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
I @ VM1255 WAService.js:2
o @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
value @ VM1255 WAService.js:2
o @ VM1255 WAService.js:2
(anonymous) @ VM1255 WAService.js:2
VM1255 WAService.js:2 TypeError: n is not a function
at Oi.<anonymous> (VM1255 WAService.js:2)
at VM1255 WAService.js:2
at Object.next (VM1255 WAService.js:2)
at n (VM1255 WAService.js:2)
调试工具没有这个问题,真机一直报-402011 realtime listener unexpected fatal error,急急急
我也是同样的问题 , 腾讯云 不稳定吗 ?