Skip to content
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

2.13.0无法使用ANDROID_PHONE协议登录 #2360

Closed
YuYue-Amatsuki opened this issue Nov 24, 2022 · 2 comments
Closed

2.13.0无法使用ANDROID_PHONE协议登录 #2360

YuYue-Amatsuki opened this issue Nov 24, 2022 · 2 comments

Comments

@YuYue-Amatsuki
Copy link

问题描述

如图
NQA)_AVX($@8NCJZDL3HNAW

复现

autologin和手动登录均无法登录

mirai-core 版本

2.13.0

bot-protocol

ANDROID_PHONE

其他组件版本

No response

系统日志

2022-11-24 16:17:38 I/Bot.2522860289: Loaded account secrets from local cache.
2022-11-24 16:17:38 I/Bot.2522860289: Saved account secrets to local cache for fast login.
2022-11-24 16:17:38 I/Bot.2522860289: Bot cancelled: Bot closed
Login failed: Received packet returnCode = -10003, which may mean session expired.
2022-11-24 16:17:38 E/console: java.lang.IllegalStateException: Received packet returnCode = -10003, which may mean session expired.
java.lang.IllegalStateException: Received packet returnCode = -10003, which may mean session expired.
        at net.mamoe.mirai.internal.network.components.PacketCodecException.<init>(PacketCodec.kt:72)
        at net.mamoe.mirai.internal.network.components.PacketCodecImpl.parseSsoFrame(PacketCodec.kt:178)
        at net.mamoe.mirai.internal.network.components.PacketCodecImpl.decodeRaw(PacketCodec.kt:127)
        at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.decodePacket(CommonNetworkHandler.kt:148)
        at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$decodePacket(CommonNetworkHandler.kt:102)
        at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:125)
        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:833)
        Suppressed: net.mamoe.mirai.internal.network.components.PacketCodecException: java.lang.IllegalStateException: Received packet returnCode = -10003, which may mean session expired.
                ... 14 more
        Caused by: [CIRCULAR REFERENCE: java.lang.IllegalStateException: Received packet returnCode = -10003, which may mean session expired.]

网络日志

No response

补充信息

No response

@cssxsh
Copy link
Contributor

cssxsh commented Nov 24, 2022

which may mean session expired.

请手动删除 bots/.../cache 下的 session.bin 等文件

#2346

@YuYue-Amatsuki
Copy link
Author

which may mean session expired.

请手动删除 bots/.../cache 下的 session.bin 等文件

#2346

感谢,已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants