MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. Jadlokin-Scarlet
    3. 最佳
    J
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 10
    • 帖子 31
    • 最佳 3
    • 有争议的 0
    • 群组 0

    Jadlokin-Scarlet 发布的最佳帖子

    • RE: 协议问题汇报

      mirai 版本
      ===================================[ Mirai console 2.15.0 ]===================================


      | \ / \ \ | / \ |
      | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______
      | ▓▓▓\ / ▓▓▓ / \ | | \ ▓▓ \▓▓/ | \ / / | ▓▓/
      | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓
      | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓
      | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓
      / \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
      | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓
      \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓

      2023-09-11 15:08:48 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17.
      2023-09-11 15:08:48 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies
      协议版本信息
      ANDROID_PHONE 8.9.63.11390 2023-05-26T10:46:18+08:00
      ANDROID_PAD 8.9.63.11390 2023-05-26T10:46:18+08:00
      ANDROID_WATCH 2.0.8 2019-06-03T20:25:31+08:00
      IPAD 8.9.50.611 2023-02-16T15:10:14+08:00
      MACOS 6.8.2.21241 2022-03-14T11:11:35+08:00
      登录方式及使用的协议
      密码登录(ANDROID_PAD)

      出现的问题
      登录不上,日志为

        17:10:37 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8
        17:10:37 [INFO] Runtime: OpenJDK 64-Bit Server VM 11.0.16 (arch: 64)
        17:10:37 [INFO] https://github.com/iTXTech/mirai-console-loader
        17:10:37 [INFO] This program is licensed under GNU AGPL v3
        17:10:38 [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 的插件系统,建议更新。
      
        17:10:38 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0
        17:10:39 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.15.0
        17:10:39 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0
        17:10:40 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1
        17:10:40 [INFO] Verifying "org.bouncycastle:bcprov-jdk15on" v1.64
      2023-09-11 17:10:41 I/main: Starting mirai-console...
      2023-09-11 17:10:41 I/main: 
      
      ===================================[ Mirai console 2.15.0 ]===================================
       __       __ __                   __  ______                                      __
      |  \     /  \  \                 |  \/      \                                    |  \
      | ▓▓\   /  ▓▓\▓▓ ______   ______  \▓▓  ▓▓▓▓▓▓\ ______  _______   _______  ______ | ▓▓ ______
      | ▓▓▓\ /  ▓▓▓  \/      \ |      \|  \ ▓▓   \▓▓/      \|       \ /       \/      \| ▓▓/      \
      | ▓▓▓▓\  ▓▓▓▓ ▓▓  ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓     |  ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\  ▓▓▓▓▓▓▓  ▓▓▓▓▓▓\ ▓▓  ▓▓▓▓▓▓\
      | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓   \▓▓/      ▓▓ ▓▓ ▓▓   __| ▓▓  | ▓▓ ▓▓  | ▓▓\▓▓    \| ▓▓  | ▓▓ ▓▓ ▓▓    ▓▓
      | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓     |  ▓▓▓▓▓▓▓ ▓▓ ▓▓__/  \ ▓▓__/ ▓▓ ▓▓  | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
      | ▓▓  \▓ | ▓▓ ▓▓ ▓▓      \▓▓    ▓▓ ▓▓\▓▓    ▓▓\▓▓    ▓▓ ▓▓  | ▓▓       ▓▓\▓▓    ▓▓ ▓▓\▓▓     \
       \▓▓      \▓▓\▓▓\▓▓       \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓   \▓▓\▓▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓
      
      
      2023-09-11 17:10:41 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17.
      2023-09-11 17:10:41 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies
      2023-09-11 17:10:41 I/main: Welcome to visit https://mirai.mamoe.net/
      2023-09-11 17:11:36 I/org.apache.http.impl.execchain.RetryExec: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://maven.aliyun.com:443: The target server failed to respond
      2023-09-11 17:11:36 I/org.apache.http.impl.execchain.RetryExec: Retrying request to {s}->https://maven.aliyun.com:443
      2023-09-11 17:11:56 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1
      2023-09-11 17:11:56 I/fix-protocol-version: 协议版本检查更新...
      2023-09-11 17:11:56 I/fix-protocol-version: ANDROID_PHONE load from 
       file:///root/android_phone.json
      2023-09-11 17:11:56 I/fix-protocol-version: ANDROID_PAD load from 
       file:///root/android_pad.json
      2023-09-11 17:11:56 I/fix-protocol-version: 注册服务...
      2023-09-11 17:11:56 I/fix-protocol-version: 服务配置文件: 
       file:///root/KFCFactory.json
      2023-09-11 17:11:56 I/plugin: Successfully loaded plugin fix-protocol-version v1.11.0
      2023-09-11 17:11:56 I/plugin: Successfully loaded plugin MCL Addon v2.1.1
      2023-09-11 17:11:57 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
      2023-09-11 17:11:57 I/Mirai HTTP API: ********************************************************
      2023-09-11 17:11:57 I/MahKtorAdapter[http,ws]: Autoreload is disabled because the development mode is off.
      2023-09-11 17:11:57 I/MahKtorAdapter[http,ws]: Application started in 0.157 seconds.
      2023-09-11 17:11:57 I/MahKtorAdapter[http,ws]: Responding at http://0.0.0.0:8085
      2023-09-11 17:11:57 I/http adapter: >>> [http adapter] is listening at http://0.0.0.0:8085
      2023-09-11 17:11:57 I/ws adapter: >>> [ws adapter] is listening at ws://0.0.0.0:8085
      2023-09-11 17:11:57 I/Mirai HTTP API: Http api server is running with verifyKey: *********
      2023-09-11 17:11:57 I/Mirai HTTP API: adaptors: [http,ws]
      2023-09-11 17:11:57 I/Mirai HTTP API: ********************************************************
      2023-09-11 17:11:57 I/fix-protocol-version: protocol commands: info, load, fetch
      example:
        protocol info
        protocol load ANDROID_PHONE
        protocol fetch ANDROID_PAD 8.9.63
      
      2023-09-11 17:11:57 I/fix-protocol-version: 当前各登录协议版本日期: 
      ANDROID_PHONE  8.9.63.11390  2023-05-26T10:46:18+08:00
      ANDROID_PAD    8.9.63.11390  2023-05-26T10:46:18+08:00
      ANDROID_WATCH  2.0.8         2019-06-03T20:25:31+08:00
      IPAD           8.9.50.611    2023-02-16T15:10:14+08:00
      MACOS          6.8.2.21241   2022-03-14T11:11:35+08:00
      
      2023-09-11 17:11:57 I/fix-protocol-version: 当前签名服务配置信息: 
      v8.9.63 by fuqiuluo/unidbg-fetch-qsign from *********
      
      2023-09-11 17:11:57 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
      2023-09-11 17:11:57 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
      2023-09-11 17:11:57 I/main: 3 plugin(s) enabled.
      2023-09-11 17:11:57 I/main: Auto-login *********, protocol: ANDROID_PAD, heartbeatStrategy: STAT_HB
      2023-09-11 17:11:57 W/EncryptService.alert: Encrypt service was loaded: KFCFactory(config=file:///root/KFCFactory.json)
      2023-09-11 17:11:57 W/EncryptService.alert: All outgoing message may be leaked by this service.
      2023-09-11 17:11:57 W/EncryptService.alert: Use this service if and only if you trusted this service and the service provider.
      2023-09-11 17:11:57 W/EncryptService.alert: Service details:
      2023-09-11 17:11:57 W/EncryptService.alert:   `- Jvm Class: class xyz.cssxsh.mirai.tool.KFCFactory
      2023-09-11 17:11:57 W/EncryptService.alert:   `- ClassLoader: JvmPluginClassLoader{fix-protocol-version-1.11.0.mirai2.jar}
      2023-09-11 17:11:57 W/EncryptService.alert:   `- Source: file:/root/plugins/fix-protocol-version-1.11.0.mirai2.jar
      2023-09-11 17:11:57 W/EncryptService.alert:   `- Protected Domain: ProtectionDomain  (file:/root/plugins/fix-protocol-version-1.11.0.mirai2.jar <no signer certificates>)
       JvmPluginClassLoader{fix-protocol-version-1.11.0.mirai2.jar}
       <no principals>
       java.security.Permissions@7cec3975 (
       ("java.io.FilePermission" "/root/plugins/fix-protocol-version-1.11.0.mirai2.jar" "read")
      )
      
      
      2023-09-11 17:11:57 I/KFCFactory: ANDROID_PAD(8.9.63) EncryptService by fuqiuluo/unidbg-fetch-qsign from file:///root/KFCFactory.json
      2023-09-11 17:11:57 I/KFCFactory: unidbg-fetch-qsign by ********* about 
      {
          "code": 0,
          "msg": "IAA 云天明 章北海",
          "data": {
              "version": "1.1.9",
              "protocol": {
                  "qua": "V1_AND_SQ_8.9.63_4194_YYB_D",
                  "version": "8.9.63",
                  "code": "4194"
              }
          }
      }
      2023-09-11 17:11:58 I/UnidbgFetchQsign: Bot(*********) initialize by *********
      2023-09-11 17:12:06 I/UnidbgFetchQsign: Bot(*********) register, Instance loaded successfully.
      2023-09-11 17:12:06 I/UnidbgFetchQsign: Bot(*********) initialize complete
      2023-09-11 17:12:10 E/main: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
      net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
      	at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263)
      	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247)
      	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      	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)
      	Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(*********), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=)
      		at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490)
      		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)
      		... 5 more
      Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(*********), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=)]
      
      2023-09-11 17:12:10 V/Bot.1701008067: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Failure@6d5de79a
      2023-09-11 17:12:10 I/main: mirai-console started successfully.
      2023-09-11 17:12:12 W/UnidbgFetchQsign: with CoroutineName(SendMessage)
      java.lang.RuntimeException: Bot(1701008067) callback trpc.o3.ecdh_access.EcdhAccess.SsoSecureA2Establish
      	at fix-protocol-version-1.11.0.mirai2.jar//xyz.cssxsh.mirai.tool.UnidbgFetchQsign$callback$1.invokeSuspend(UnidbgFetchQsign.kt:236)
      	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      	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)
      Caused by: java.util.concurrent.CancellationException: net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
      	at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.sendAndExpect$suspendImpl(SelectorNetworkHandler.kt:157)
      	at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.sendAndExpect(SelectorNetworkHandler.kt)
      	at net.mamoe.mirai.internal.network.handler.NetworkHandler.sendAndExpect$default(NetworkHandler.kt:194)
      	at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt$createChannelProxy$1.sendMessage(OutgoingPacket.kt:328)
      	at fix-protocol-version-1.11.0.mirai2.jar//xyz.cssxsh.mirai.tool.UnidbgFetchQsign$callback$1.invokeSuspend(UnidbgFetchQsign.kt:229)
      	... 6 more
      Caused by: net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
      	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:249)
      	... 6 more
      	Suppressed: net.mamoe.mirai.internal.network.handler.selector.SelectorRequireReconnectException
      Caused by: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
      	at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263)
      	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247)
      	... 6 more
      	Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(*********), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=)
      		at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490)
      		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)
      		... 5 more
      Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(*********), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=)]
      
      2023-09-11 17:12:12 I/UnidbgFetchQsign: Bot(*********) destroy, Instance destroyed successfully.
      2023-09-11 17:12:12 I/Bot.*********: Bot cancelled: Bot closed
      
      发布在 官方公告
      J
      Jadlokin-Scarlet
    • RE: java使用Http Adapter实现群文件上传时,文件发送成功,但是http请求返回500

      这个jvm参数是加到mcl启动指令里的,不是加到调用端的

      发布在 BUG反馈
      J
      Jadlokin-Scarlet
    • mcl没有mirai-api-http 2.x吗

      mcl没有mirai-api-http 2.x吗

      发布在 HTTP API和第三方SDK
      J
      Jadlokin-Scarlet
    • 1 / 1