MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    升级 mirai 至 2.14.0, 使用新的短信验证方法解决设备验证

    使用交流
    79
    360
    96053
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BlueLight last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • L
        liu8645168 last edited by cssxsh

        1.png
        2.png

        大佬我这个版本出现这个问题怎么办 前几天用的还好好的 之后登录要重新验证 下载了最新的验证器 验证成功后一只显示QQ版本过低

        L 1 Reply Last reply Reply Quote 0
        • L
          liu8645168 @liu8645168 last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • L
            liu8645168 last edited by cssxsh

            3.png

            cssxsh 1 Reply Last reply Reply Quote 0
            • cssxsh
              cssxsh @liu8645168 last edited by

              @liu8645168

              删掉 bots/.../device.json

              L 1 Reply Last reply Reply Quote 0
              • L
                liu8645168 @cssxsh last edited by

                @cssxsh 感谢大佬 解决了

                1 Reply Last reply Reply Quote 0
                • A
                  Adonis last edited by cssxsh

                  2022-12-10 10:07:06 I/main: Backend: version 2.13.2, built on 2022-12-05 01:50:53.
                  2022-12-10 10:07:06 I/main: Frontend Terminal: version 2.13.2, provided by Mamoe Technologies
                  2022-12-10 10:07:06 I/main: Welcome to visit https://mirai.mamoe.net/
                  2022-12-10 10:07:06 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
                  2022-12-10 10:07:06 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
                  2022-12-10 10:07:06 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
                  2022-12-10 10:07:06 I/plugin: Successfully loaded plugin 插件示例 v0.1.0
                  2022-12-10 10:07:06 I/plugin: Successfully loaded plugin MCL Addon v2.1.1
                  2022-12-10 10:07:07 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
                  2022-12-10 10:07:07 I/stdout: /Users/fuyiran/data/org.hezistudio.groupManagerHezi/Database.db3
                  2022-12-10 10:07:07 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
                  2022-12-10 10:07:07 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
                  2022-12-10 10:07:07 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
                  2022-12-10 10:07:07 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
                  2022-12-10 10:07:07 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
                  2022-12-10 10:07:07 I/main: 2 plugin(s) enabled.
                  2022-12-10 10:07:07 I/main: mirai-console started successfully.
                  2022-12-10 10:07:23 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭.
                  2022-12-10 10:07:23 I/WindowHelperJvm: Mirai is using desktop. Captcha will be thrown by window popup. You can add `mirai.no-desktop` to JVM properties (-Dmirai.no-desktop) to disable it.
                  2022-12-10 10:07:24 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
                  2022-12-10 10:08:01 I/Bot.2732599770: Bot cancelled: Bot closed
                  Login failed: Error(bot=Bot(2732599770), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo=)
                  2022-12-10 10:08:01 E/console: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2732599770), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo=)
                  net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2732599770), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo=)
                  	at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:311)
                  	at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt)
                  	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                  	at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
                  	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
                  	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                  	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                  	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)
                  

                  大佬请问为什么升级了mcl还是会报错啊

                  cssxsh 1 Reply Last reply Reply Quote 0
                  • cssxsh
                    cssxsh @Adonis last edited by

                    @Adonis
                    你需要清除 bots/.../device.json 让他重新生成

                    A L 2 Replies Last reply Reply Quote 0
                    • A
                      Adonis @cssxsh last edited by

                      @cssxsh oh,可以了,谢谢

                      1 Reply Last reply Reply Quote 0
                      • L
                        LTHPKBTE @cssxsh last edited by

                        @cssxsh IMG_20221213_121801.jpg
                        似乎这个库出了点问题

                        cssxsh 1 Reply Last reply Reply Quote 0
                        • cssxsh
                          cssxsh @LTHPKBTE last edited by

                          @LTHPKBTE
                          那是 chat-command 的问题
                          另外 阿里云 现在已经正常更新了
                          不需要改了

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            LTHPKBTE @cssxsh last edited by

                            @cssxsh 我这么说是因为把新加的那行库删掉之后这个报错就没了()
                            虽然chatcommamd依旧警告依赖错误

                            cssxsh 1 Reply Last reply Reply Quote 0
                            • cssxsh
                              cssxsh @LTHPKBTE last edited by

                              @LTHPKBTE
                              因为 chat-command 没有上传到 maven central, 目前只在阿里云有备份

                              警告依赖错误 是因为历史问题,chat-command 发布 0.5.2 之后 就没有更新过,后面的 mirai-console 都会引发 这个警告

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                LTHPKBTE @cssxsh last edited by

                                @cssxsh 谢谢解答

                                1 Reply Last reply Reply Quote 0
                                • H
                                  Hoaliti last edited by

                                  8U4QPC)%UCFVOS1VTOAO9WP.png
                                  T8MOR)5I)LH8X}1OZ@S$6QX.png
                                  大佬 我这237问题卡了好久了
                                  0. 版本如图,都是2.13.2 最新版本

                                  1. deviceToken删了重新生成也没用,协议IPAD,ANDROID PAD,MACOS都试过了都不行
                                  2. 安装了mirai-device-generator-1.1.3.mirai2,但是错误还是一样
                                  3. 在miraiAndroid登录,错误还是一样
                                  4. 我自己的华为无法登录 同样报错
                                  5. 我自己的iphone可以登录,还可以扫码登录windows客户端,QQ号也能加好友,没有被封
                                  cssxsh 1 Reply Last reply Reply Quote 0
                                  • cssxsh
                                    cssxsh @Hoaliti last edited by

                                    @Hoaliti 在 升级 mirai 至 2.13.2, 使用新的短信验证方法解决设备验证 中说:

                                    我自己的华为无法登录 同样报错

                                    什么意思?

                                    你这种情况可以尝试
                                    清空 bots/.../ 下的全部文件
                                    然后保持 QQ 手机客户端保持登录 并且 进入安全设置里面的设备管理把历史设备删掉清空

                                    不是很清楚 iphone 能不能操作历史设备

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      Hoaliti @cssxsh last edited by

                                      @cssxsh 把历史设备清掉了就好了,也是挺奇怪的,感谢大佬

                                      1 Reply Last reply Reply Quote 0
                                      • akesaka
                                        akesaka last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • Referenced by  H Hamster1024 
                                        • B
                                          Blank038 last edited by

                                          image.png
                                          image.png

                                          大佬,请问一下 error code 237 怎么解决,已根据 https://mirai.mamoe.net/topic/223/ 尝试过

                                          运行系统:Debian 10

                                          已进行过以下操作,均不可用

                                          1. protocol 已尝试过 ANDROID_PHONE, ANDROID_PAD, ANDROID_WATCH, MACOS, IPAD
                                          2. autologin 和 通过代码登录 均已尝试过
                                          3. 历史设备已清空
                                          4. mirai 已更新至 2.13.2
                                          5. 已安装 mirai-device-generator

                                          在每次重新尝试前均删除了 bots 下全部文件

                                          M 1 Reply Last reply Reply Quote 0
                                          • X
                                            xiaoxu last edited by

                                            问题1.png 大佬 更新到2.13.2了 bot文件夹也删除了 也清空历史设备了 还是说我版本过低

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 17
                                            • 18
                                            • 10 / 18
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact