MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接

    好友历史信息同步失败如何解决

    BUG反馈
    1
    1
    123
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • J
      jhzgjhzg 最后由 编辑

      登陆bot的时候报错

      E/main: Exception in coroutine Bot ***.MessageSvcSyncerImpl
      java.lang.IllegalStateException: timeout syncing friend message history.
      	at net.mamoe.mirai.internal.network.components.MessageSvcSyncerImpl.syncMessageSvc(MessageSvcSyncer.kt:68)
      	at net.mamoe.mirai.internal.network.components.MessageSvcSyncerImpl.access$syncMessageSvc(MessageSvcSyncer.kt:35)
      	at net.mamoe.mirai.internal.network.components.MessageSvcSyncerImpl$syncMessageSvc$1.invokeSuspend(MessageSvcSyncer.kt)
      	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
      	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
      	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
      	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
      	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      

      虽然显示登陆成功,但是bot会被直接关闭

      2025-01-21 21:19:48 I/Bot.***: Bot cancelled: Bot closed
      2025-01-21 21:19:48 I/Bot.***: Bot login successful.
       (***) Login successful
      

      如何解决这个问题

      1 条回复 最后回复 回复 引用 0
      • 1 / 1
      • First post
        Last post
      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact