疑似unidbg-fetch-qsign持续崩溃 导致Mirai无法正常运作
-
Java JDK版本: Zulu 21
查阅过各种issue和文档了,包括#45 但是Mirai时不时还是会停止工作
具体报错如下2024-02-06 11:46:05 E/console: xyz.cssxsh.mirai.tool.KFCStateException: unidbg-fetch-qsign 服务异常, 请检查其日志, 'First use must be submitted with android_id and guid.' xyz.cssxsh.mirai.tool.KFCStateException: unidbg-fetch-qsign 服务异常, 请检查其日志, 'First use must be submitted with android_id and guid.' at fix-protocol-version-1.12.0.mirai2.jar//xyz.cssxsh.mirai.tool.UnidbgFetchQsign.check(UnidbgFetchQsign.kt:109) at fix-protocol-version-1.12.0.mirai2.jar//xyz.cssxsh.mirai.tool.UnidbgFetchQsign.sign(UnidbgFetchQsign.kt:192) at fix-protocol-version-1.12.0.mirai2.jar//xyz.cssxsh.mirai.tool.UnidbgFetchQsign.qSecurityGetSign(UnidbgFetchQsign.kt:173) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.buildRawUniPacket(OutgoingPacket.kt:139) at net.mamoe.mirai.internal.network.protocol.packet.chat.receive.MessageSvcPbSendMsg.createToGroupImpl$mirai_core(MessageSvc.PbSendMsg.kt:744) at net.mamoe.mirai.internal.network.protocol.packet.chat.receive.MessageSvc_PbSendMsgKt.createToGroup(MessageSvc.PbSendMsg.kt:585) at net.mamoe.mirai.internal.message.protocol.outgoing.GroupMessageProtocolStrategy.createPacketsForGeneralMessage$suspendImpl(MessageProtocolStrategy.kt:150) at net.mamoe.mirai.internal.message.protocol.outgoing.GroupMessageProtocolStrategy.createPacketsForGeneralMessage(MessageProtocolStrategy.kt) at net.mamoe.mirai.internal.message.protocol.outgoing.GroupMessageProtocolStrategy.createPacketsForGeneralMessage(MessageProtocolStrategy.kt:139) at net.mamoe.mirai.internal.message.protocol.impl.GeneralMessageSenderProtocol$GeneralMessageSender.process(GeneralMessageSenderProtocol.kt:66) at net.mamoe.mirai.internal.message.protocol.outgoing.OutgoingMessageProcessorAdapter.process(OutgoingMessagePipelineProcessor.kt:26) at net.mamoe.mirai.internal.message.protocol.outgoing.OutgoingMessageProcessorAdapter.process(OutgoingMessagePipelineProcessor.kt:20) at net.mamoe.mirai.internal.pipeline.AbstractProcessorPipeline.process$suspendImpl(ProcessorPipeline.kt:287) at net.mamoe.mirai.internal.pipeline.AbstractProcessorPipeline.process(ProcessorPipeline.kt) at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacadeImpl.preprocessAndSendOutgoingImpl(MessageProtocolFacade.kt:364) at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacadeImpl.preprocessAndSendOutgoing(MessageProtocolFacade.kt:348) at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacade$INSTANCE.preprocessAndSendOutgoing(MessageProtocolFacade.kt) at net.mamoe.mirai.internal.contact.AbstractUserKt.sendMessageImpl(AbstractUser.kt:263) at net.mamoe.mirai.internal.contact.CommonGroupImpl.sendMessage$suspendImpl(GroupImpl.kt:221) at net.mamoe.mirai.internal.contact.CommonGroupImpl.sendMessage(GroupImpl.kt) at mirai-administrator-1.4.3.mirai2.jar//xyz.cssxsh.mirai.admin.command.AdminSendCommand.to(AdminSendCommand.kt:86) at mirai-administrator-1.4.3.mirai2.jar//xyz.cssxsh.mirai.admin.command.AdminSendCommand$to$1.invokeSuspend(AdminSendCommand.kt) 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) 2024-02-06 11:46:05 W/Bot.114514: Connection lost, reconnecting... (xyz.cssxsh.mirai.tool.KFCStateException: unidbg-fetch-qsign 服务异常, 请检查其日志, 'First use must be submitted with android_id and guid.') 2024-02-06 11:46:05 V/Bot.114514: Event: BotOfflineEvent.Dropped(bot=Bot(114514), cause=xyz.cssxsh.mirai.tool.KFCStateException: unidbg-fetch-qsign 服务异常, 请检查其日志, 'First use must be submitted with android_id and guid.', reconnect=true) 2024-02-06 11:46:05 W/Bot.114514: Connection lost, reconnecting... (xyz.cssxsh.mirai.tool.KFCStateException: unidbg-fetch-qsign 服务异常, 请检查其日志, 'First use must be submitted with android_id and guid.') 2024-02-06 11:46:05 I/Bot.114514: Reconnected successfully in 0.034s. 2024-02-06 11:46:05 I/UnidbgFetchQsign: Bot(114514) initialize by http://127.0.0.1:11451 2024-02-06 11:46:05 I/UnidbgFetchQsign: Bot(114514) register, The QQ has already loaded an instance, so this time it is deleting the existing instance and creating a new one. 2024-02-06 11:46:05 I/UnidbgFetchQsign: Bot(114514) initialize complete 2024-02-06 11:46:05 V/Bot.114514: Event: BotOfflineEvent.Dropped(bot=Bot(114514), cause=xyz.cssxsh.mirai.tool.KFCStateException: unidbg-fetch-qsign 服务异常, 请检查其日志, 'First use must be submitted with android_id and guid.', reconnect=true) 2024-02-06 11:46:05 W/Bot.114514: Connection lost, reconnecting... (xyz.cssxsh.mirai.tool.KFCStateException: unidbg-fetch-qsign 服务异常, 请检查其日志, 'First use must be submitted with android_id and guid.') 2024-02-06 11:46:05 V/Bot.114514: Event: BotOfflineEvent.Dropped(bot=Bot(114514), cause=xyz.cssxsh.mirai.tool.KFCStateException: unidbg-fetch-qsign 服务异常, 请检查其日志, 'First use must be submitted with android_id and guid.', reconnect=true)
unidbg-qsign的日志 看起來似乎很正常 但是内存占用相比mirai还在工作的时候确实下降了,或许是崩了?
FEBound.transform(7f3c01020000032fc0c9c00005b8d8ea8cbe5c72bb8682000000003633373c00000000) => 11d220af2d951ea6dd76bd9401be64add0ec7aff6f012f951d951d22f7e9d8832ea62e [FEKit_]error: device_info.h:179 jniGetAppVersionName:8.9.63 [FEKit_]info: device_info.h:538 538 [FEKit_]info: device_info.h:540 540 [FEKit_]info: device_info.h:542 542 [FEKit_]info: device_token.h:247 begin pack [FEKit_]info: device_token.h:249 pack buff result len:1412 [FEKit_]info: device_token.h:264 begin sendmessage : len :1412 [FEKit_]info: device_token.h:286 response len :0 [FEKit_]error: device_token.h:290 get token error! errorcode:999,mFailedTimes:1 [FEKit_]info: qq_sign.h:132 [GetSign] cmd:MessageSvc.PbSendMsg [FEKit_]info: device_info.h:620 start create xwid step2 Feb 06, 2024 11:18:01 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/ Feb 06, 2024 11:18:01 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/a [FEKit_]info: device_info.h:629 create xwid step2 complete ret is 71 [FEKit_]info: device_token.h:89 create new xwId complete FEBound.transform(8589010200000324361326000be6e01cd387f29ea4c64200000000643f674600000000) => df2b20af2d951ea75edb8994020f5c39852da6c89971ff951d951d48ff39ff832ea62e [FEKit_]info: device_info.h:620 start create xwid step2 Feb 06, 2024 11:20:12 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/ Feb 06, 2024 11:20:12 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/a [FEKit_]info: device_info.h:629 create xwid step2 complete ret is 71 [FEKit_]info: device_token.h:89 create new xwId complete FEBound.transform(d9c401020000033021e8a1000dd310a468468bf7ab50200000000023352a3800000000) => 86c920af2d951e55f564269404162c40a4f8193c9fc55d951d951dd7f1ddd4832ea62e [FEKit_]error: device_info.h:179 jniGetAppVersionName:8.9.63 [FEKit_]info: device_info.h:538 538 [FEKit_]info: device_info.h:540 540 [FEKit_]info: device_info.h:542 542 [FEKit_]info: device_token.h:247 begin pack [FEKit_]info: device_token.h:249 pack buff result len:1412 [FEKit_]info: device_token.h:264 begin sendmessage : len :1412 [FEKit_]info: device_token.h:286 response len :0 [FEKit_]error: device_token.h:290 get token error! errorcode:999,mFailedTimes:1 [FEKit_]info: qq_sign.h:132 [GetSign] cmd:wtlogin.exchange_emp [FEKit_]info: device_info.h:620 start create xwid step2 Feb 06, 2024 11:20:14 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/ Feb 06, 2024 11:20:14 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/a [FEKit_]info: device_info.h:629 create xwid step2 complete ret is 71 [FEKit_]info: device_token.h:89 create new xwId complete FEBound.transform(ffb30102000003eb2e1b3e000979c8a691121376d53ee9000000004b644c6d00000000) => 91e020af2d951e0bf1d134940070344bcd5363fb01fc08951d951df64853a1832ea62e [FEKit_]error: device_info.h:179 jniGetAppVersionName:8.9.63 [FEKit_]info: device_info.h:538 538 [FEKit_]info: device_info.h:540 540 [FEKit_]info: device_info.h:542 542 [FEKit_]info: device_token.h:247 begin pack [FEKit_]info: device_token.h:249 pack buff result len:1412 [FEKit_]info: device_token.h:264 begin sendmessage : len :1412 [FEKit_]info: device_token.h:286 response len :0 [FEKit_]error: device_token.h:290 get token error! errorcode:999,mFailedTimes:1 [FEKit_]info: qq_sign.h:132 [GetSign] cmd:MessageSvc.PbSendMsg [FEKit_]info: device_info.h:620 start create xwid step2 Feb 06, 2024 11:23:02 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/ Feb 06, 2024 11:23:02 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/a [FEKit_]info: device_info.h:629 create xwid step2 complete ret is 71 [FEKit_]info: device_token.h:89 create new xwId complete FEBound.transform(9d16010200000320f5c4f50002c308d22c28cd343dd39d00000000303e374100000000) => c85820af2d951ea5b477cf9403c604b8006437d2aebf46951d951d24fee9fb832ea62e [FEKit_]error: device_info.h:179 jniGetAppVersionName:8.9.63 [FEKit_]info: device_info.h:538 538 [FEKit_]info: device_info.h:540 540 [FEKit_]info: device_info.h:542 542 [FEKit_]info: device_token.h:247 begin pack [FEKit_]info: device_token.h:249 pack buff result len:1412 [FEKit_]info: device_token.h:264 begin sendmessage : len :1412 [FEKit_]info: device_token.h:286 response len :0 [FEKit_]error: device_token.h:290 get token error! errorcode:999,mFailedTimes:1 [FEKit_]info: qq_sign.h:132 [GetSign] cmd:MessageSvc.PbSendMsg [FEKit_]info: device_info.h:620 start create xwid step2 Feb 06, 2024 11:23:11 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/ Feb 06, 2024 11:23:11 AM moe.fuqiuluo.unidbg.env.FileResolver resolve WARNING: Couldn't find file: /mnt/sdcard/jly1/a [FEKit_]info: device_info.h:629 create xwid step2 complete ret is 71 [FEKit_]info: device_token.h:89 create new xwId complete FEBound.transform(dfd40102000003e82e1b3e000148201ef9562284108816000000004329463000000000) => 814920af2d951e0ef1d13494095e1c379638b6527d06b2951d951df7905fdc832ea62e FEBound.transform(9ef00102000003e5f3c6c30003b9201231017e5fa3510e0000000033663b6800000000) => c91620af2d951e02bc72ba9407b01c38edae8b4997c311951d951d274ae7a4832ea62e FEBound.transform(76650102000003c127e2d70001adb09ee0df51ca96db5100000000723e744600000000) => 1aba20af2d951e64fa6ed094096c8c574e47708eb5b783951d951dbefe72ff832ea62e [FEKit_]info: qq_sign.h:132 [GetSign] cmd:wtlogin.login FEBound.transform(fe0d0102000003ea29e0a9000df638b6b30b27114b74c6000000003226382a00000000) => 99a120af2d951e03f0652c94049fd42bb5a5bf71efd832951d951d2e9aee12832ea62e FEBound.transform(a7840102000003c1f4c5f4000c7380e823725d85ba020f000000002e33323900000000) => 7b2920af2d951e64b77ac1940d767caf0583775a6c9b1b951d951ddbf7e8d3832ea62e [FEKit_]info: qq_sign.h:132 [GetSign] cmd:wtlogin.login FEBound.transform(fe8d0102000003c5c3f6d30009c40082ba666c018480d200000000366a387200000000) => 992120af2d951e62dc22da9400c20ce8b2b85aa14905cf951d951d2245ee4d832ea62e FEBound.transform(f7e8010200000330c5f4c5000dd6f8aed7f2138c2599b20000000047264b2c00000000) => 9b7420af2d951e55d427bf94041fc4478b1363535130ef951d951df59a5718832ea62e [FEKit_]info: qq_sign.h:132 [GetSign] cmd:wtlogin.login FEBound.transform(f71d0102000003c6c3f6d300098d5010319e9b3a4e64e3000000006345694900000000) => 9b5120af2d951e6cdc22da9400acbc33ed9cd9deeb580e951d951d47c130f3832ea62e FEBound.transform(f3e601020000032726e3d60008b2900ba85332cee205bf0000000062736a7500000000) => 957820af2d951ea8fe6bd9940bb89c8a7430c688d69eeb951d951d4ee73d40832ea62e [FEKit_]info: qq_sign.h:132 [GetSign] cmd:wtlogin.login FEBound.transform(f7a5010200000320371227000595b0e644e3a5b41661df00000000293e2b4600000000) => 9b0a20af2d951ea55ade809401458cabf7704c627553cb951d951dddfed7ff832ea62e FEBound.transform(ebe801020000039ef3c6c3000130b088afc02fc4d1f8a0000000004370477600000000) => 437420af2d951ebabc72ba9409e48cef71c6bd8202469d951d951df7ec594f832ea62e [FEKit_]info: qq_sign.h:132 [GetSign] cmd:wtlogin.login FEBound.transform(6f5f0102000003e9f2c7c2000d9c60d4bcbe4b111f3b66000000002b21332300000000) => a13720af2d951e00b979b3940443acb0b0ecf97173f772951d951dd699e615832ea62e
尝试过的更改:
更新所有plugins以及qsign
在qsign的config.json中使用各种unidbg的实现
JVM一顿乱调非常感谢大佬们的努力 还请大佬指教
-
目前在用@MrXiaoM 大佬写的Plugin 非常非常稳定 而且比我自行编译的unidbg占用小的多 好奇是怎么做到的(゚Д゚)
(大佬加个QQ嘛呜呜呜 -