MiraiForum

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

    websocket serve API总是在凌晨4-7点出错

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

      1.png
      这个是报错的日志截图
      我的win10系统,JDK 64-Bit Server VM 17.0.5(64位的)
      mirai版本如截图:2.png 3.png

      Q 1 条回复 最后回复 回复 引用 0
      • Q
        qq1242592914 @qq1242592914 最后由 编辑

        @cssxsh 这是啥原因呀

        1 条回复 最后回复 回复 引用 0
        • cssxsh
          cssxsh 最后由 编辑

          日志文件夹在 logs
          为啥你们总喜欢截图
          截图就算了,还不全

          Q 1 条回复 最后回复 回复 引用 0
          • Q
            qq1242592914 @cssxsh 最后由 cssxsh 编辑

            @cssxsh 日志里面也是就一条报错信息,就是我截图的那个。

            2023-02-13 00:04:05 V/Bot.1242592914: Event: MemberJoinEvent.Active(member=2973596940)
            2023-02-13 01:32:52 V/Bot.1242592914: Event: MemberJoinEvent.Invite(member=1906789150, invitor=3475739)
            2023-02-13 01:46:17 V/Bot.1242592914: Event: MemberJoinEvent.Active(member=3125134931)
            2023-02-13 02:17:41 V/Bot.1242592914: Event: MemberLeaveEvent.Quit(member=20794050)
            2023-02-13 02:20:03 V/Bot.1242592914: Event: MemberLeaveEvent.Quit(member=3125134931)
            2023-02-13 02:57:24 V/Bot.1242592914: Event: MemberJoinEvent.Active(member=195194686)
            2023-02-13 03:47:29 V/Bot.1242592914: Event: MemberJoinEvent.Active(member=1778288864)
            2023-02-13 04:18:44 E/MAH Access: kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@2ba263d3
            kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@2ba263d3
            
            2023-02-13 05:13:30 V/Bot.1242592914: Event: MemberLeaveEvent.Quit(member=1404928986)
            2023-02-13 06:18:17 V/Bot.1242592914: Event: MemberJoinEvent.Active(member=2944421924)
            2023-02-13 06:48:54 V/Bot.1242592914: Event: MemberJoinEvent.Active(member=3253579409)
            2023-02-13 07:52:56 V/Bot.1242592914: Event: FriendAddEvent(friend=Friend(2375724116))
            2023-02-13 07:54:14 V/Bot.1242592914: Event: FriendDeleteEvent(friend=Friend(455476844))
            2023-02-13 07:54:15 V/Bot.1242592914: Event: FriendDeleteEvent(friend=Friend(1505118760))
            2023-02-13 08:05:51 I/main: Starting mirai-console...
            2023-02-13 08:05:51 I/main: 
            
            ==================================[ Mirai consosle 2.14.0 ]===================================
             __       __ __                   __  ______                                      __
            |  \     /  \  \                 |  \/      \                                    |  \
            | ▓▓\   /  ▓▓\▓▓ ______   ______  \▓▓  ▓▓▓▓▓▓\ ______  _______   _______  ______ | ▓▓ ______
            | ▓▓▓\ /  ▓▓▓  \/      \ |      \|  \ ▓▓   \▓▓/      \|       \ /       \/      \| ▓▓/      \
            | ▓▓▓▓\  ▓▓▓▓ ▓▓  ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓     |  ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\  ▓▓▓▓▓▓▓  ▓▓▓▓▓▓\ ▓▓  ▓▓▓▓▓▓\
            | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓   \▓▓/      ▓▓ ▓▓ ▓▓   __| ▓▓  | ▓▓ ▓▓  | ▓▓\▓▓    \| ▓▓  | ▓▓ ▓▓ ▓▓    ▓▓
            | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓     |  ▓▓▓▓▓▓▓ ▓▓ ▓▓__/  \ ▓▓__/ ▓▓ ▓▓  | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
            | ▓▓  \▓ | ▓▓ ▓▓ ▓▓      \▓▓    ▓▓ ▓▓\▓▓    ▓▓\▓▓    ▓▓ ▓▓  | ▓▓       ▓▓\▓▓    ▓▓ ▓▓\▓▓     \
             \▓▓      \▓▓\▓▓\▓▓       \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓   \▓▓\▓▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓
            
            
            2023-02-13 08:05:51 I/main: Backend: version 2.14.0, built on 2023-02-06 14:25:21.
            2023-02-13 08:05:51 I/main: Frontend Terminal: version 2.14.0, provided by Mamoe Technologies
            2023-02-13 08:05:51 I/main: Welcome to visit https://mirai.mamoe.net/
            2023-02-13 08:05:53 I/plugin: Successfully loaded plugin mirai-api-http v2.8.0
            2023-02-13 08:05:53 I/plugin: Successfully loaded plugin MCL Addon v2.1.1
            2023-02-13 08:05:53 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
            2023-02-13 08:05:54 I/Mirai HTTP API: ********************************************************
            2023-02-13 08:05:54 I/MahKtorAdapter[http,ws]: Autoreload is disabled because the development mode is off.
            2023-02-13 08:05:54 I/MahKtorAdapter[http,ws]: Application started in 0.288 seconds.
            2023-02-13 08:05:54 I/MahKtorAdapter[http,ws]: Responding at http://localhost:8080
            2023-02-13 08:05:54 I/http adapter: >>> [http adapter] is listening at http://localhost:8080
            2023-02-13 08:05:54 I/ws adapter: >>> [ws adapter] is listening at ws://localhost:8080
            2023-02-13 08:05:54 I/Mirai HTTP API: Http api server is running with verifyKey: 1f6e11dffa1455312ec8d88b16140a48
            2023-02-13 08:05:54 I/Mirai HTTP API: adaptors: [http,ws]
            2023-02-13 08:05:54 I/Mirai HTTP API: ********************************************************
            2023-02-13 08:05:54 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
            2023-02-13 08:05:54 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
            2023-02-13 08:05:54 I/main: 2 plugin(s) enabled.
            2023-02-13 08:05:54 I/main: Auto-login 1242592914, protocol: ANDROID_WATCH, heartbeatStrategy: STAT_HB
            2023-02-13 08:05:55 I/Bot.1242592914: Loaded account secrets from local cache.
            2023-02-13 08:05:55 I/Bot.1242592914: Saved account secrets to local cache for fast login.
            2023-02-13 08:05:56 I/Bot.1242592914: Login successful.
            2023-02-13 08:06:06 V/Bot.1242592914: Event: BotOnlineEvent(bot=Bot(1242592914))
            2023-02-13 08:06:06 I/Bot.1242592914: Bot login successful.
            2023-02-13 08:06:06 I/main: mirai-console started successfully.
            2023-02-13 08:09:54 V/Bot.1242592914: [乐易模块(源码)交流群(429204560)]  天高云淡(395580482) -> 鱼刺多线程好用
            
            cssxsh 1 条回复 最后回复 回复 引用 0
            • cssxsh
              cssxsh @qq1242592914 最后由 编辑

              @qq1242592914
              影响使用吗

              Q 1 条回复 最后回复 回复 引用 0
              • Q
                qq1242592914 @cssxsh 最后由 编辑

                @cssxsh 有点小影响

                cssxsh 1 条回复 最后回复 回复 引用 0
                • cssxsh
                  cssxsh @qq1242592914 最后由 编辑

                  @qq1242592914

                  看日志是 mirai-api-http 的报错
                  建议你到 https://github.com/project-mirai/mirai-api-http/issues
                  开一个 issue
                  并说明造成的影响

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