没有找到对应 8.9.58 的服务配置
-
今天用了2.15.+的mcl,使用fix-protocol-version-1.9.6.mirai2.jar文件与unidbg-fetch-qsign(已按论坛进行设置)进行8.9.63配置后仍出现下列问题:
2023-07-18 20:21:29 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17.
2023-07-18 20:21:29 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies
2023-07-18 20:21:29 I/main: Welcome to visit https://mirai.mamoe.net/
2023-07-18 20:21:30 I/fix-protocol-version: 协议版本检查更新...
2023-07-18 20:21:30 I/fix-protocol-version: 注册服务...
2023-07-18 20:21:30 I/fix-protocol-version: 服务配置文件 file:///E:/BOT/mirai/mcl-2.1.2/KFCFactory.json
2023-07-18 20:21:30 I/plugin: Successfully loaded plugin fix-protocol-version v1.9.6
2023-07-18 20:21:30 I/plugin: Successfully loaded plugin MCL Addon v2.1.1
2023-07-18 20:21:31 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
2023-07-18 20:21:31 I/fix-protocol-version: 当前各协议版本日期:
ANDROID_PHONE 8.9.58.11170 2023-05-19T11:35+08:00
ANDROID_PAD 8.9.58.11170 2023-05-19T11:35+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:002023-07-18 20:21:31 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
2023-07-18 20:21:31 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2023-07-18 20:21:31 I/main: 2 plugin(s) enabled.
2023-07-18 20:21:31 I/main: Auto-login 198144592, protocol: ANDROID_PHONE, heartbeatStrategy: STAT_HB
2023-07-18 20:21:31 W/EncryptService.alert: Encrypt service was loaded: KFCFactory(config=file:///E:/BOT/mirai/mcl-2.1.2/KFCFactory.json)
2023-07-18 20:21:31 W/EncryptService.alert: All outgoing message may be leaked by this service.
2023-07-18 20:21:31 W/EncryptService.alert: Use this service if and only if you trusted this service and the service provider.
2023-07-18 20:21:31 W/EncryptService.alert: Service details:
2023-07-18 20:21:31 W/EncryptService.alert:- Jvm Class: class xyz.cssxsh.mirai.tool.KFCFactory 2023-07-18 20:21:31 W/EncryptService.alert:
- ClassLoader: JvmPluginClassLoader{fix-protocol-version-1.9.6.mirai2.jar}
2023-07-18 20:21:31 W/EncryptService.alert:- Source: file:/E:/BOT/mirai/mcl-2.1.2/plugins/fix-protocol-version-1.9.6.mirai2.jar 2023-07-18 20:21:31 W/EncryptService.alert:
- Protected Domain: ProtectionDomain (file:/E:/BOT/mirai/mcl-2.1.2/plugins/fix-protocol-version-1.9.6.mirai2.jar <no signer certificates>)
JvmPluginClassLoader{fix-protocol-version-1.9.6.mirai2.jar}
<no principals>
java.security.Permissions@5bb2fb2b (
("java.io.FilePermission" "E:\BOT\mirai\mcl-2.1.2\plugins\fix-protocol-version-1.9.6.mirai2.jar" "read")
)2023-07-18 20:21:31 E/main: java.util.NoSuchElementException: 没有找到对应 8.9.58 的服务配置,file:///E:/BOT/mirai/mcl-2.1.2/KFCFactory.json
java.util.NoSuchElementException: 没有找到对应 8.9.58 的服务配置,file:///E:/BOT/mirai/mcl-2.1.2/KFCFactory.json
at fix-protocol-version-1.9.6.mirai2.jar//xyz.cssxsh.mirai.tool.KFCFactory.createForBot(KFCFactory.kt:77)
at net.mamoe.mirai.internal.network.components.EncryptServiceHolderImpl.<init>(EncryptServiceHolder.kt:49)
at net.mamoe.mirai.internal.QQAndroidBot.createBotLevelComponents(QQAndroidBot.kt:288)
at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:192)
at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:191)
at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:47)
at net.mamoe.mirai.internal.QQAndroidBot.getDefaultBotLevelComponents(QQAndroidBot.kt:191)
at net.mamoe.mirai.internal.QQAndroidBot.createNetworkLevelComponents(QQAndroidBot.kt:300)
at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:312)
at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:305)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelectorKt$KeepAliveNetworkHandlerSelector$1.createInstance(AbstractKeepAliveNetworkHandlerSelector.kt:277)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.refreshInstance(AbstractKeepAliveNetworkHandlerSelector.kt:249)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.getCurrentInstanceOrCreate(AbstractKeepAliveNetworkHandlerSelector.kt:57)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getContext(SelectorNetworkHandler.kt:51)
at net.mamoe.mirai.internal.QQAndroidBot.getComponents(QQAndroidBot.kt:189)
at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:154)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge$doStart$11$1.invokeSuspend(MiraiConsoleImplementationBridge.kt:426)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:369)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.itxtech.mcl.Utility.bootJars(Utility.java:86)
at org.itxtech.mcl.Utility.bootJars(Utility.java:76)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:98)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:151)
at org.itxtech.mcl.Loader.start(Loader.java:196)
at org.itxtech.mcl.Loader.main(Loader.java:84)
Suppressed: java.util.NoSuchElementException: 没有找到对应 8.9.58 的服务配置,file:///E:/BOT/mirai/mcl-2.1.2/KFCFactory.json
at fix-protocol-version-1.9.6.mirai2.jar//xyz.cssxsh.mirai.tool.KFCFactory.createForBot(KFCFactory.kt:77)
at net.mamoe.mirai.internal.network.components.EncryptServiceHolderImpl.<init>(EncryptServiceHolder.kt:49)
at net.mamoe.mirai.internal.QQAndroidBot.createBotLevelComponents(QQAndroidBot.kt:288)
at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:192)
at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:191)
at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:47)
at net.mamoe.mirai.internal.QQAndroidBot.getDefaultBotLevelComponents(QQAndroidBot.kt:191)
at net.mamoe.mirai.internal.QQAndroidBot.createNetworkLevelComponents(QQAndroidBot.kt:300)
at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:312)
at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:305)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelectorKt$KeepAliveNetworkHandlerSelector$1.createInstance(AbstractKeepAliveNetworkHandlerSelector.kt:277)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.refreshInstance(AbstractKeepAliveNetworkHandlerSelector.kt:249)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.getCurrentInstanceOrCreate(AbstractKeepAliveNetworkHandlerSelector.kt:57)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getContext(SelectorNetworkHandler.kt:51)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler$scope$2.invoke(SelectorNetworkHandler.kt:54)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler$scope$2.invoke(SelectorNetworkHandler.kt:53)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getScope(SelectorNetworkHandler.kt:53)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.access$getScope(SelectorNetworkHandler.kt:45)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.resumeConnection$suspendImpl(SelectorNetworkHandler.kt:130)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.resumeConnection(SelectorNetworkHandler.kt)
at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:145)
... 27 more2023-07-18 20:21:31 I/Bot.198144592: Bot cancelled: Job was cancelled
2023-07-18 20:21:31 E/Bot.198144592: java.util.NoSuchElementException: 没有找到对应 8.9.58 的服务配置,file:///E:/BOT/mirai/mcl-2.1.2/KFCFactory.json
java.util.NoSuchElementException: 没有找到对应 8.9.58 的服务配置,file:///E:/BOT/mirai/mcl-2.1.2/KFCFactory.json
at fix-protocol-version-1.9.6.mirai2.jar//xyz.cssxsh.mirai.tool.KFCFactory.createForBot(KFCFactory.kt:77)
at net.mamoe.mirai.internal.network.components.EncryptServiceHolderImpl.<init>(EncryptServiceHolder.kt:49)
at net.mamoe.mirai.internal.QQAndroidBot.createBotLevelComponents(QQAndroidBot.kt:288)
at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:192)
at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:191)
at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:47)
at net.mamoe.mirai.internal.QQAndroidBot.getDefaultBotLevelComponents(QQAndroidBot.kt:191)
at net.mamoe.mirai.internal.QQAndroidBot.createNetworkLevelComponents(QQAndroidBot.kt:300)
at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:312)
at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:305)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelectorKt$KeepAliveNetworkHandlerSelector$1.createInstance(AbstractKeepAliveNetworkHandlerSelector.kt:277)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.refreshInstance(AbstractKeepAliveNetworkHandlerSelector.kt:249)
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.getCurrentInstanceOrCreate(AbstractKeepAliveNetworkHandlerSelector.kt:57)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getContext(SelectorNetworkHandler.kt:51)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler$scope$2.invoke(SelectorNetworkHandler.kt:54)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler$scope$2.invoke(SelectorNetworkHandler.kt:53)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getScope(SelectorNetworkHandler.kt:53)
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.close(SelectorNetworkHandler.kt:112)
at net.mamoe.mirai.internal.AbstractBot$coroutineContext$1$1.invoke(AbstractBot.kt:65)
at net.mamoe.mirai.internal.AbstractBot$coroutineContext$1$1.invoke(AbstractBot.kt:59)
at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1392)
at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1520)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323) -
java.util.NoSuchElementException: 没有找到对应 8.9.58 的服务配置,file:///E:/BOT/mirai/mcl-2.1.2/KFCFactory.json
配置文件路径不是都给出来了吗
去检查去调整阿 -
我盲猜一手,是配置文件上的0.0.0没有改成对应版本号
-
先启动mirai,不必登录成功
然后更新登录协议
然后关掉mirai
然后KFCFactory.json里配置对应的协议
然后在此启动mirai进行登录,应该就行了(如果你的qsign没问题的话 -
@凛叶泉奈 qsign用的是8.9.63的话需要在mcl中输入protocol fetch ANDROID_PAD 8.9.63,同时检查KFCFactory里的版本
-
@error00000x1-0 不一定要安卓板子协议,也可以换安卓手机(用安卓板子协议可以同时让自己的手机登录)
-
This post is deleted! -
@cssxsh 改 KFCFactory.json 没用的,问题在于 qsign 最低只支持到 8.9.63,但是 mirai 登陆的时候用的版本是 8.9.58,mirai 找不到对应版本的 qsign 支持,所以寄了。
我也遇到了这个问题,现在在从 mirai 方面想办法解决。
-
@Maplefstar 说明你掌握的信息不够多。
- 使用 fix-protocol-version 可以使用命令
/protocol fetch ANDROID_PHONE 8.9.63
更新协议版本 - 仓库 mrxiaom/qsign 里有 8.9.58 的 unidbg-fetch-qsign 配置
- 使用 fix-protocol-version 可以使用命令
-
@MrXiaoM 谢谢,我刚接触这个,正在使用你所说的第一条解决方案
-
@Sirinhigs 换个版本试下,如果qsign没有你要的版本,就仿照其他版本做一个,除了config都是从QQ的官方apk来的
-
@Sirinhigs 我刚刚说的方法有点麻烦了,其实可以把协议改android_phone
-
@error00000x1-0 谢谢,已经解决了!
-
我还没login就提示没有配置了,按照上面操纵了/protocol fetch ANDROID_PHONE 8.9.63,现在多提示一个
-
@SnowMoonSS 求KFCFactory.json配置,不知道里面要写什么
-
@q272690656 我认为你至少应该读一遍教程
-
This post is deleted! -
@MrXiaoM 我应该读哪个教程,去哪个板块,我其实是按照B站的教程来的https://www.bilibili.com/read/cv24093933
-
@q272690656
这个是 fix-protocol-version 最原始的教程
https://github.com/cssxsh/fix-protocol-version这个是我写的注意事项
https://wiki.mrxiaom.top/mirai/45最近几个月登录方法更新很大,在七月之前的教程大多都是失效的
-
@MrXiaoM 感谢,来的不是时候,也找不到置顶帖