MiraiForum

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

    无法登陆mirai 提示 net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException

    使用交流
    3
    6
    331
    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.
    • Z
      zgf last edited by

      短信验证也不行,换了phone 和pad协议都是提示QQ版本过低,换了watch协议可以过,但是短信验证后抛出DecryptionFailedException。
      请教有没有大佬知道怎么处理这个问题?

      1 Reply Last reply Reply Quote 0
      • D
        diyigemt last edited by

        麻烦提供使用的core版本和尽量完整的日志

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zgf @diyigemt last edited by

          @diyigemt 谢谢,控制台信息如下:

          PS C:\QABot> .\mcl
            20:22:11 [INFO] iTXTech Mirai Console Loader version 1.2.2-60c67fb
            20:22:11 [INFO] https://github.com/iTXTech/mirai-console-loader
            20:22:11 [INFO] This program is licensed under GNU AGPL v3
            20:22:12 [INFO] Fetching Mirai Console Loader Announcement...
            20:22:13 [INFO] Mirai Console Loader Announcement:
          Mirai Console Loader 公告栏
          
          如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
          `- 如 Unsupported image type for ExternalResource *
          `  considering use gif/png/bmp/jpg format.
          `- Tracker: https://github.com/mamoe/mirai/issues/new/choose
          
          常用资源整合
          `- https://mirai.mamoe.net/topic/653
          
          MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。
          
            20:22:13 [INFO] Verifying "net.mamoe:mirai-console" v2.13.0-RC2
            20:22:13 [ERROR] Invalid update channel "maven" for package "net.mamoe:mirai-console"
            20:22:13 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.0-RC2
            20:22:13 [ERROR] Invalid update channel "maven" for package "net.mamoe:mirai-console-terminal"
            20:22:13 [INFO] Verifying "net.mamoe:mirai-core-all" v2.13.0-RC2
            20:22:14 [ERROR] Invalid update channel "maven" for package "net.mamoe:mirai-core-all"
            20:22:14 [INFO] Verifying "org.itxtech:mcl-addon" v1.2.2
            20:22:14 [INFO] Verifying "net.mamoe:mirai-api-http" v2.6.2
            20:22:14 [INFO] Verifying "xyz.cssxsh.mirai:mirai-device-generator" v1.1.3
          2023-02-09 20:22:16 I/main: Starting mirai-console...
          2023-02-09 20:22:16 I/main:
          
          ================================[ Mirai consosle 2.13.0-RC2 ]=================================
           __       __ __                   __  ______                                      __
          |  \     /  \  \                 |  \/      \                                    |  \
          | ▓▓\   /  ▓▓\▓▓ ______   ______  \▓▓  ▓▓▓▓▓▓\ ______  _______   _______  ______ | ▓▓ ______
          | ▓▓▓\ /  ▓▓▓  \/      \ |      \|  \ ▓▓   \▓▓/      \|       \ /       \/      \| ▓▓/      \
          | ▓▓▓▓\  ▓▓▓▓ ▓▓  ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓     |  ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\  ▓▓▓▓▓▓▓  ▓▓▓▓▓▓\ ▓▓  ▓▓▓▓▓▓\
          | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓   \▓▓/      ▓▓ ▓▓ ▓▓   __| ▓▓  | ▓▓ ▓▓  | ▓▓\▓▓    \| ▓▓  | ▓▓ ▓▓ ▓▓    ▓▓
          | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓     |  ▓▓▓▓▓▓▓ ▓▓ ▓▓__/  \ ▓▓__/ ▓▓ ▓▓  | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
          | ▓▓  \▓ | ▓▓ ▓▓ ▓▓      \▓▓    ▓▓ ▓▓\▓▓    ▓▓\▓▓    ▓▓ ▓▓  | ▓▓       ▓▓\▓▓    ▓▓ ▓▓\▓▓     \
           \▓▓      \▓▓\▓▓\▓▓       \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓   \▓▓\▓▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓
          
          
          2023-02-09 20:22:16 I/main: Backend: version 2.13.0-RC2, built on 2022-10-20 10:15:53.
          2023-02-09 20:22:16 I/main: Frontend Terminal: version 2.13.0-RC2, provided by Mamoe Technologies
          2023-02-09 20:22:16 I/main: Welcome to visit https://mirai.mamoe.net/
          2023-02-09 20:22:16 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
          2023-02-09 20:22:16 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
          2023-02-09 20:22:16 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
          2023-02-09 20:22:16 I/plugin: Successfully loaded plugin MCL Addon v1.2.2
          2023-02-09 20:22:16 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.6.2
          2023-02-09 20:22:16 I/plugin: Successfully loaded plugin mirai-device-generator v1.1.3
          2023-02-09 20:22:17 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
          2023-02-09 20:22:17 I/MCL Addon: iTXTech MCL Version: 1.2.2-60c67fb
          2023-02-09 20:22:17 I/Mirai HTTP API: ********************************************************
          2023-02-09 20:22:17 I/http adapter: >>> [http adapter] is listening at http://localhost:8080
          2023-02-09 20:22:17 I/ws adapter: >>> [ws adapter] is listening at ws://localhost:8080
          2023-02-09 20:22:17 I/Mirai HTTP API: Http api server is running with verifyKey: 601519305
          2023-02-09 20:22:17 I/Mirai HTTP API: adaptors: [http,ws]
          2023-02-09 20:22:17 I/Mirai HTTP API: ********************************************************
          2023-02-09 20:22:17 I/main: 3 plugin(s) enabled.
          2023-02-09 20:22:17 I/main: mirai-console started successfully.
          /login  <remove qq id>  <remove password> ANDROID_PAD
          2023-02-09 20:23:39 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭.
          2023-02-09 20:23:39 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.
          2023-02-09 20:23:39 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...
          Login failed: net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException
          2023-02-09 20:23:42 E/console: net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException
          net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException
                  at net.mamoe.mirai.internal.utils.crypto.TEA.fail(TEA.kt:299)
                  at net.mamoe.mirai.internal.utils.crypto.TEA.doOption$decrypt(TEA.kt:275)
                  at net.mamoe.mirai.internal.utils.crypto.TEA.doOption(TEA.kt:295)
                  at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt(TEA.kt:319)
                  at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt$default(TEA.kt:318)
                  at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLoginExt.analyzeTlv106(WtLoginExt.kt:623)
                  at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.onLoginSuccess(WtLogin.kt:368)
                  at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.decode(WtLogin.kt:231)
                  at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:491)
                  at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:157)
                  at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:102)
                  at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:126)
                  at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt)
                  at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt)
                  at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
                  at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
                  at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
                  at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
                  at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
                  at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
                  at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
                  at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:126)
                  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                  at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
                  at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
                  at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
                  at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
                  at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
                  at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
                  at java.base/java.lang.Thread.run(Unknown Source)
          
          2023-02-09 20:23:42 I/Bot.1429949254: Bot cancelled: Bot closed
          >
          
          1 Reply Last reply Reply Quote 0
          • Z
            zgf last edited by

            已经解决了。删除了cache,升级到2.14就好了

            looper 1 Reply Last reply Reply Quote 0
            • looper
              looper @zgf last edited by

              @zgf 是升级哪个为2.14版本?我这边突然也出现这种情况,之前启动都是正常的

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zgf @looper last edited by

                @looper https://mirai.mamoe.net/topic/1653/升级-mirai-至-2-14-0-使用新的短信验证方法解决设备验证/316

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact