-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
断线重连时,日志快速不断输出同一个异常。之后账号无法由插件bot.login()正常登录 #2148
Comments
在此之后,重启mirai时该账号无法登陆。确认该账号可以正常使用 登录时日志2022-07-11 20:19:36 E/Net 1526****: Exception in decoding packet. net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException at net.mamoe.mirai.internal.utils.crypto.TEA.fail(TEA.kt:298) at net.mamoe.mirai.internal.utils.crypto.TEA.doOption$decrypt(TEA.kt:274) at net.mamoe.mirai.internal.utils.crypto.TEA.doOption(TEA.kt:294) at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt(TEA.kt:318) at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt$default(TEA.kt:317) at net.mamoe.mirai.internal.network.protocol.packet.login.wtlogin.WtLoginExt.analyzeTlv106(WtLoginExt.kt:378) at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.onLoginSuccess(WtLogin.kt:272) at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.decode(WtLogin.kt:181) at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:420) at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$PacketDecodePipeline$send$1.invokeSuspend(NettyNetworkHandler.kt:189) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) 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)2022-07-11 20:19:36 I/Bot 1526*****: Bot cancelled: Bot closed |
手动用Watch协议登录之后复制bots里的cache,再重启可正常通过插件login方法登录 |
我今天也遇到了这个问题。今天挂的两个号,一个被腾讯查到是第三方客户端而冻结了,一个号就是这个现象,报wLoginSigInfoField is not yet initialized |
问题描述
见日志,这只是一部分。我觉得它是个bug(
断线重连时反复尝试执行同一个步骤,反复抛出这个异常,无法重连成功;在网络状况好转后仍在持续。已存在于数个版本,至少2.10就有吧我记得。
复现
断线重连时会发生
mirai-core 版本
2.12.0
bot-protocol
ANDROID_WATCH
其他组件版本
No response
系统日志
No response
网络日志
补充信息
No response
The text was updated successfully, but these errors were encountered: