收藏
回答

-402002 realtime listener init watch fail?

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小程序 Bug iOS 13.1.3 6s 7.0.12

[监听器] [监听order] 失败

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>

回答关注问题邀请回答
收藏

4 个回答

  • Colin Jiang
    Colin Jiang
    2022-11-13

    解决了吗?

    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

        at _FSMListener (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:769488)

        at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:757689)

        at Set.forEach (<anonymous>)

        at xa.transition (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:757672)

        at So.eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:760738)

        at Generator.throw (<anonymous>)

        at t (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:505593)

        at l (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:505840)

        at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:48377)

        at n (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:24712)

    2022-11-13
    有用
    回复 1
    • Mr.劉
      Mr.劉
      2023-05-13
      解决了吗?
      2023-05-13
      回复
  • 白树辉
    白树辉
    2022-07-14

    问题解决了吗 APPID:wx5442f1bb0351dbe7

    也遇到同样的问题了 有点莫名其妙 这个应该怎么解决? 云数据库的问题还是云函数的问题?

    2022-07-14
    有用
    回复
  • 犟老頭
    犟老頭
    2021-11-29

    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

        at _FSMListener (VM233 WAService.js:2)

        at VM233 WAService.js:2

        at Set.forEach (<anonymous>)

        at e.value (VM233 WAService.js:2)

        at VM233 WAService.js:2

        at l (VM233 WAService.js:2)

        at Generator._invoke (VM233 WAService.js:2)

        at Generator.throw (VM233 WAService.js:2)

        at r (VM233 WAService.js:2)

        at c (VM233 WAService.js:2)(env: Windows,mp,1.05.2105170; lib: 2.18.0)

    2021-11-29
    有用
    回复
  • 哄哄
    哄哄
    2020-08-14

    你好,麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    2020-08-14
    有用
    回复 6
    • Lewis
      Lewis
      2022-06-30
      一样的问题,就一句watch,没有其他代码。就会不定时频繁出现-402002 realtime listener init watch fail,已经看见网上很多人反应2年多了,微信还没彻底解决吗?不是以重视用户体验自居的吗?殷切期盼能解决!appid:wx0eecf5f5616635ff
      2022-06-30
      2
      回复
    • 宁静致远
      宁静致远
      2023-05-13
      如何解决,同样出现这个问题,版本库2.31.1
      2023-05-13
      回复
    • 宁静致远
      宁静致远
      2023-05-13
      云开发支付后,用watcher监听记录变化时频繁出现,导致后继业务逻辑无法进行
      2023-05-13
      回复
    • 骑着蜗牛闯世界
      骑着蜗牛闯世界
      2023-05-14
      一样的问题,根本不知道咋解决,复现率特别高
      2023-05-14
      回复
    • Petrichor
      Petrichor
      2023-05-16回复宁静致远
      您解决了吗,我也出现这样的问题了
      2023-05-16
      回复
    查看更多(1)
登录 后发表内容
问题标签