mamoe / mirai

高效率 QQ 机器人支持库
https://mirai.mamoe.net
GNU Affero General Public License v3.0
14.5k stars 2.54k forks source link

运行后没多久报错Received unknown oicq packet type = 32 #2798

Open jasonnmy opened 1 year ago

jasonnmy commented 1 year ago

问题描述

ExceptionInPacketCodecException(cause=java.lang.IllegalStateException: Received unknown oicq packet type = 32, command name = StatSvc.QueryHB, ignoring... Please report this message to https://github.com/mamoe/mirai/issues/new/choose, Full packet dump: Decrypted data (contains your encrypted password, please change your password after reporting issue): null) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.handleExceptionInDecoding$passToExceptionHandler(CommonNetworkHandler.kt:58) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.handleExceptionInDecoding(CommonNetworkHandler.kt:71) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:130) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.IllegalStateException: Received unknown oicq packet type = 32, command name = StatSvc.QueryHB, ignoring... Please report this message to https://github.com/mamoe/mirai/issues/new/choose, Full packet dump: Decrypted data (contains your encrypted password, please change your password after reporting issue): null at net.mamoe.mirai.internal.network.components.PacketCodecException.(PacketCodec.kt:76) at net.mamoe.mirai.internal.network.components.PacketCodecImpl.parseOicqResponse(PacketCodec.kt:388) at net.mamoe.mirai.internal.network.components.PacketCodecImpl.decodeRaw(PacketCodec.kt:212) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.decodePacket(CommonNetworkHandler.kt:149) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$decodePacket(CommonNetworkHandler.kt:103) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:126) ... 10 more Suppressed: net.mamoe.mirai.internal.network.components.PacketCodecException: net.mamoe.mirai.internal.network.components.PacketCodecException: java.lang.IllegalStateException: Received unknown oicq packet type = 32, command name = StatSvc.QueryHB, ignoring... Please report this message to https://github.com/mamoe/mirai/issues/new/choose, Full packet dump: Decrypted data (contains your encrypted password, please change your password after reporting issue): null at net.mamoe.mirai.internal.network.components.PacketCodecImpl.decodeRaw(PacketCodec.kt:214) ... 13 more Caused by: net.mamoe.mirai.internal.network.components.PacketCodecException: java.lang.IllegalStateException: Received unknown oicq packet type = 32, command name = StatSvc.QueryHB, ignoring... Please report this message to https://github.com/mamoe/mirai/issues/new/choose, Full packet dump: Decrypted data (contains your encrypted password, please change your password after reporting issue): null at net.mamoe.mirai.internal.network.components.PacketCodecImpl.parseOicqResponse(PacketCodec.kt:388) at net.mamoe.mirai.internal.network.components.PacketCodecImpl.decodeRaw(PacketCodec.kt:212) ... 13 more [CIRCULAR REFERENCE:java.lang.IllegalStateException: Received unknown oicq packet type = 32, command name = StatSvc.QueryHB, ignoring...

用的mirai-core

复现

过一会就开始报错

mirai-core 版本

2.15.0

bot-protocol

ANDROID_PHONE

其他组件版本

No response

系统日志

No response

网络日志

No response

补充信息

No response

cssxsh commented 1 year ago

https://github.com/mamoe/mirai/pull/757

StageGuard commented 1 year ago

可以稳定复现吗

jasonnmy commented 1 year ago

可以稳定复现吗

现在基本每分钟不定时都有吧,日志打了很多了

StageGuard commented 1 year ago

请发送全部网络日志,并说明登录的心跳策略

jasonnmy commented 1 year ago

请发送全部网络日志,并说明登录的心跳策略

全部网络日志是啥意思?登录时候的日志?登录心跳策略是?好像没看到哪有设置心跳策略(用得默认的?)

StageGuard commented 1 year ago

网络日志位于 <working dir>/bots/<bot>/logs/,顺便再提供一下你的 BotConfiguration 代码

jasonnmy commented 1 year ago

BotFactory.INSTANCE.newBot(id, password_authorization, botConfiguration -> { botConfiguration.autoReconnectOnForceOffline(); botConfiguration.setProtocol(BotConfiguration.MiraiProtocol.ANDROID_PHONE); botConfiguration.setDeviceInfo(bot1 -> new MiraiDeviceGenerator().load(bot1)); })

没有看到这个文件夹/bots//logs/

StageGuard commented 1 year ago

那等你找到了再 reopen

jasonnmy commented 1 year ago

那等你找到了再 reopen

没这个文件夹我咋找到??????

jasonnmy commented 1 year ago

那等你找到了再 reopen

你项目有输出这玩意???

StageGuard commented 1 year ago

那等你找到了再 reopen

你项目有输出这玩意???

https://github.com/mamoe/mirai/blob/d33160311a1d4aa3e664bc056218fcfa80a8f020/docs/Bots.md#%E4%BF%AE%E6%94%B9%E8%BF%90%E8%A1%8C%E7%9B%AE%E5%BD%95

jasonnmy commented 1 year ago

那等你找到了再 reopen

你项目有输出这玩意???

https://github.com/mamoe/mirai/blob/d33160311a1d4aa3e664bc056218fcfa80a8f020/docs/Bots.md#%E4%BF%AE%E6%94%B9%E8%BF%90%E8%A1%8C%E7%9B%AE%E5%BD%95

cache文件夹有但是没看到bots image

jasonnmy commented 1 year ago

那等你找到了再 reopen

你项目有输出这玩意???

https://github.com/mamoe/mirai/blob/d33160311a1d4aa3e664bc056218fcfa80a8f020/docs/Bots.md#%E4%BF%AE%E6%94%B9%E8%BF%90%E8%A1%8C%E7%9B%AE%E5%BD%95

所以没设置work文件目录不会默认创建咯

StageGuard commented 1 year ago

那等你找到了再 reopen

你项目有输出这玩意???

https://github.com/mamoe/mirai/blob/d33160311a1d4aa3e664bc056218fcfa80a8f020/docs/Bots.md#%E4%BF%AE%E6%94%B9%E8%BF%90%E8%A1%8C%E7%9B%AE%E5%BD%95

所以没设置work文件目录不会默认创建咯

网络日志默认在 <working dir>/logs/ 下,截图中的文件夹为缓存目录,位于 <working dir>/cache。查找 logs 文件夹。若仍未找到,可以通过 redirectNetworkLogToDirectory 来指定网络日志输出目录,然后再次复现。

jasonnmy commented 1 year ago

那等你找到了再 reopen

你项目有输出这玩意???

https://github.com/mamoe/mirai/blob/d33160311a1d4aa3e664bc056218fcfa80a8f020/docs/Bots.md#%E4%BF%AE%E6%94%B9%E8%BF%90%E8%A1%8C%E7%9B%AE%E5%BD%95

所以没设置work文件目录不会默认创建咯

网络日志默认在 <working dir>/logs/ 下,截图中的文件夹为缓存目录,位于 <working dir>/cache。查找 logs 文件夹。若仍未找到,可以通过 redirectNetworkLogToDirectory 来指定网络日志输出目录,然后再次复现。

行,我试试

jasonnmy commented 1 year ago

那等你找到了再 reopen

你项目有输出这玩意???

https://github.com/mamoe/mirai/blob/d33160311a1d4aa3e664bc056218fcfa80a8f020/docs/Bots.md#%E4%BF%AE%E6%94%B9%E8%BF%90%E8%A1%8C%E7%9B%AE%E5%BD%95

所以没设置work文件目录不会默认创建咯

网络日志默认在 <working dir>/logs/ 下,截图中的文件夹为缓存目录,位于 <working dir>/cache。查找 logs 文件夹。若仍未找到,可以通过 redirectNetworkLogToDirectory 来指定网络日志输出目录,然后再次复现。

Exception in resumeConnection.
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)
        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: 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: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608
                at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
                at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
                at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201)
                at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.customEnergy(UnidbgFetchQsign.kt:110)
                at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.encryptTlv(UnidbgFetchQsign.kt:100)
                at net.mamoe.mirai.internal.network.protocol.packet.TlvKt.t544ForToken(Tlv.kt:986)
                at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:138)
                at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:39)
                at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap(TlvMap.kt:130)
                at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap$default(TlvMap.kt:123)
                at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:39)
                at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:31)
                at net.mamoe.mirai.internal.network.protocol.packet.EncryptMethodEcdh.makeBody(EncryptMethod.kt:121)
                at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket(OutgoingPacket.kt:455)
                at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket$default(OutgoingPacket.kt:448)
                at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:31)
                at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:30)
                at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket(OutgoingPacket.kt:985)
                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)
                 Caused by: java.net.ConnectException: Connection refused: /192.168.1.1:6608
                at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179)
                at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108)
                at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28)
                at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20)
                at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590)
                at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583)
                at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559)
                at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492)
                at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636)
                at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629)
                at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118)
                at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)
                at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)
                at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
                at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
                at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
                at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
                at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
                at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
                at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.1:6608
        Caused by: java.net.ConnectException: Connection refused
                at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
                at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779)
                at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)
                at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
                at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
                at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
                at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
                at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
                at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
                at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
                at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
                at java.base/java.lang.Thread.run(Thread.java:834)
                Suppressed: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608
                at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
                at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
                at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201)
                at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.sign(UnidbgFetchQsign.kt:165)
                at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.qSecurityGetSign(UnidbgFetchQsign.kt:148)
                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.WtLogin10$invoke$1.invoke(WtLogin10.kt:35)
                at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin10$invoke$1.invoke(WtLogin10.kt:32)
                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.WtLogin10.invoke(WtLogin10.kt:32)
                at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin10.invoke$default(WtLogin10.kt:27)
                at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$FastLoginImpl.doLogin(SsoProcessor.kt:527)
                at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doFastLogin$suspendImpl(SsoProcessor.kt:179)
                at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doFastLogin(SsoProcessor.kt)
                at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:230)
                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)
                ... 5 more
        Caused by: java.net.ConnectException: Connection refused: /192.168.1.1:6608
                at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179)
                at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108)
                at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28)
                at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20)
                at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590)
                at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583)
                at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559)
                at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492)
                at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636)
                at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629)
                at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118)
                at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)
                at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)
                at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
                at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
                at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
                at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
                at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
                at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
                at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
                at java.base/java.lang.Thread.run(Thread.java:834)
                 Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.1:6608
        Caused by: java.net.ConnectException: Connection refused
                at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
                at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779)
                at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)
                at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
                at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
                at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
                at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
                at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
                at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
                at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
                at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
                at java.base/java.lang.Thread.run(Thread.java:834)
        [CIRCULAR REFERENCE:java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608]`

bot/logs下日志报这个错,qsign docker那显示错误是好像内存不够?还是啥,然后我从qsign1.1.9降到qsign1.1.8然后之前那错又没了变成了
`E/UnidbgFetchQsign: java.lang.IllegalStateException: QSign not initialized, unable to request_token, please submit the initialization package first.
java.lang.IllegalStateException: QSign not initialized, unable to request_token, please submit the initialization package first.
        at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.requestToken(UnidbgFetchQsign.kt:179)
        at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.access$requestToken(UnidbgFetchQsign.kt:12)
        at xyz.cssxsh.mirai.tool.UnidbgFetchQsign$qSecurityGetSign$1.invokeSuspend(UnidbgFetchQsign.kt:135)
        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)
StageGuard commented 1 year ago

日志内容仅有报错吗,我需要完整的网络日志

jasonnmy commented 1 year ago

日志内容仅有报错吗,我需要完整的网络日志

这就是全部的的了,没有其他报错的,都是这个重复

2023-09-15 23:17:31 V/Net ****1112: Validated caches. 2023-09-15 23:17:31 V/Net ****1112: Loading server list from cache. 2023-09-15 23:17:31 V/Net ****1112: Server list: 119.147.190.138:14000, 42.81.193.250:443, 121.229.94.168:8080, 49.7.253.177:80, msfwifi.3g.qq.com:8080, 121.229.94.224:80, 183.47.126.26:8080, 114.221.144.150:14000, 183.2.144.33:14000, 221.238.41.89:443. 2023-09-15 23:17:47 I/Net ****1112: ECDH key is valid. 2023-09-15 23:17:52 V/Net ****1112: Send: wtlogin.exchange_emp(10:fast-login) 2023-09-15 23:17:52 V/Net ****1112: Recv: wtlogin.exchange_emp 2023-09-15 23:17:52 V/Net ****1112: Send: StatSvc.register(online) 2023-09-15 23:17:53 I/Net ****1112: Server time updated, serverTime: 1694791075, diff: 2ms=0.002s 2023-09-15 23:17:53 V/Net ****1112: Recv: StatSvc.register 2023-09-15 23:17:53 V/Net ****1112: Loading BdhSession from cache file 2023-09-15 23:17:53 I/Net ****1112: Syncing friend message history... 2023-09-15 23:17:53 V/Net ****1112: Send: StatSvc.GetDevLoginInfo(StatSvc.GetDevLoginInfo) 2023-09-15 23:17:53 I/Net ****1112: Start loading friendGroup list... 2023-09-15 23:17:53 I/Net ****1112: Start loading friend list... 2023-09-15 23:17:53 V/Net ****1112: Send: OidbSvc.0x496(OidbSvc.0x496) 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.getFriendGroupList(friendlist.getFriendGroupList) 2023-09-15 23:17:53 I/Net ****1112: Start loading stranger list... 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.getFriendGroupList(friendlist.getFriendGroupList) 2023-09-15 23:17:53 I/Net ****1112: Syncing friend message history: Success. 2023-09-15 23:17:53 V/Net ****1112: Send: OidbSvc.0x5d2_0(OidbSvc.0x5d2_0) 2023-09-15 23:17:53 V/Net ****1112: Recv: StatSvc.GetDevLoginInfo 2023-09-15 23:17:53 I/Net ****1112: No OtherClient online. 2023-09-15 23:17:53 I/Net ****1112: Start loading group list... 2023-09-15 23:17:53 V/Net ****1112: Recv: OidbSvc.0x496 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.GetTroopListReqV2(friendlist.GetTroopListReqV2) 2023-09-15 23:17:53 V/Net ****1112: Recv: friendlist.getFriendGroupList 2023-09-15 23:17:53 V/Net ****1112: Loading friendGroup list: 4/4 2023-09-15 23:17:53 I/Net ****1112: Successfully loaded friendGroup list: 4 in total 2023-09-15 23:17:53 V/Net ****1112: Recv: friendlist.getFriendGroupList 2023-09-15 23:17:53 V/Net ****1112: Loading friend list: 8/8 2023-09-15 23:17:53 I/Net ****1112: Successfully loaded friend list: 8 in total 2023-09-15 23:17:53 V/Net ****1112: Recv: OidbSvc.0x5d2_0 2023-09-15 23:17:53 I/Net ****1112: Successfully loaded stranger list: 1 in total 2023-09-15 23:17:53 V/Net ****1112: Recv: friendlist.GetTroopListReqV2 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:17:53 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:17:53 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:17:53 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:17:54 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:17:54 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:17:54 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:17:54 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:17:54 I/Net ****1112: Successfully loaded group list: 6 in total. 2023-09-15 23:17:54 I/Net ****1112: Scheduled key refresh in 23h 55min 0.0s. 2023-09-15 23:17:54 I/Net ****1112: Scheduled refresh login session in 19d 23h 55min 0.0s. 2023-09-15 23:17:55 V/Net ****1112: Send: trpc.o3.ecdh_access.EcdhAccess.SsoSecureA2Establish(mobileqq.msf.security) 2023-09-15 23:17:55 V/Net ****1112: Recv: trpc.o3.ecdh_access.EcdhAccess.SsoSecureA2Establish 2023-09-15 23:17:56 V/Net ****1112: Saving bdh session to cache 2023-09-15 23:17:56 V/Net ****1112: Send: ConfigPushSvc.PushResp(ConfigPushSvc.PushResp) 2023-09-15 23:17:56 V/Net ****1112: Recv: ConfigPushSvc.PushReq 2023-09-15 23:17:57 V/Net ****1112: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg) 2023-09-15 23:17:57 V/Net ****1112: Recv: MessageSvc.PbSendMsg 2023-09-15 23:18:06 V/Net ****1112: Send: trpc.o3.ecdh_access.EcdhAccess.SsoSecureA2Establish(mobileqq.msf.security) 2023-09-15 23:18:06 V/Net ****1112: Recv: trpc.o3.ecdh_access.EcdhAccess.SsoSecureA2Establish 2023-09-15 23:21:02 W/Net ****1112: Exception in resumeConnection. NettyChannelException(message=null, cause=null) at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler.createConnection$lambda$4(NettyNetworkHandler.kt:128) at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:557) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:625) at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:105) at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:84) at io.netty.channel.AbstractChannel$CloseFuture.setClosed(AbstractChannel.java:1164) at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:755) at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:731) at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:620) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.closeOnRead(AbstractNioByteChannel.java:105) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:174) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834)  2023-09-15 23:21:02 V/Net ****1112: Validated caches. 2023-09-15 23:21:02 V/Net ****1112: Loading server list from cache. 2023-09-15 23:21:02 V/Net ****1112: Server list: 119.147.190.138:14000, 42.81.193.250:443, 121.229.94.168:8080, 49.7.253.177:80, msfwifi.3g.qq.com:8080, 121.229.94.224:80, 183.47.126.26:8080, 114.221.144.150:14000, 183.2.144.33:14000, 221.238.41.89:443. 2023-09-15 23:21:02 I/Net ****1112: ECDH key is valid. 2023-09-15 23:21:04 V/Net ****1112: Validated caches. 2023-09-15 23:21:04 V/Net ****1112: Loading server list from cache. 2023-09-15 23:21:04 V/Net ****1112: Server list: 119.147.190.138:14000, 42.81.193.250:443, 121.229.94.168:8080, 49.7.253.177:80, msfwifi.3g.qq.com:8080, 121.229.94.224:80, 183.47.126.26:8080, 114.221.144.150:14000, 183.2.144.33:14000, 221.238.41.89:443. 2023-09-15 23:21:04 I/Net ****1112: EncryptService SPI is not provided, sso secure ecdh will not be initialized. 2023-09-15 23:21:04 I/Net ****1112: ECDH key is valid. 2023-09-15 23:21:04 V/Net ****1112: Send: wtlogin.exchange_emp(10:fast-login) 2023-09-15 23:21:04 V/Net ****1112: Recv: wtlogin.exchange_emp 2023-09-15 23:21:04 V/Net ****1112: Send: StatSvc.register(online) 2023-09-15 23:21:04 I/Net ****1112: Server time updated, serverTime: 1694791267, diff: 3ms=0.003s 2023-09-15 23:21:04 V/Net ****1112: Recv: StatSvc.register 2023-09-15 23:21:04 V/Net ****1112: Loading BdhSession from cache file 2023-09-15 23:21:04 I/Net ****1112: Syncing friend message history... 2023-09-15 23:21:04 I/Net ****1112: Start loading friendGroup list... 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.getFriendGroupList(friendlist.getFriendGroupList) 2023-09-15 23:21:04 I/Net ****1112: Start loading friend list... 2023-09-15 23:21:04 V/Net ****1112: Send: StatSvc.GetDevLoginInfo(StatSvc.GetDevLoginInfo) 2023-09-15 23:21:04 V/Net ****1112: Send: OidbSvc.0x496(OidbSvc.0x496) 2023-09-15 23:21:04 I/Net ****1112: Start loading stranger list... 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.getFriendGroupList(friendlist.getFriendGroupList) 2023-09-15 23:21:04 V/Net ****1112: Send: OidbSvc.0x5d2_0(OidbSvc.0x5d2_0) 2023-09-15 23:21:04 I/Net ****1112: Syncing friend message history: Success. 2023-09-15 23:21:04 V/Net ****1112: Recv: OidbSvc.0x496 2023-09-15 23:21:04 I/Net ****1112: Start loading group list... 2023-09-15 23:21:04 V/Net ****1112: Recv: StatSvc.GetDevLoginInfo 2023-09-15 23:21:04 I/Net ****1112: No OtherClient online. 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.GetTroopListReqV2(friendlist.GetTroopListReqV2) 2023-09-15 23:21:04 V/Net ****1112: Recv: OidbSvc.0x5d2_0 2023-09-15 23:21:04 I/Net ****1112: Successfully loaded stranger list: 1 in total 2023-09-15 23:21:04 V/Net ****1112: Loading friendGroup list: 4/4 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.getFriendGroupList 2023-09-15 23:21:04 I/Net ****1112: Successfully loaded friendGroup list: 4 in total 2023-09-15 23:21:04 V/Net ****1112: Loading friend list: 8/8 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.getFriendGroupList 2023-09-15 23:21:04 I/Net ****1112: Successfully loaded friend list: 8 in total 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.GetTroopListReqV2 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:21:04 V/Net ****1112: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:21:04 V/Net ****1112: Recv: friendlist.GetTroopMemberListReq 2023-09-15 23:21:04 I/Net ****1112: Successfully loaded group list: 6 in total. 2023-09-15 23:21:04 I/Net ****1112: Scheduled key refresh in 23h 55min 0.0s. 2023-09-15 23:21:04 I/Net ****1112: Scheduled refresh login session in 19d 23h 55min 0.0s. 2023-09-15 23:21:04 V/Net ****1112: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg) 2023-09-15 23:21:05 V/Net ****1112: Recv: MessageSvc.PbSendMsg 2023-09-15 23:21:05 W/Net ****1112: Exception in resumeConnection. net.mamoe.mirai.internal.network.handler.selector.SelectorRequireReconnectException  2023-09-15 23:21:07 V/Net ****1112: Saving bdh session to cache 2023-09-15 23:21:07 V/Net ****1112: Send: ConfigPushSvc.PushResp(ConfigPushSvc.PushResp) 2023-09-15 23:21:07 V/Net ****1112: Recv: ConfigPushSvc.PushReq 2023-09-15 23:21:08 I/Net ****1112: ECDH key is valid. 2023-09-15 23:21:08 V/Net ****1112: [AuthControl/acquire] Acquiring auth method 2023-09-15 23:21:08 D/Net ****1112: [AuthControl/acquire] Authorization responded: Password@797606260 2023-09-15 23:21:08 W/Net ****1112: Failed with auth method: Password@797606260 java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.customEnergy(UnidbgFetchQsign.kt:110) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.encryptTlv(UnidbgFetchQsign.kt:100) at net.mamoe.mirai.internal.network.protocol.packet.TlvKt.t544ForToken(Tlv.kt:986) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:138) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:39) at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap(TlvMap.kt:130) at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap$default(TlvMap.kt:123) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:39) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:31) at net.mamoe.mirai.internal.network.protocol.packet.EncryptMethodEcdh.makeBody(EncryptMethod.kt:121) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket(OutgoingPacket.kt:455) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket$default(OutgoingPacket.kt:448) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:31) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:30) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket(OutgoingPacket.kt:985) 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.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) Caused by: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179) at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20) at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629) at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.1:6608 Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834)  2023-09-15 23:21:08 V/Net ****1112: [AuthControl/resume] Fire auth failed with cause: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608 2023-09-15 23:21:11 I/Net ****1112: ECDH key is valid. 2023-09-15 23:21:11 V/Net ****1112: [AuthControl/acquire] Acquiring auth method 2023-09-15 23:21:11 D/Net ****1112: [AuthControl/acquire] Authorization responded: Error[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608]@1805895830 2023-09-15 23:21:11 W/Net ****1112: Failed with auth method: Error[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608]@1805895830 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) Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.customEnergy(UnidbgFetchQsign.kt:110) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.encryptTlv(UnidbgFetchQsign.kt:100) at net.mamoe.mirai.internal.network.protocol.packet.TlvKt.t544ForToken(Tlv.kt:986) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:138) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:39) at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap(TlvMap.kt:130) at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap$default(TlvMap.kt:123) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:39) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:31) at net.mamoe.mirai.internal.network.protocol.packet.EncryptMethodEcdh.makeBody(EncryptMethod.kt:121) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket(OutgoingPacket.kt:455) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket$default(OutgoingPacket.kt:448) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:31) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:30) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket(OutgoingPacket.kt:985) 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) ... 7 more Caused by: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179) at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20) at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629) at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.1:6608 Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834)  2023-09-15 23:21:11 W/Net ****1112: Exception in resumeConnection. 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) 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: 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: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.customEnergy(UnidbgFetchQsign.kt:110) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.encryptTlv(UnidbgFetchQsign.kt:100) at net.mamoe.mirai.internal.network.protocol.packet.TlvKt.t544ForToken(Tlv.kt:986) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:138) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:39) at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap(TlvMap.kt:130) at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap$default(TlvMap.kt:123) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:39) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:31) at net.mamoe.mirai.internal.network.protocol.packet.EncryptMethodEcdh.makeBody(EncryptMethod.kt:121) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket(OutgoingPacket.kt:455) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket$default(OutgoingPacket.kt:448) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:31) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:30) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket(OutgoingPacket.kt:985) 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) ... 7 more Caused by: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179) at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20) at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629) at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.1:6608 Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Suppressed: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.sign(UnidbgFetchQsign.kt:165) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.qSecurityGetSign(UnidbgFetchQsign.kt:148) 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.WtLogin10$invoke$1.invoke(WtLogin10.kt:35) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin10$invoke$1.invoke(WtLogin10.kt:32) 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.WtLogin10.invoke(WtLogin10.kt:32) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin10.invoke$default(WtLogin10.kt:27) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$FastLoginImpl.doLogin(SsoProcessor.kt:527) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doFastLogin$suspendImpl(SsoProcessor.kt:179) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doFastLogin(SsoProcessor.kt) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:230) 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) ... 5 more Caused by: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179) at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20) at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629) at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.1:6608 Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) [CIRCULAR REFERENCE:java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608]  2023-09-15 23:21:11 W/Net ****1112: Network selector received exception, closing bot. (net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.) 2023-09-15 23:21:11 W/Net ****1112: Exception in resumeConnection. 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) 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.internal.network.handler.selector.SelectorRequireReconnectException Suppressed: NettyChannelException(message=null, cause=null) at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler.createConnection$lambda$4(NettyNetworkHandler.kt:128) at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:557) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:625) at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:105) at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:84) at io.netty.channel.AbstractChannel$CloseFuture.setClosed(AbstractChannel.java:1164) at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:755) at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:731) at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:620) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.closeOnRead(AbstractNioByteChannel.java:105) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:174) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) 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: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.customEnergy(UnidbgFetchQsign.kt:110) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.encryptTlv(UnidbgFetchQsign.kt:100) at net.mamoe.mirai.internal.network.protocol.packet.TlvKt.t544ForToken(Tlv.kt:986) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:138) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1$1.invoke(WtLogin9.kt:39) at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap(TlvMap.kt:130) at net.mamoe.mirai.utils.TlvMapKt._writeTlvMap$default(TlvMap.kt:123) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:39) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1$1.invoke(WtLogin9.kt:31) at net.mamoe.mirai.internal.network.protocol.packet.EncryptMethodEcdh.makeBody(EncryptMethod.kt:121) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket(OutgoingPacket.kt:455) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeOicqRequestPacket$default(OutgoingPacket.kt:448) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:31) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin9$Password$1$1.invoke(WtLogin9.kt:30) at net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketKt.writeSsoPacket(OutgoingPacket.kt:985) 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) ... 7 more Caused by: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179) at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20) at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629) at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.1:6608 Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Suppressed: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:201) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.sign(UnidbgFetchQsign.kt:165) at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.qSecurityGetSign(UnidbgFetchQsign.kt:148) 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.WtLogin10$invoke$1.invoke(WtLogin10.kt:35) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin10$invoke$1.invoke(WtLogin10.kt:32) 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.WtLogin10.invoke(WtLogin10.kt:32) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin10.invoke$default(WtLogin10.kt:27) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$FastLoginImpl.doLogin(SsoProcessor.kt:527) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doFastLogin$suspendImpl(SsoProcessor.kt:179) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.doFastLogin(SsoProcessor.kt) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:230) 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) ... 5 more Caused by: java.net.ConnectException: Connection refused: /192.168.1.1:6608 at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:179) at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:108) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28) at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20) at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629) at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.1:6608 Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) [CIRCULAR REFERENCE:java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /192.168.1.1:6608]  2023-09-15 23:21:11 W/Net ****1112: Network selector received exception, closing bot. (net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.)

StageGuard commented 1 year ago

即使net日志是重复的也是有用信息,我们会根据net日志输出所表现出的行为判断报错上下文

jushe commented 1 year ago

同样出现类似日志。 系统:ubuntu 20.04 LTS。

复现 前两次启动,当进行到发送短信验证码时(刚输入yes后等待一小会,短信验证码未发送)必然触发

目前最新一次启动成功,未触发

mirai-core 版本 2.15.0

bot-protocol ANDROID_PHONE

其他组件版本 fix-protocol 1.12.0-mirai2

系统日志 No response

网络日志

Exception in thread "main" 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.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /127.0.0.1:13579
        at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
        at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
        at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:210)
        at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.sign(UnidbgFetchQsign.kt:190)
        at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.qSecurityGetSign(UnidbgFetchQsign.kt:173)
        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.WtLogin8$invoke$1.invoke(WtLogin8.kt:34)
        at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin8$invoke$1.invoke(WtLogin8.kt:31)2023-10-17 23:17:13 I/Bot 2187875153: Bot cancelled: Bot closed

        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.WtLogin8.invoke(WtLogin8.kt:31)
        at net.mamoe.mirai.internal.network.protocol.packet.login.SmsVerifyInfo.requestSms(WtLogin.kt:45)
        at net.mamoe.mirai.utils.StandardCharImageLoginSolver.solveSms(LoginSolver.jvm.kt:279)
        at net.mamoe.mirai.utils.StandardCharImageLoginSolver.access$solveSms(LoginSolver.jvm.kt:44)
        at net.mamoe.mirai.utils.StandardCharImageLoginSolver$solveSms$1.invokeSuspend(LoginSolver.jvm.kt)
        ... 6 more
    Caused by: java.net.ConnectException: Connection refused: /127.0.0.1:13579
        at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:173)
        at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:107)
        at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:30)
        at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:22)
        at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590)
        at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583)
        at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559)
        at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492)
        at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636)
        at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629)
        at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118)
        at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)
        at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:829)
    Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:13579
    Caused by: java.net.ConnectException: Connection refused
        at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777)
        at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)
        at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: [CIRCULAR REFERENCE: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /127.0.0.1:13579]

补充信息 No response

jushe commented 1 year ago

同样出现类似日志。 系统:ubuntu 20.04 LTS。

复现 前两次启动,当进行到发送短信验证码时(刚输入yes后等待一小会,短信验证码未发送)必然触发

目前最新一次启动成功,未触发

mirai-core 版本 2.15.0

bot-protocol ANDROID_PHONE

其他组件版本 fix-protocol 1.12.0-mirai2

系统日志 No response

网络日志

Exception in thread "main" 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.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /127.0.0.1:13579
      at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
      at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
      at org.asynchttpclient.netty.NettyResponseFuture.get(NettyResponseFuture.java:210)
      at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.sign(UnidbgFetchQsign.kt:190)
      at xyz.cssxsh.mirai.tool.UnidbgFetchQsign.qSecurityGetSign(UnidbgFetchQsign.kt:173)
      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.WtLogin8$invoke$1.invoke(WtLogin8.kt:34)
      at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLogin8$invoke$1.invoke(WtLogin8.kt:31)2023-10-17 23:17:13 I/Bot 2187875153: Bot cancelled: Bot closed

      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.WtLogin8.invoke(WtLogin8.kt:31)
      at net.mamoe.mirai.internal.network.protocol.packet.login.SmsVerifyInfo.requestSms(WtLogin.kt:45)
      at net.mamoe.mirai.utils.StandardCharImageLoginSolver.solveSms(LoginSolver.jvm.kt:279)
      at net.mamoe.mirai.utils.StandardCharImageLoginSolver.access$solveSms(LoginSolver.jvm.kt:44)
      at net.mamoe.mirai.utils.StandardCharImageLoginSolver$solveSms$1.invokeSuspend(LoginSolver.jvm.kt)
      ... 6 more
  Caused by: java.net.ConnectException: Connection refused: /127.0.0.1:13579
      at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:173)
      at org.asynchttpclient.netty.channel.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:107)
      at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:30)
      at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:22)
      at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590)
      at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583)
      at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559)
      at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492)
      at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636)
      at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629)
      at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118)
      at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)
      at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)
      at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
      at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      at java.base/java.lang.Thread.run(Thread.java:829)
  Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:13579
  Caused by: java.net.ConnectException: Connection refused
      at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777)
      at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)
      at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
      at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
      at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: [CIRCULAR REFERENCE: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: /127.0.0.1:13579]

补充信息 No response

好像不太一样。。。。我这边只是网络信息log报错类似