the watch closed because of error Error: errCode: -402002 realtime listener init watch fail | errMsg: init watch fail Error: invalid state: ws connection not exists, can not send message
history states: UNINIT-(loginStart)->INIT_LOGGING_IN-(loginSuccess)->INIT_LOGGED_IN-(initWatchStart)->INIT_WATCH_PENDING-(initWatchFail)->INIT_WATCH_FAIL-(loginStart)->INIT_LOGGING_IN-(loginSuccess)->INIT_LOGGED_IN-(initWatchStart)->INIT_WATCH_PENDING-(initWatchFail)->INIT_WATCH_FAIL-(loginStart)->INIT_LOGGING_IN-(loginSuccess)->INIT_LOGGED_IN-(initWatchStart)->INIT_WATCH_PENDING-(initWatchFail)->INIT_WATCH_FAIL-(close)->CLOSED
有这个问题的解决方法吗?我创建了数据 监听等了一会就报错
1.the watch closed because of error Error: errCode: -402002 realtime listener init watch fail | errMsg: login fail Error: wsclient.send timedout history states: UNINIT-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(close)->CLOSED
2.还有这个情况:errMsg: "closeSocket:fail task not found"
抱歉,这里应该已恢复,麻烦再试下
什么问题啊,从昨天前天开始出现的这个问题,几百个用户过来反应页面打不开!
原来是电脑版小程序打不开,现在好了,电脑+手机只要是第二三次访问都打不开了
已经准备放弃云开发了
Error: errCode: -402002 realtime listener init watch fail | errMsg: login fail Error: invalid state: ws connection not exists, can not send message history states: UNINIT-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(close)->CLOSED at new a (VM2130 WAService.js:2) at _FSMListener (VM2130 WAService.js:2) at VM2130 WAService.js:2 at Set.forEach (<anonymous>) at Do.transition (VM2130 WAService.js:2) at _i.<anonymous> (VM2130 WAService.js:2) at VM2130 WAService.js:2 at Object.throw (VM2130 WAService.js:2) at o (VM2130 WAService.js:2)
10秒20秒都没用,貌似跟等待时间无关,有时很快就可以,有时很久
我也遇到了这个问题,close后需要隔一段时间才能重新watch,否则就会报错,我现在是通过设置等待时间解决的,但是需要等待的时间并不确定,设太大又影响体验,我现在是设置了半秒钟,如果这之后还发生错误就给用户报错,让他手动重新watch,希望官方把close后直到可以重新watch这段时间也算进close的运行时间内