昨天运行还正常;最近云开发控制平台v1.4.49 和 v1.4.50 运行云数据库监听功能都正常;
但今天就不行了;查找原因:是云开发控制平台居然回退到v1.4.38这个版本;简直是无语😐啦。
开发云数据库监听的技术官方文档:
错误信息如下:
the watch closed because of error Error: errCode: -402006 realtime listener receive server error msg | errMsg: ACL_CHANGE_ERROR - user acl has changed!
history states: UNINIT-(loginStart)->INIT_LOGGING_IN-(loginSuccess)->INIT_LOGGED_IN-(initWatchStart)->INIT_WATCH_PENDING-(initWatchSuccess)->INIT_WATCH_SUCCESS-(close)->CLOSED
at wc.onMessage (VM302 WAService.js:2)
at Function.Pc.onSocketMessage (VM302 WAService.js:2)
at Function.n (VM302 WAService.js:2)
at u (VM302 WAService.js:2)
at VM302 WAService.js:2
at VM302 WAService.js:2
at Array.forEach (<anonymous>)
at Pc.emit (VM302 WAService.js:2)
at VM302 WAService.js:2
at VM302 WAService.js:2(env: macOS,mp,1.05.2111300; lib: 2.21.1)
今天中午官方刚刚恢复到v1.4.51版本;
我马上测试了一下;云函数监听功能正常了;谢谢啦😀