之前好好的,昨天到现在一直这样,开发工具上正常,手机预览就报错。我用的是安卓手机。
<Error: errCode: -402012 realtime listener init ws fail | errMsg: errors of each retry (latest to oldest): ["[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]"]
history states: UNINIT-(close)->CLOSED>
Error: errCode: -402012 realtime listener init ws fail | errMsg: errors of each retry (latest to oldest): ["[object Object]","[object Object]","[object Object]","[object Object]","[object Object]","[object Object]"]
history states: UNINIT-(close)->CLOSED
at Ts.<anonymous> (https://lib/WACloud.js:1:308382)
at Generator.next (<anonymous>)
at t (https://lib/WACloud.js:1:375)
at s (https://lib/WACloud.js:1:586)
同样的问题,我是苹果手机不行,安卓可以
遇到相同的问题,两台安卓机出现这个问题,一台苹果和一台鸿蒙正常。是什么原因?如果解决?请官方回复。
错误码-402012表示你在初始化实时监听的时候发生了错误,可能的原因包括网络连接问题、云数据库服务异常、或者你的代码中存在错误等要解决这个问题,你可以尝试以下步骤:
history states: UNINIT-(close)->CLOSED
at new b (<anonymous>:1:163765)
at Ts.<anonymous> (<anonymous>:1:308382)
at Generator.next (<anonymous>)
at t (<anonymous>:1:375)
at s (<anonymous>:1:586)
at G (eval at Ce.t.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:71041)
at eval (eval at Ce.t.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:71263)
at I (eval at Ce.t.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:40740)