qsign —— 签名 不要指望用来解决code=45
-
Login failed: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
2023-07-26 18:54:04 E/console: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.这是怎么回事呢?
-
@mythm 不会截日志可以发完整的
你这就跟只问了“登录失败了怎么回事”是等价的
-
2023-07-27 00:29:08 E/console: 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: java.lang.IllegalStateException: Mutex is not locked
at kotlinx.coroutines.sync.MutexImpl.unlock(Mutex.kt:326)
at qsign-1.0.5.mirai2.jar//moe.fuqiuluo.api.UnidbgFetchQSign.sign(UnidbgFetchQSign.kt:342)
at qsign-1.0.5.mirai2.jar//moe.fuqiuluo.api.UnidbgFetchQSign.sign$default(UnidbgFetchQSign.kt:141)
at qsign-1.0.5.mirai2.jar//top.mrxiaom.qsign.QSignService$qSecurityGetSign$data$1.invokeSuspend(QSignService.kt:95)
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 qsign-1.0.5.mirai2.jar//top.mrxiaom.qsign.QSignService.qSecurityGetSign(QSignService.kt:94)
at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket(OutgoingPacket.kt:382)
at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket$default(OutgoingPacket.kt:352)
at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1.invoke(WtLogin9.kt:30)
at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1.invoke(WtLogin9.kt:27)
at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.buildLoginOutgoingPacket(OutgoingPacket.kt:310)
at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.buildLoginOutgoingPacket$default(OutgoingPacket.kt:278)
at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9.Password(WtLogin9.kt:27)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin$lambda$8$SSOWtLogin9(SsoProcessor.kt:417)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:423)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doSlowLogin$suspendImpl(SsoProcessor.kt:175)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doSlowLogin(SsoProcessor.kt)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:273)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$login$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: java.lang.IllegalStateException: Mutex is not locked] -
@mythm 降级到 1.0.4 再试
-
@MrXiaoM 请问加这段是这样加的嘛
-
@子君9297 是这样
-
qsign 1.0.6 更新:
- 添加 8.9.71 支持
- 同步一些将在 unidbg-fetch-qsign 1.1.8 更新的内容 (更新 8.9.71、绕过部分检测等)
- 机器人离线时销毁签名服务会话
-
自 qsign 1.0.6 起,你可以在 Maven Central 引用本插件作为依赖:
https://central.sonatype.com/artifact/top.mrxiaom/qsign -
qsign 1.0.7 更新:
- 同步 unidbg-fetch-qsign
1.1.7b2
的更新 (修复8.9.73
无法使用的问题,添加内存信息伪造和cpu信息伪造) - 添加
8.9.73
的协议信息 - 添加
/qsign
命令
- 同步 unidbg-fetch-qsign
-
打扰一下大佬,我在登录时遇到了一个问题,在安装qsign并启动mirai之后(使用的默认配置未修改),结果出现了下面的报错
2023-08-11 14:02:19 I/stdout: LR=RX@0x4018d918[libc.so]0x1d918 2023-08-11 14:02:19 I/stdout: SP=0x40eaad10 2023-08-11 14:02:19 I/stdout: PC=RX@0x401da404[libc.so]0x6a404 2023-08-11 14:02:19 I/stdout: nzcv: N=0, Z=1, C=1, V=0, EL0, use SP_EL0 2023-08-11 14:02:19 D/com.github.unidbg.unix.UnixSyscallHandler: gettimeofday tv=RW@0x40ea af70, tz=null 2023-08-11 14:02:19 I/stdout: 2023-08-11 14:02:19 I/stdout: >----------------------------------------------------------- ------------------< 2023-08-11 14:02:19 I/stdout: [14:02:19 822]gettimeofday tv=RW@0x40eaaf70, md5=7dea362b3fa c8e00956a4952a3d4f474, hex=0000000000000000 2023-08-11 14:02:19 I/stdout: size: 8 2023-08-11 14:02:19 I/stdout: 0000: 00 00 00 00 00 00 00 00 ... ..... 2023-08-11 14:02:19 I/stdout: ^----------------------------------------------------------- ------------------^ 2023-08-11 14:02:19 I/stdout: 2023-08-11 14:02:19 I/stdout: >----------------------------------------------------------- ------------------< 2023-08-11 14:02:19 I/stdout: [14:02:19 825]gettimeofday tv after tv_sec=1691733739, tv_us ec=825000, tv=RW@0x40eaaf70, md5=81cbc0cae1bddfee2ff67a91f0088747, hex=ebced56400000000 2023-08-11 14:02:19 I/stdout: size: 8 2023-08-11 14:02:19 I/stdout: 0000: EB CE D5 64 00 00 00 00 ... d.... 2023-08-11 14:02:19 I/stdout: ^----------------------------------------------------------- ------------------^ 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.pointer.UnidbgPointer: getString pointer=RX@0x40c8 7ec6[libfekit.so]0x907ec6, size=8, encoding=UTF-8, ret=[FEKit_] 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: NewStringUTF bytes=R X@0x40c87ec6[libfekit.so]0x907ec6, string=[FEKit_] 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.BaseVM: addObject hash=0x75488bb c, global=false 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.pointer.UnidbgPointer: getString pointer=RW@0x40ee 3040, size=54, encoding=UTF-8, ret=device_info.h:629 create xwid step2 complete ret is 71 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: NewStringUTF bytes=R W@0x40ee3040, string=device_info.h:629 create xwid step2 complete ret is 71 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.BaseVM: addObject hash=0x3af1af7 8, global=false 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.pointer.UnidbgPointer: getString pointer=RW@0x40ea e4aa, size=1, encoding=UTF-8, ret=i 2023-08-11 14:02:19 D/com.github.unidbg.pointer.UnidbgPointer: getString pointer=RW@0x40ea e4c2, size=40, encoding=UTF-8, ret=(Ljava/lang/String;ILjava/lang/String;)V 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetMethodID class=un idbg@0x571739a, methodName=i, args=(Ljava/lang/String;ILjava/lang/String;)V, LR=RX@0x406bf 84c[libfekit.so]0x33f84c 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DvmClass: getMethodID signature= com/tencent/mobileqq/fe/IFEKitLog->i(Ljava/lang/String;ILjava/lang/String;)V, hash=0xfffff fffd8f7802e 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: CallVoidMethodV obje ct=unidbg@0x7dbf862b, jmethodID=unidbg@0xffffffffd8f7802e, va_list=RW@0x40eae2a0 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.VaList64: VaList64 base_p=0x40ea e330, base_integer=0x40eae250, base_float=0x40eae220, mask_integer=0xffffffe8, mask_float= 0xffffff80, args=(Ljava/lang/String;ILjava/lang/String;)V, shorty=[Ljava/lang/String;, I, Ljava/lang/String;] 2023-08-11 14:02:19 V/QSecJni: [FEKit_]info: device_info.h:629 create xwid step2 complete ret is 71 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: DeleteLocalRef objec t=unidbg@0x75488bbc 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: DeleteLocalRef objec t=unidbg@0x3af1af78 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.pointer.UnidbgPointer: getString pointer=RX@0x40c8 7ec6[libfekit.so]0x907ec6, size=8, encoding=UTF-8, ret=[FEKit_] 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: NewStringUTF bytes=R X@0x40c87ec6[libfekit.so]0x907ec6, string=[FEKit_] 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.BaseVM: addObject hash=0x4fe23aa f, global=false 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.pointer.UnidbgPointer: getString pointer=RW@0x40ec 2030, size=42, encoding=UTF-8, ret=device_token.h:89 create new xwId complete 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: NewStringUTF bytes=R W@0x40ec2030, string=device_token.h:89 create new xwId complete 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.BaseVM: addObject hash=0x1199cdd c, global=false 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.pointer.UnidbgPointer: getString pointer=RW@0x40ea e75a, size=1, encoding=UTF-8, ret=i 2023-08-11 14:02:19 D/com.github.unidbg.pointer.UnidbgPointer: getString pointer=RW@0x40ea e772, size=40, encoding=UTF-8, ret=(Ljava/lang/String;ILjava/lang/String;)V 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetMethodID class=un idbg@0x571739a, methodName=i, args=(Ljava/lang/String;ILjava/lang/String;)V, LR=RX@0x406bf 84c[libfekit.so]0x33f84c 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DvmClass: getMethodID signature= com/tencent/mobileqq/fe/IFEKitLog->i(Ljava/lang/String;ILjava/lang/String;)V, hash=0xfffff fffd8f7802e 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: CallVoidMethodV obje ct=unidbg@0x7dbf862b, jmethodID=unidbg@0xffffffffd8f7802e, va_list=RW@0x40eae550 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.VaList64: VaList64 base_p=0x40ea e5e0, base_integer=0x40eae500, base_float=0x40eae4d0, mask_integer=0xffffffe8, mask_float= 0xffffff80, args=(Ljava/lang/String;ILjava/lang/String;)V, shorty=[Ljava/lang/String;, I, Ljava/lang/String;] 2023-08-11 14:02:19 V/QSecJni: [FEKit_]info: device_token.h:89 create new xwId complete 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: DeleteLocalRef objec t=unidbg@0x4fe23aaf 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: GetEnv vm=unidbg@0xf ffe0080, env=null, version=0x10006 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: DeleteLocalRef objec t=unidbg@0x1199cddc 2023-08-11 14:02:19 D/com.github.unidbg.linux.android.dvm.DalvikVM64: ExceptionCheck throw able=null 2023-08-11 14:02:19 I/stdout: >>> x0=0x403560c0 x1=0x81 x2=0x7fffffff x3=0x0 x4=0x0 x5=0x8 1 x6=0x81 x7=0x81 x8=0x62 x9=0x5 x10=0xdf0dfdd7 x11=0xb00 x12=0x0 x13=0x40256000 x14=0x0 2023-08-11 14:02:19 I/stdout: >>> x15=0x40248000 x16=0x40248010 x17=0x4018bf00 x18=0x40259 f50 x19=0x1 x20=0x40e2e500 x21=0x40e2e4f0 x22=0x0 x23=0x243fbd52 x24=0xbffff640 x25=0x243f bd53 x26=0x40f9fec4 x27=0x2cd3ca1 x28=0xe1be385 fp=0x40eaef10 2023-08-11 14:02:19 I/stdout: >>> q0=0xffffff80ffffffd00000000040eae4d0(5.381045943E-315, NaN) q1=0x40eae5000000000040eae5e0(5.381047287E-315, 5.38104618E-315) q2=0x746f6f720000000 040d24461(5.373072045E-315, 9.65137517E-315) q3=0x80200802000000008020080200000002(-4.4588 47899757362E-308, -4.45884789975736E-308) q4=0x80200802000000008020080200000000(-4.4588478 9975736E-308, -4.45884789975736E-308) q5=0x0(0.0) q6=0x0(0.0) q7=0x80200802802008028020080 280200802(-4.458850023827439E-308, -4.458850023827439E-308) q8=0x0(0.0) q9=0x0(0.0) q10=0x 0(0.0) q11=0x0(0.0) q12=0x0(0.0) q13=0x0(0.0) q14=0x0(0.0) q15=0x0(0.0) 2023-08-11 14:02:19 I/stdout: >>> q16=0x40100401401004014010040140100401(4.003911019303815 , 4.003911019303815) q17=0xa00a0000a00a0000aa00aa00aa00aa02(-2.2705584653457737E-106, -2.4 239616269606333E-154) q18=0x80200802000000008020080200000000(-4.45884789975736E-308, -4.45 884789975736E-308) q19=0x53535353535353535353535353535353(2.5194700025415145E93, 2.5194700 025415145E93) q20=0x41414141414141414141414141414141(2261634.5098039214, 2261634.509803921 4) q21=0x65746e6f632f64696f72646e614c2928(6.971287327864842E228, 5.298772438800542E180) q2 2=0x34796c6a2f65657266656d61672f656e(1.8209337364821054E185, 6.480314343377697E-56) q23=0x 6567616e614d6567616b636150746567(1.9252682374968123E161, 3.0318163861785504E180) q24=0x785 70b1d14111e57(4.869483510618566E271) q25=0x4e6567616b636170(4.616368976829863E69) q26=0x89 898989898989898989898989898989(-1.0137433199815556E-262, -1.0137433199815556E-262) q27=0x3 9643633623861333139323634373330(1.426050963276977E-71, 3.11410878126528E-32) q28=0x746e657 46e6f632f64696f72646e614c(5.032746132294561E175, 6.964135520393147E252) q29=0x636131336563 61333465353631333337(2.702885382609013E-56, 5.190614473208503E170) q30=0x61366662386432386 466666562616566(4.4321577278230385E175, 1.9682691810228402E160) q31=0x6232393035313032(1.0 494140024706692E165) 2023-08-11 14:02:19 I/stdout: LR=RX@0x401d7934[libc.so]0x67934 2023-08-11 14:02:19 I/stdout: SP=0x40eaef10 2023-08-11 14:02:19 I/stdout: PC=RX@0x4018bf20[libc.so]0x1bf20 2023-08-11 14:02:19 I/stdout: nzcv: N=0, Z=1, C=1, V=0, EL0, use SP_EL0 2023-08-11 14:02:19 D/com.github.unidbg.linux.AndroidSyscallHandler: futex uaddr=RW@0x4035 60c0, isPrivate=true, cmd=1, val=0x7fffffff, old=0x4, LR=RX@0x401d7934[libc.so]0x67934 2023-08-11 14:02:19 D/com.github.unidbg.linux.AndroidSyscallHandler: futex FUTEX_WAKE val= 0x7fffffff, old=4, task=Runnable|MarshmallowThread fn=RX@0x401d7c70[libc.so]0x67c70, arg=R W@0x40e2e440 2023-08-11 14:02:19 W/stderr: com.github.unidbg.thread.ThreadContextSwitchException 2023-08-11 14:02:19 W/stderr: at qsign-1.0.7.mirai2.jar//com.github.unidbg.linux.Android SyscallHandler.futex(AndroidSyscallHandler.java:339) 2023-08-11 14:02:19 W/stderr: at qsign-1.0.7.mirai2.jar//com.github.unidbg.linux.ARM64Sy scallHandler.hook(ARM64SyscallHandler.java:223) 2023-08-11 14:02:19 W/stderr: at qsign-1.0.7.mirai2.jar//com.github.unidbg.arm.backend.U nicorn2Backend$11.hook(Unicorn2Backend.java:347) 2023-08-11 14:02:19 W/stderr: at qsign-1.0.7.mirai2.jar//com.github.unidbg.arm.backend.u nicorn.Unicorn$NewHook.onInterrupt(Unicorn.java:109) 2023-08-11 14:02:19 W/stderr: at qsign-1.0.7.mirai2.jar//com.github.unidbg.arm.backend.u nicorn.Unicorn.emu_start(Native Method) 2023-08-11 14:02:19 W/stderr: at qsign-1.0.7.mirai2.jar//com.github.unidbg.arm.backend.u nicorn.Unicorn.emu_start(Unicorn.java:312) 2023-08-11 14:02:19 W/stderr: at qsign-1.0.7.mirai2.jar//com.github.unidbg.arm.backend.U nicorn2Backend.emu_start(Unicorn2Backend.java:384) 2023-08-11 14:02:19 W/stderr: at qsign-1.0.7.mirai2.jar//com.github.unidbg.AbstractEmula tor.emulate(AbstractEmulator.java:380) 2023-08-11 14:02:20 I/stdout: LR=RX@0x401d79c8[libc.so]0x679c8 2023-08-11 14:02:20 I/stdout: SP=0x4107d330 2023-08-11 14:02:20 I/stdout: PC=RX@0x4018bf20[libc.so]0x1bf20 2023-08-11 14:02:20 I/stdout: nzcv: N=0, Z=1, C=1, V=0, EL0, use SP_EL0 2023-08-11 14:02:20 D/com.github.unidbg.linux.AndroidSyscallHandler: futex uaddr=RW@0x4036 32c0, isPrivate=true, cmd=0, val=0x0, old=0x0, LR=RX@0x401d79c8[libc.so]0x679c8 2023-08-11 14:02:20 D/com.github.unidbg.linux.AndroidSyscallHandler: futex FUTEX_WAIT mtyp e=0x0, shared=0, timeSpec=null, test=0, task=Runnable|MarshmallowThread fn=RX@0x401d7c70[l ibc.so]0x67c70, arg=RW@0x40ffe440 2023-08-11 14:02:21 I/stdout: debugger break at: 0x4018bf20 @ Paused|MarshmallowThread fn= RX@0x401d7c70[libc.so]0x67c70, arg=RW@0x40ffe440 2023-08-11 14:02:21 I/stdout: >>> x0=0x403632c0 x1=0x80 x2=0x0 x3=0x0 x4=0x0 x5=0x0 x6=0x0 x7=0x0 x8=0x62 x9=0x1 x10=0x0 x11=0x0 x12=0x4107d1e0 x13=0xfffffff0 x14=0x4107d2a0 2023-08-11 14:02:21 I/stdout: >>> x15=0x4107d288 x16=0x40248010 x17=0x4018bf00 x18=0x4117d 448 x19=0x80 x20=0x0 x21=0x40363298 x22=0x40ffe500 x23=0x4d402dd5 x24=0xf035e3b2 x25=0x36b 4b12e x26=0x529e081b x27=0xea44156 x28=0x30682d04 fp=0x4107d330 2023-08-11 14:02:21 I/stdout: >>> q0=0x10000000000000018(1.2E-322, 4.9E-324) q1=0xc0(2.690 4930515036488E-43) q2=0x746f6f720000000040d24461(5.373072045E-315, 9.65137517E-315) q3=0x8 0200802000000008020080200000002(-4.458847899757362E-308, -4.45884789975736E-308) q4=0x8020 0802000000008020080200000000(-4.45884789975736E-308, -4.45884789975736E-308) q5=0x0(0.0) q 6=0x0(0.0) q7=0x80200802802008028020080280200802(-4.458850023827439E-308, -4.4588500238274 39E-308) q8=0x0(0.0) q9=0x0(0.0) q10=0x0(0.0) q11=0x0(0.0) q12=0x0(0.0) q13=0x0(0.0) q14=0 x0(0.0) q15=0x0(0.0) 2023-08-11 14:02:21 I/stdout: >>> q16=0x40100401401004014010040140100401(4.003911019303815 , 4.003911019303815) q17=0xa00a0000a00a0000aa00aa00aa00aa02(-2.2705584653457737E-106, -2.4 239616269606333E-154) q18=0x80200802000000008020080200000000(-4.45884789975736E-308, -4.45 884789975736E-308) q19=0x53535353535353535353535353535353(2.5194700025415145E93, 2.5194700 025415145E93) q20=0x41414141414141414141414141414141(2261634.5098039214, 2261634.509803921 4) q21=0x65746e6f632f64696f72646e614c2928(6.971287327864842E228, 5.298772438800542E180) q2 2=0x34796c6a2f65657266656d61672f656e(1.8209337364821054E185, 6.480314343377697E-56) q23=0x 6567616e614d6567616b636150746567(1.9252682374968123E161, 3.0318163861785504E180) q24=0x785 70b1d14111e57(4.869483510618566E271) q25=0x4e6567616b636170(4.616368976829863E69) q26=0x89 898989898989898989898989898989(-1.0137433199815556E-262, -1.0137433199815556E-262) q27=0x3 9643633623861333139323634373330(1.426050963276977E-71, 3.11410878126528E-32) q28=0x746e657 46e6f632f64696f72646e614c(5.032746132294561E175, 6.964135520393147E252) q29=0x636131336563 61333465353631333337(2.702885382609013E-56, 5.190614473208503E170) q30=0x61366662386432386 466666562616566(4.4321577278230385E175, 1.9682691810228402E160) q31=0x6232393035313032(1.0 494140024706692E165) 2023-08-11 14:02:21 I/stdout: LR=RX@0x401d79c8[libc.so]0x679c8 2023-08-11 14:02:21 I/stdout: SP=0x4107d330 2023-08-11 14:02:21 I/stdout: PC=RX@0x4018bf20[libc.so]0x1bf20 2023-08-11 14:02:21 I/stdout: nzcv: N=0, Z=1, C=1, V=0, EL0, use SP_EL0 2023-08-11 14:02:21 D/org.scijava.nativelib.NativeLibraryUtil: architecture is WINDOWS_64 os.name is windows server 2012 r2 2023-08-11 14:02:21 D/org.scijava.nativelib.NativeLibraryUtil: platform specific path is n atives/windows_64/ 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: mappedLib is demumble.dll 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: Couldn't find resource nativ es/windows_64/demumble.dll 2023-08-11 14:02:21 D/org.scijava.nativelib.NativeLibraryUtil: platform specific path is w indows_64/ 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: mappedLib is demumble.dll 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: Couldn't find resource windo ws_64/demumble.dll 2023-08-11 14:02:21 D/org.scijava.nativelib.NativeLibraryUtil: platform specific path is M ETA-INF/lib/windows_64/ 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: mappedLib is demumble.dll 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: Couldn't find resource META- INF/lib/windows_64/demumble.dll 2023-08-11 14:02:21 D/org.scijava.nativelib.NativeLibraryUtil: architecture is WINDOWS_64 os.name is windows server 2012 r2 2023-08-11 14:02:21 D/org.scijava.nativelib.NativeLibraryUtil: platform specific path is n atives/windows_64/ 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: mappedLib is disassembler.dl l 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: Couldn't find resource nativ es/windows_64/disassembler.dll 2023-08-11 14:02:21 D/org.scijava.nativelib.NativeLibraryUtil: platform specific path is w indows_64/ 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: mappedLib is disassembler.dl l 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: Couldn't find resource windo ws_64/disassembler.dll 2023-08-11 14:02:21 D/org.scijava.nativelib.NativeLibraryUtil: platform specific path is M ETA-INF/lib/windows_64/ 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: mappedLib is disassembler.dl l 2023-08-11 14:02:21 D/org.scijava.nativelib.BaseJniExtractor: Couldn't find resource META- INF/lib/windows_64/disassembler.dll 2023-08-11 14:02:21 I/stdout: syscall + 0x20 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf1c] [010000d4] 0x4018bf1c: "svc #0" 2023-08-11 14:02:21 I/stdout: => *[libc.so *0x01bf20]*[1f0440b1]*0x4018bf20:*"cmn x0, #1, lsl #12" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf24] [009480da] 0x4018bf24: "cneg x0 , x0, hi" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf28] [48040454] 0x4018bf28: "b.hi #0 x40193fb0" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf2c] [c0035fd6] 0x4018bf2c: "ret" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf30] [202288d2] 0x4018bf30: "movz x0 , #0x4111" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf34] [e1031faa] 0x4018bf34: "mov x1, xzr" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf38] [e2031faa] 0x4018bf38: "mov x2, xzr" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf3c] [e3031faa] 0x4018bf3c: "mov x3, xzr" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf40] [e4031faa] 0x4018bf40: "mov x4, xzr" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf44] [881b80d2] 0x4018bf44: "movz x8 , #0xdc" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf48] [010000d4] 0x4018bf48: "svc #0" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf4c] [1f0440b1] 0x4018bf4c: "cmn x0, #1, lsl #12" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf50] [009480da] 0x4018bf50: "cneg x0 , x0, hi" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf54] [e8020454] 0x4018bf54: "b.hi #0 x40193fb0" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf58] [c0035fd6] 0x4018bf58: "ret" 2023-08-11 14:02:21 I/stdout: [libc.so 0x01bf5c] [820600b4] 0x4018bf5c: "cbz x2, #0x4018c02c" 2023-08-11 14:02:21 I/stdout:
我自己粗略看了一下报错内容,似乎说的是依赖的问题,但我检查了一下,txlib文件夹我是按照要求放到 mirai 所在目录里面了的,里面的文件也没有缺失,不过每次出现上面的报错之后,会在txlib\8.9.63文件夹下面生成stdout、stdin、stderr三个空文件,我之后尝试删掉其他所有插件排除干扰再启动mirai,但仍然出现此报错,所以想问一下大佬出现这个问题可能的原因会是什么
以下为插件运行环境信息:
服务器配置:4C4G
操作系统:Windows Server 2012 R2 DataCenter 64bitCN
mirai版本:2.15.0
qsign版本:1.0.7
其他说明:如果大佬需要更多信息或协助,也可以让我进行提供 -
Couldn't find resource natives/windows_64/demumble.dll Couldn't find resource META-INF/lib/windows_64/demumble.dll Couldn't find resource natives/windows_64/disassembler.dll Couldn't find resource META-INF/lib/windows_64/disassembler.dll
总的来说,在 Windows 下,包里面缺少名为
disassembler
的 native 库,
这个库在linux_64
、osx_64
都是有的,但是洛洛编译的 unidbg 似乎没有编译win_64
下的disassembler
库? 还是说 unidbg 原本就没有这个库?
我不了解,建议反馈到原仓库 fuqiuluo/unidbg-fetch-qsign。此外,
stdout
、stdin
、stderr
等文件是运行时必生成的,可以不管,qsign 1.0.7 起会自动删除。 -
@MrXiaoM 感谢大佬能够抽时间回复,我刚刚去看了unidbg-fetch-qsign_1.1.7的txlib\8.9.63文件夹,发现里面的文件和KawaiiMiku/qsign的txlib\8.9.63文件夹里面的文件是完全相同的,同时我注意到我可以正常启动运行unidbg-fetch-qsign(如下图所示),
既然文件相同,那用的库也应该是相同的,就不知道为什么一个报错一个可以正常运行,感觉可能是其他原因,会不会是我的mirai配置有什么地方不对? -
@EdgeStar2020 不,我说的是程序包里面的库文件,并不是指 txlib 里面的东西。
我刚刚确认了,qsign 和 unidbg-fetch-qsign 在 native 层面的东西是完全一样的。
-
@MrXiaoM 好的,我折腾了一下,用unidbg-fetch-qsign + fix-protocol-version成功登录,只可惜没有大佬你的二合一插件方便,不过目前也能用了,感谢指点
-
023-08-13 19:13:43 W/EncryptService.alert: Encrypt service was loaded: top.mrxiaom.qsign.QSignService$Factory@7eb94590
2023-08-13 19:13:43 W/EncryptService.alert: All outgoing message may be leaked by this service.
2023-08-13 19:13:43 W/EncryptService.alert: Use this service if and only if you trusted this service and the service provider.
2023-08-13 19:13:43 W/EncryptService.alert: Service details:
2023-08-13 19:13:43 W/EncryptService.alert:- Jvm Class: class top.mrxiaom.qsign.QSignService$Factory 2023-08-13 19:13:43 W/EncryptService.alert:
- ClassLoader: jdk.internal.loader.ClassLoaders$AppClassLoader@63947c6b
2023-08-13 19:13:43 W/EncryptService.alert:- Source: file:/E:/test/bot/libs/qsign-1.0.6.jar 2023-08-13 19:13:43 W/EncryptService.alert:
- Protected Domain: ProtectionDomain (file:/E:/test/bot/libs/qsign-1.0.6.jar <no signer certificates>)
jdk.internal.loader.ClassLoaders$AppClassLoader@63947c6b
<no principals>
java.security.Permissions@79454d8e (
("java.io.FilePermission" "E:\test\bot\libs\qsign-1.0.6.jar" "read")
("java.io.FilePermission" "E:\test\bot\libs\qsign-1.0.6.jar#plus" "read")
("java.net.SocketPermission" "localhost:0" "listen,resolve")
("java.util.PropertyPermission" "java.specification.version" "read")
("java.util.PropertyPermission" "java.vm.vendor" "read")
("java.util.PropertyPermission" "path.separator" "read")
("java.util.PropertyPermission" "os.version" "read")
("java.util.PropertyPermission" "java.vendor.url" "read")
("java.util.PropertyPermission" "java.vm.name" "read")
("java.util.PropertyPermission" "java.vm.specification.version" "read")
("java.util.PropertyPermission" "os.name" "read")
("java.util.PropertyPermission" "java.version" "read")
("java.util.PropertyPermission" "os.arch" "read")
("java.util.PropertyPermission" "java.specification.vendor" "read")
("java.util.PropertyPermission" "java.vm.specification.name" "read")
("java.util.PropertyPermission" "file.separator" "read")
("java.util.PropertyPermission" "line.separator" "read")
("java.util.PropertyPermission" "java.vm.specification.vendor" "read")
("java.util.PropertyPermission" "java.specification.name" "read")
("java.util.PropertyPermission" "java.vendor" "read")
("java.util.PropertyPermission" "java.vm.version" "read")
("java.util.PropertyPermission" "java.class.version" "read")
("java.lang.RuntimePermission" "accessClassInPackage.com.sun.beans.")
("java.lang.RuntimePermission" "accessClassInPackage.com.apple.")
("java.lang.RuntimePermission" "accessClassInPackage.com.sun.java.swing.plaf.*")
("java.lang.RuntimePermission" "exitVM")
("java.lang.RuntimePermission" "accessClassInPackage.com.sun.beans")
)2023-08-13T19:13:43.748+08:00 WARN 16068 --- [ main] love.forte.simbot.mirai.bot.3503183996 : top.mrxiaom.qsign.QSignService$Factory@7eb94590 is not yet supported EncryptService with bot Bot(3503183996)
java.lang.UnsupportedOperationException: QSignService only supports .
at top.mrxiaom.qsign.QSignService$Factory.createForBot(QSignService.kt:156) ~[qsign-1.0.6.jar:na]
at net.mamoe.mirai.internal.network.components.EncryptServiceHolderImpl.<init>(EncryptServiceHolder.kt:49) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.QQAndroidBot.createBotLevelComponents(QQAndroidBot.kt:288) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:192) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:191) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:47) ~[mirai-core-utils-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.QQAndroidBot.getDefaultBotLevelComponents(QQAndroidBot.kt:191) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.QQAndroidBot.createNetworkLevelComponents(QQAndroidBot.kt:300) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:312) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:305) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelectorKt$KeepAliveNetworkHandlerSelector$1.createInstance(AbstractKeepAliveNetworkHandlerSelector.kt:277) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.refreshInstance(AbstractKeepAliveNetworkHandlerSelector.kt:249) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.getCurrentInstanceOrCreate(AbstractKeepAliveNetworkHandlerSelector.kt:57) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getContext(SelectorNetworkHandler.kt:51) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler$scope$2.invoke(SelectorNetworkHandler.kt:54) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler$scope$2.invoke(SelectorNetworkHandler.kt:53) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) ~[kotlin-stdlib-1.7.21.jar:1.7.21-release-272(1.7.21)]
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getScope(SelectorNetworkHandler.kt:53) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.access$getScope(SelectorNetworkHandler.kt:45) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.resumeConnection$suspendImpl(SelectorNetworkHandler.kt:130) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.resumeConnection(SelectorNetworkHandler.kt) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:145) ~[mirai-core-jvm-2.15.0.jar:2.15.0]
at love.forte.simbot.component.mirai.internal.MiraiBotImpl.start(MiraiBotImpl.kt:250) ~[simbot-component-mirai-core-3.2.0.0.jar:na]
at love.forte.simboot.spring.autoconfigure.SimbotSpringBootBotAutoRegisterBuildConfigure$SimbotSpringBootBotAutoRegisterPostProcessor.config(SimbotSpringBootBotAutoRegisterBuildConfigure.kt:153) ~[simboot-core-spring-boot-starter-3.2.0.jar:na]
at love.forte.simboot.spring.autoconfigure.SimbotSpringBootBotAutoRegisterBuildConfigure$SimbotSpringBootBotAutoRegisterPostProcessor.processApplication(SimbotSpringBootBotAutoRegisterBuildConfigure.kt:55) ~[simboot-core-spring-boot-starter-3.2.0.jar:na]
at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotApplicationAfterApplication$1.invokeSuspend(SimbotSpringBootApplicationConfiguration.kt:130) ~[simboot-core-spring-boot-starter-3.2.0.jar:na]
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.7.21.jar:1.7.21-release-272(1.7.21)]
at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115) ~[kotlin-stdlib-1.7.21.jar:1.7.21-release-272(1.7.21)]
at love.forte.simbot.utils.DefaultRunInNoScopeBlockingStrategy.invoke(BlockingRunner.kt:423) ~[simbot-util-suspend-transformer-jvm-3.2.0.jar:na]
at love.forte.simbot.utils.BlockingRunnerKt.runInNoScopeBlocking(BlockingRunner.kt:496) ~[simbot-util-suspend-transformer-jvm-3.2.0.jar:na]
at love.forte.simbot.utils.BlockingRunnerKt.runInNoScopeBlocking$default(BlockingRunner.kt:493) ~[simbot-util-suspend-transformer-jvm-3.2.0.jar:na]
at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotApplicationAfterApplication(SimbotSpringBootApplicationConfiguration.kt:129) ~[simboot-core-spring-boot-starter-3.2.0.jar:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:640) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1324) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1161) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:961) ~[spring-beans-6.0.2.jar:6.0.2]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:915) ~[spring-context-6.0.2.jar:6.0.2]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.2.jar:6.0.2]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.0.jar:3.0.0]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730) ~[spring-boot-3.0.0.jar:3.0.0]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432) ~[spring-boot-3.0.0.jar:3.0.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) ~[spring-boot-3.0.0.jar:3.0.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302) ~[spring-boot-3.0.0.jar:3.0.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291) ~[spring-boot-3.0.0.jar:3.0.0]
at org.example.Main.main(Main.java:43) ~[classes/:na]
我在main方法启动前引用了setup方法后就抱了这个错,我使用的是一个叫simbot的框架,请问这是不支持的意思吗?? -
@ikaros143 没有加载协议信息文件,导致不支持所有协议。
协议信息文件在默认的包里是有的,只能是你没加到运行目录 -
目前用了這個以後 可以運作 但會不定時整個掛掉
發生時機不一定 有時候用了一天 有時候用幾個小時 有時候剛開起來又馬上掛掉
出現這個錯誤
我是運行在樹莓派4B8G版本上 -
This post is deleted! -
@MrXiaoM 除了在main方法前调用setup方法还要什么其他操作吗?
File basePath = new File();的路径我是定位到8.9.63的文件夹。 -
@ikaros143 设置
QSignService.Factory.supportedProtocol
的值,将确定已经把协议信息改成 8.9.63 的协议类型添加进去