求助:使用fix-protocol-version报错
-
11:30:12 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 11:30:12 [INFO] Runtime: OpenJDK Server VM 11.0.18 (arch: 32) 11:30:12 [INFO] https://github.com/iTXTech/mirai-console-loader 11:30:12 [INFO] This program is licensed under GNU AGPL v3 11:30:18 [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 的插件系统,建议更新。 11:30:18 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0 11:30:21 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.15.0 11:30:21 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0 11:30:23 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 11:30:23 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1 2023-08-04 11:30:32 I/main: Starting mirai-console... 2023-08-04 11:30:32 I/main: ===================================[ Mirai console 2.15.0 ]=================================== __ __ __ __ ______ __ | \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ \/ \ | \| \ ▓▓ \▓▓/ \| \ / \/ \| ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ \| ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓ 2023-08-04 11:30:32 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17. 2023-08-04 11:30:32 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies 2023-08-04 11:30:32 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-08-04 11:30:48 I/fix-protocol-version: 协议版本检查更新... 2023-08-04 11:30:48 I/fix-protocol-version: ANDROID_PAD load from file:///opt/mcl/android_pad.json 2023-08-04 11:30:48 I/fix-protocol-version: 注册服务... 2023-08-04 11:30:48 I/fix-protocol-version: 服务配置文件: file:///opt/mcl/KFCFactory.json 2023-08-04 11:30:48 I/plugin: Successfully loaded plugin fix-protocol-version v1.9.10 2023-08-04 11:30:48 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1 2023-08-04 11:30:48 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-08-04 11:30:50 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-08-04 11:30:50 I/fix-protocol-version: 当前各登录协议版本日期: ANDROID_PHONE 8.9.58.11170 2023-05-19T11:35+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-08-04 11:30:50 I/fix-protocol-version: 当前签名服务配置信息: v8.9.63 by fuqiuluo/unidbg-fetch-qsign from http://127.0.0.1:2231 缺少 v8.9.58 配置 2023-08-04 11:30:51 W/mirai-api-http: USING INITIAL KEY, please edit the key 2023-08-04 11:30:51 I/Mirai HTTP API: ******************************************************** 2023-08-04 11:30:52 I/MahKtorAdapter[http]: Autoreload is disabled because the development mode is off. 2023-08-04 11:30:53 I/MahKtorAdapter[http]: Application started in 1.598 seconds. 2023-08-04 11:30:53 I/MahKtorAdapter[http]: Responding at http://localhost:8080 2023-08-04 11:30:53 I/http adapter: >>> [http adapter] is listening at http://localhost:8080 2023-08-04 11:30:53 I/Mirai HTTP API: Http api server is running with verifyKey: INITKEYCE7LNiwH 2023-08-04 11:30:53 I/Mirai HTTP API: adaptors: [http] 2023-08-04 11:30:53 I/Mirai HTTP API: ******************************************************** 2023-08-04 11:30:53 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2023-08-04 11:30:53 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2023-08-04 11:30:54 I/main: 3 plugin(s) enabled. 2023-08-04 11:30:54 I/main: Auto-login 3467475531, protocol: ANDROID_PAD, heartbeatStrategy: STAT_HB 2023-08-04 11:30:55 W/EncryptService.alert: Encrypt service was loaded: KFCFactory(config=file:///opt/mcl/KFCFactory.json) 2023-08-04 11:30:55 W/EncryptService.alert: All outgoing message may be leaked by this service. 2023-08-04 11:30:55 W/EncryptService.alert: Use this service if and only if you trusted this service and the service provider. 2023-08-04 11:30:55 W/EncryptService.alert: Service details: 2023-08-04 11:30:55 W/EncryptService.alert: `- Jvm Class: class xyz.cssxsh.mirai.tool.KFCFactory 2023-08-04 11:30:55 W/EncryptService.alert: `- ClassLoader: JvmPluginClassLoader{fix-protocol-version-1.9.10.mirai2.jar} 2023-08-04 11:30:55 W/EncryptService.alert: `- Source: file:/opt/mcl/plugins/fix-protocol-version-1.9.10.mirai2.jar 2023-08-04 11:30:55 W/EncryptService.alert: `- Protected Domain: ProtectionDomain (file:/opt/mcl/plugins/fix-protocol-version-1.9.10.mirai2.jar <no signer certificates>) JvmPluginClassLoader{fix-protocol-version-1.9.10.mirai2.jar} <no principals> java.security.Permissions@1a70575 ( ("java.io.FilePermission" "/opt/mcl/plugins/fix-protocol-version-1.9.10.mirai2.jar" "read") ) 2023-08-04 11:30:55 I/KFCFactory: ANDROID_PAD(8.9.63) server type: fuqiuluo/unidbg-fetch-qsign, file:///opt/mcl/KFCFactory.json 2023-08-04 11:30:55 I/KFCFactory: unidbg-fetch-qsign by http://127.0.0.1:2231 about { "code": 0, "msg": "IAA 云天明 章北海", "data": { "version": "1.1.6", "protocol": { "qua": "V1_AND_SQ_8.9.63_4194_YYB_D", "version": "8.9.63", "code": "4194" } } } 2023-08-04 11:31:01 I/UnidbgFetchQsign: Bot(这里码掉) initialize by http://127.0.0.1:2231 2023-08-04 11:31:02 E/main: java.lang.IllegalStateException: Could not initialize class unicorn.Unicorn java.lang.IllegalStateException: Could not initialize class unicorn.Unicorn at fix-protocol-version-1.9.10.mirai2.jar//xyz.cssxsh.mirai.tool.UnidbgFetchQsign.register(UnidbgFetchQsign.kt:83) at fix-protocol-version-1.9.10.mirai2.jar//xyz.cssxsh.mirai.tool.UnidbgFetchQsign.initialize(UnidbgFetchQsign.kt:54) at net.mamoe.mirai.internal.network.components.EcdhInitialPublicKeyUpdaterImpl.initializeSsoSecureEcdh(EcdhInitialPublicKeyUpdater.kt:123) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:224) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$login$1.invokeSuspend(SsoProcessor.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at net.mamoe.mirai.internal.deps.io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62) 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) 2023-08-04 11:31:02 I/Bot.这里码掉: Bot cancelled: Bot closed 2023-08-04 11:31:02 V/Bot.这里码掉: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Failure@751535 2023-08-04 11:31:02 I/main: mirai-console started successfully. >
报错:
2023-08-04 11:31:02 E/main: java.lang.IllegalStateException: Could not initialize class unicorn.Unicorn -
报错的源头是 unidbg-fetch-qsign
-
此回复已被删除! -
@cssxsh 所以我是要换一个版本的unidbg-fetch-qsign?