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

Cannot find error message, unknown login result type: 180后生成大量错误日志 #2338

Open
4o4E opened this issue Nov 10, 2022 · 10 comments
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:bug 类型: bug
Milestone

Comments

@4o4E
Copy link

4o4E commented Nov 10, 2022

问题描述

Cannot find error message, unknown login result type: 180后生成大量错误日志

复现

或许是登陆,我也只遇到了一次,不清楚如何复现

mirai-core 版本

2.13.0-RC2

bot-protocol

IPAD

其他组件版本

No response

系统日志

见补充信息

网络日志

见补充信息

补充信息

日志过大,故上传文件如下

latest.zip

@Him188
Copy link
Member

Him188 commented Nov 11, 2022

[09:18:22.860] [net.mamoe.mirai.Bot/WARN ] Exception in resumeConnection.
java.lang.IllegalStateException: Cannot find error message, unknown login result type: 180, TLVMap = {0x00000161(353)=00 01 01 72 00 18 42 26 C4 4C A0 52 8E 6A 30 55 E1 E4 B0 E7 1B F5 E8 93 20 F6 33 CD 7F A5}
	at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.decode(WtLogin.kt:241) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
	at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:491) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:157) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:102) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:126) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	at kotlinx.coroutines.BuildersKt.launch(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:126) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.7.20.jar:1.7.20-release-201(1.7.20)]
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
	at java.lang.Thread.run(Thread.java:955) ~[?:?]
	Suppressed: java.lang.IllegalStateException: Cannot find error message, unknown login result type: 180, TLVMap = {0x00000161(353)=00 01 01 72 00 18 92 17 D4 EF C7 E4 48 5E 8A 20 70 02 42 FB 81 8D 16 1B 6E F5 21 B0 57 5C}
		at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$Login.decode(WtLogin.kt:241) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin$ExchangeEmp.decode(WtLogin.kt:644) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.components.PacketCodecImpl.processBody(PacketCodec.kt:491) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.processBody(CommonNetworkHandler.kt:157) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline.access$processBody(CommonNetworkHandler.kt:102) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invokeSuspend(CommonNetworkHandler.kt:126) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1$3$1.invoke(CommonNetworkHandler.kt) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.BuildersKt.launch(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$PacketDecodePipeline$1.invokeSuspend(CommonNetworkHandler.kt:126) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.7.20.jar:1.7.20-release-201(1.7.20)]
		at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
		at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
		at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.63.Final.jar:4.1.63.Final]
		at java.lang.Thread.run(Thread.java:955) ~[?:?]
	Suppressed: net.mamoe.mirai.internal.network.impl.HeartbeatFailedException: Exception in 3393562436.StatHeartbeat job
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateOK$heartbeatJobs$1$1.invoke(CommonNetworkHandler.kt:346) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateOK$heartbeatJobs$1$1.invoke(CommonNetworkHandler.kt:346) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.setStateImpl$mirai_core(NetworkHandlerSupport.kt:329) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateOK$heartbeatJobs$1.invoke(CommonNetworkHandler.kt:408) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateOK$heartbeatJobs$1.invoke(CommonNetworkHandler.kt:345) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at net.mamoe.mirai.internal.network.components.TimeBasedHeartbeatSchedulerImpl$launchHeartbeatJobAsync$1.invokeSuspend(HeartbeatScheduler.kt:131) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.7.20.jar:1.7.20-release-201(1.7.20)]
		at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[kotlin-stdlib-1.7.20.jar:1.7.20-release-201(1.7.20)]
		at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[kotlin-stdlib-1.7.20.jar:1.7.20-release-201(1.7.20)]
		at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
	Caused by: net.mamoe.mirai.internal.network.handler.selector.PacketTimeoutException: 3393562436.StatHeartbeat Scheduler: Timeout receiving action response
		at net.mamoe.mirai.internal.network.components.TimeBasedHeartbeatSchedulerImpl$launchHeartbeatJobAsync$1.invokeSuspend(HeartbeatScheduler.kt:133) ~[mirai-core-jvm-2.13.0-RC.jar:2.13.0-RC]
		... 12 more
	Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
		at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:508) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
		at java.lang.Thread.run(Thread.java:955) ~[?:?]
[09:18:22.860] [net.mamoe.mirai.Bot/WARN ] Network selector received exception, closing bot. (java.lang.IllegalStateException: Cannot find error message, unknown login result type: 180, TLVMap = {0x00000161(353)=00 01 01 72 00 18 42 26 C4 4C A0 52 8E 6A 30 55 E1 E4 B0 E7 1B F5 E8 93 20 F6 33 CD 7F A5})

@Him188
Copy link
Member

Him188 commented Nov 11, 2022

[09:18:22.860] [net.mamoe.mirai.Bot/WARN ] Exception in resumeConnection.
[09:18:22.860] [net.mamoe.mirai.Bot/WARN ] Exception in resumeConnection.
[09:18:22.861] [net.mamoe.mirai.Bot/WARN ] Exception in resumeConnection.

确实是非常快地刷

@Him188 Him188 added t:bug 类型: bug M 优先级: 主要 s:core 子系统: mirai-core labels Nov 11, 2022
@Him188 Him188 modified the milestones: Backlog, 2.14.0-RC Nov 11, 2022
@Him188
Copy link
Member

Him188 commented Nov 11, 2022

最好在 2.14 检查是否是 2.13 的 regression, 应该不太是

@sandtechnology
Copy link
Collaborator

sandtechnology commented Nov 11, 2022

180是rollbacksign 目前看其他开源框架好像有处理 mirai之前好像有处理记录但是后面删除了?
看了看确实都没做处理 可能是新的加密类型

@Nambers
Copy link
Contributor

Nambers commented Nov 15, 2022

偶然刷出来了:
协议是 MACOS, 然后我关掉这次180的重新登录, 他发了短信验证

2022-11-15 10:15:37 INFO/Net <bot id>: Successfully fetched ecdh public key from server.
2022-11-15 10:15:37 DEBUG/Net <bot id>: Send: wtlogin.login(9:password-login)
2022-11-15 10:15:37 INFO/Net <bot id>: Native sender: Value(net.mamoe.mirai.internal.network.protocol.packet.OutgoingPacketWithRespType@c8423110)
2022-11-15 10:15:38 DEBUG/Net <bot id>: Decoding packet: Value(ByteReadPacket(156 bytes remaining))
2022-11-15 10:15:38 DEBUG/Net <bot id>: Decoding: len=156, value=00 00 00 0A 02 00 00 00 00 0E 33 30 38 35 35 30 35 39 34 39 C5 36 25 D2 17 FF C3 DB 1C DF 17 1C 4D FF 3A 3F 99 00 2D FC BA DD 3A 91 21 81 B1 A5 40 C7 7E 52 77 A7 80 AF 56 6A E3 D0 EF 73 9C 2A C5 AD E9 19 9E FE 06 C7 65 CA 1E 9D 28 69 88 4C 22 DF FD 3C A3 40 F1 BB 60 B1 27 22 AC C5 27 6F 45 30 57 12 79 FD 44 F3 4C F7 D5 C4 EF 41 B0 0C 7E 36 67 08 68 89 31 74 D9 BB C6 4F C9 8E 5A DB 10 5C 01 38 D4 47 52 66 D1 13 9E 8D C3 3F A3 45 DF 94 C1 62 D7 1D F4 0D 5B 37 54 03
2022-11-15 10:15:38 DEBUG/Packet: 开始处理一个包
2022-11-15 10:15:38 DEBUG/Packet: sequenceId = 20241
2022-11-15 10:15:38 DEBUG/Net <bot id>: Decoded: wtlogin.login
2022-11-15 10:15:38 DEBUG/Net <bot id>: Packet Handling Processor: receive packet wtlogin.login
2022-11-15 10:15:38 ERR/Net <bot id>: Exception in decoding packet.0   ???                                 7ff60fb7e310       kfun:kotlin.Throwable#<init>(kotlin.String?){} + 0
1   ???                                 7ff60fb76ec0       kfun:kotlin.Exception#<init>(kotlin.String?){} + 0
2   ???                                 7ff60fb77140       kfun:kotlin.RuntimeException#<init>(kotlin.String?){} + 0
3   ???                                 7ff60fb77830       kfun:kotlin.IllegalStateException#<init>(kotlin.String?){} + 0
4   ???                                 7ff6111ef830       kfun:net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin.Login#decode__at__io.ktor.utils.io.core.ByteReadPacket(net.mamoe.mirai.internal.QQAndroidBot){}net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin.Login.LoginPacketResponse + 0
5   ???                                 7ff6105c4aa0       kfun:net.mamoe.mirai.internal.network.components.PacketCodecImpl.$processBodyCOROUTINE$299#invokeSuspend(kotlin.Result<kotlin.Any?>){}kotlin.Any? + 0
6   ???                                 7ff6105c6be0       kfun:net.mamoe.mirai.internal.network.components.PacketCodecImpl#processBody(net.mamoe.mirai.internal.QQAndroidBot;net.mamoe.mirai.internal.network.components.RawIncomingPacket){}net.mamoe.mirai.internal.network.protocol.packet.IncomingPacket? + 0
7   ???                                 7ff6105e9dc0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$processBodyCOROUTINE$308.invokeSuspend#internal + 0
8   ???                                 7ff6105ea5f0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.processBody#internal + 0
9   ???                                 7ff6105ebb30       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invokeSuspend#internal + 0
10  ???                                 7ff6105ebfd0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invoke#internal + 0
11  ???                                 7ff6105ec120       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invoke#internal.619 + 0
12  ???                                 7ff60fe09f10       kfun:kotlinx.coroutines.intrinsics#startCoroutineUndispatched__at__kotlin.coroutines.SuspendFunction1<0:0,0:1>(0:0;kotlin.coroutines.Continuation<0:1>){0§<kotlin.Any?>;1§<kotlin.Any?>} + 0
13  ???                                 7ff60fd82ab0       kfun:kotlinx.coroutines.CoroutineStart#invoke(kotlin.coroutines.SuspendFunction1<0:0,0:1>;0:0;kotlin.coroutines.Continuation<0:1>){0§<kotlin.Any?>;1§<kotlin.Any?>} + 0
14  ???                                 7ff60fd70ac0       kfun:kotlinx.coroutines.AbstractCoroutine#start(kotlinx.coroutines.CoroutineStart;0:0;kotlin.coroutines.SuspendFunction1<0:0,1:0>){0§<kotlin.Any?>} + 0
15  ???                                 7ff60fd70b90       kfun:kotlinx.coroutines#launch__at__kotlinx.coroutines.CoroutineScope(kotlin.coroutines.CoroutineContext;kotlinx.coroutines.CoroutineStart;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,kotlin.Unit>){}kotlinx.coroutines.Job + 0
16  ???                                 7ff60fd70e00       kfun:kotlinx.coroutines#launch$default__at__kotlinx.coroutines.CoroutineScope(kotlin.coroutines.CoroutineContext?;kotlinx.coroutines.CoroutineStart?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,kotlin.Unit>;kotlin.Int){}kotlinx.coroutines.Job + 0
17  ???                                 7ff6105ec330       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6COROUTINE$311.invokeSuspend#internal + 0
18  ???                                 7ff60fb83050       kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 0
19  ???                                 7ff60fdfab90       kfun:kotlinx.coroutines.DispatchedTask#run(){} + 0
20  ???                                 7ff60fe2f870       kfun:kotlinx.coroutines.WorkerDispatcher.dispatch$lambda$0#internal + 0
21  ???                                 7ff60fe2fea0       kfun:kotlinx.coroutines.WorkerDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$840.invoke#internal + 0
22  ???                                 7ff60fe2ff90       kfun:kotlinx.coroutines.WorkerDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$840.$<bridge-UNN>invoke(){}#internal + 0
23  ???                                 7ff60fb8eff0       WorkerLaunchpad + 0
24  ???                                 7ff6114251c0       _ZN6Worker19processQueueElementEb + 0
25  ???                                 7ff611425070       _ZN12_GLOBAL__N_113workerRoutineEPv + 0
26  ???                                 7ff61142f8a0       pthread_create_wrapper + 0
27  ???                                 7ffa77cde60c       0x0 + 140713728534028
28  ???                                 7ffa77cde690       0x0 + 140713728534160
29  ???                                 7ffa77022430       0x0 + 140713715180592
30  ???                                 7ffa77fcdf90       0x0 + 140713731612560
2022-11-15 10:15:38 WARN/Net <bot id>: Exception in resumeConnection.0   ???                                 7ff60fb7e310       kfun:kotlin.Throwable#<init>(kotlin.String?){} + 0
1   ???                                 7ff60fb76ec0       kfun:kotlin.Exception#<init>(kotlin.String?){} + 0
2   ???                                 7ff60fb77140       kfun:kotlin.RuntimeException#<init>(kotlin.String?){} + 0
3   ???                                 7ff60fb77830       kfun:kotlin.IllegalStateException#<init>(kotlin.String?){} + 0
4   ???                                 7ff6111ef830       kfun:net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin.Login#decode__at__io.ktor.utils.io.core.ByteReadPacket(net.mamoe.mirai.internal.QQAndroidBot){}net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin.Login.LoginPacketResponse + 0
5   ???                                 7ff6105c4aa0       kfun:net.mamoe.mirai.internal.network.components.PacketCodecImpl.$processBodyCOROUTINE$299#invokeSuspend(kotlin.Result<kotlin.Any?>){}kotlin.Any? + 0
6   ???                                 7ff6105c6be0       kfun:net.mamoe.mirai.internal.network.components.PacketCodecImpl#processBody(net.mamoe.mirai.internal.QQAndroidBot;net.mamoe.mirai.internal.network.components.RawIncomingPacket){}net.mamoe.mirai.internal.network.protocol.packet.IncomingPacket? + 0
7   ???                                 7ff6105e9dc0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$processBodyCOROUTINE$308.invokeSuspend#internal + 0
8   ???                                 7ff6105ea5f0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.processBody#internal + 0
9   ???                                 7ff6105ebb30       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invokeSuspend#internal + 0
10  ???                                 7ff6105ebfd0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invoke#internal + 0
11  ???                                 7ff6105ec120       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invoke#internal.619 + 0
12  ???                                 7ff60fe09f10       kfun:kotlinx.coroutines.intrinsics#startCoroutineUndispatched__at__kotlin.coroutines.SuspendFunction1<0:0,0:1>(0:0;kotlin.coroutines.Continuation<0:1>){0§<kotlin.Any?>;1§<kotlin.Any?>} + 0
13  ???                                 7ff60fd82ab0       kfun:kotlinx.coroutines.CoroutineStart#invoke(kotlin.coroutines.SuspendFunction1<0:0,0:1>;0:0;kotlin.coroutines.Continuation<0:1>){0§<kotlin.Any?>;1§<kotlin.Any?>} + 0
14  ???                                 7ff60fd70ac0       kfun:kotlinx.coroutines.AbstractCoroutine#start(kotlinx.coroutines.CoroutineStart;0:0;kotlin.coroutines.SuspendFunction1<0:0,1:0>){0§<kotlin.Any?>} + 0
15  ???                                 7ff60fd70b90       kfun:kotlinx.coroutines#launch__at__kotlinx.coroutines.CoroutineScope(kotlin.coroutines.CoroutineContext;kotlinx.coroutines.CoroutineStart;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,kotlin.Unit>){}kotlinx.coroutines.Job + 0
16  ???                                 7ff60fd70e00       kfun:kotlinx.coroutines#launch$default__at__kotlinx.coroutines.CoroutineScope(kotlin.coroutines.CoroutineContext?;kotlinx.coroutines.CoroutineStart?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,kotlin.Unit>;kotlin.Int){}kotlinx.coroutines.Job + 0
17  ???                                 7ff6105ec330       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6COROUTINE$311.invokeSuspend#internal + 0
18  ???                                 7ff60fb83050       kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 0
19  ???                                 7ff60fdfab90       kfun:kotlinx.coroutines.DispatchedTask#run(){} + 0
20  ???                                 7ff60fe2f870       kfun:kotlinx.coroutines.WorkerDispatcher.dispatch$lambda$0#internal + 0
21  ???                                 7ff60fe2fea0       kfun:kotlinx.coroutines.WorkerDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$840.invoke#internal + 0
22  ???                                 7ff60fe2ff90       kfun:kotlinx.coroutines.WorkerDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$840.$<bridge-UNN>invoke(){}#internal + 0
23  ???                                 7ff60fb8eff0       WorkerLaunchpad + 0
24  ???                                 7ff6114251c0       _ZN6Worker19processQueueElementEb + 0
25  ???                                 7ff611425070       _ZN12_GLOBAL__N_113workerRoutineEPv + 0
26  ???                                 7ff61142f8a0       pthread_create_wrapper + 0
27  ???                                 7ffa77cde60c       0x0 + 140713728534028
28  ???                                 7ffa77cde690       0x0 + 140713728534160
29  ???                                 7ffa77022430       0x0 + 140713715180592
30  ???                                 7ffa77fcdf90       0x0 + 140713731612560
2022-11-15 10:15:38 WARN/Net <bot id>: Network selector received exception, closing bot. (kotlin.IllegalStateException: Cannot find error message, unknown login result type: 180, TLVMap = {353=kotlin.ByteArray@c85fdc10})
Uncaught Kotlin exception: kotlin.IllegalStateException: Cannot find error message, unknown login result type: 180, TLVMap = {353=kotlin.ByteArray@c85fdc10}
    at 0   ???                                 7ff60fb7e310       kfun:kotlin.Throwable#<init>(kotlin.String?){} + 0
    at 1   ???                                 7ff60fb76ec0       kfun:kotlin.Exception#<init>(kotlin.String?){} + 0
    at 2   ???                                 7ff60fb77140       kfun:kotlin.RuntimeException#<init>(kotlin.String?){} + 0
    at 3   ???                                 7ff60fb77830       kfun:kotlin.IllegalStateException#<init>(kotlin.String?){} + 0
    at 4   ???                                 7ff6111ef830       kfun:net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin.Login#decode__at__io.ktor.utils.io.core.ByteReadPacket(net.mamoe.mirai.internal.QQAndroidBot){}net.mamoe.mirai.internal.network.protocol.packet.login.WtLogin.Login.LoginPacketResponse + 0
    at 5   ???                                 7ff6105c4aa0       kfun:net.mamoe.mirai.internal.network.components.PacketCodecImpl.$processBodyCOROUTINE$299#invokeSuspend(kotlin.Result<kotlin.Any?>){}kotlin.Any? + 0
    at 6   ???                                 7ff6105c6be0       kfun:net.mamoe.mirai.internal.network.components.PacketCodecImpl#processBody(net.mamoe.mirai.internal.QQAndroidBot;net.mamoe.mirai.internal.network.components.RawIncomingPacket){}net.mamoe.mirai.internal.network.protocol.packet.IncomingPacket? + 0
    at 7   ???                                 7ff6105e9dc0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$processBodyCOROUTINE$308.invokeSuspend#internal + 0
    at 8   ???                                 7ff6105ea5f0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.processBody#internal + 0
    at 9   ???                                 7ff6105ebb30       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invokeSuspend#internal + 0
    at 10  ???                                 7ff6105ebfd0       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invoke#internal + 0
    at 11  ???                                 7ff6105ec120       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6$lambda$5COROUTINE$310.invoke#internal.619 + 0
    at 12  ???                                 7ff60fe09f10       kfun:kotlinx.coroutines.intrinsics#startCoroutineUndispatched__at__kotlin.coroutines.SuspendFunction1<0:0,0:1>(0:0;kotlin.coroutines.Continuation<0:1>){0§<kotlin.Any?>;1§<kotlin.Any?>} + 0
    at 13  ???                                 7ff60fd82ab0       kfun:kotlinx.coroutines.CoroutineStart#invoke(kotlin.coroutines.SuspendFunction1<0:0,0:1>;0:0;kotlin.coroutines.Continuation<0:1>){0§<kotlin.Any?>;1§<kotlin.Any?>} + 0
    at 14  ???                                 7ff60fd70ac0       kfun:kotlinx.coroutines.AbstractCoroutine#start(kotlinx.coroutines.CoroutineStart;0:0;kotlin.coroutines.SuspendFunction1<0:0,1:0>){0§<kotlin.Any?>} + 0
    at 15  ???                                 7ff60fd70b90       kfun:kotlinx.coroutines#launch__at__kotlinx.coroutines.CoroutineScope(kotlin.coroutines.CoroutineContext;kotlinx.coroutines.CoroutineStart;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,kotlin.Unit>){}kotlinx.coroutines.Job + 0
    at 16  ???                                 7ff60fd70e00       kfun:kotlinx.coroutines#launch$default__at__kotlinx.coroutines.CoroutineScope(kotlin.coroutines.CoroutineContext?;kotlinx.coroutines.CoroutineStart?;kotlin.coroutines.SuspendFunction1<kotlinx.coroutines.CoroutineScope,kotlin.Unit>;kotlin.Int){}kotlinx.coroutines.Job + 0
    at 17  ???                                 7ff6105ec330       kfun:net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.PacketDecodePipeline.$<init>$lambda$6COROUTINE$311.invokeSuspend#internal + 0
    at 18  ???                                 7ff60fb83050       kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 0
    at 19  ???                                 7ff60fdfab90       kfun:kotlinx.coroutines.DispatchedTask#run(){} + 0
    at 20  ???                                 7ff60fe2f870       kfun:kotlinx.coroutines.WorkerDispatcher.dispatch$lambda$0#internal + 0
    at 21  ???                                 7ff60fe2fea0       kfun:kotlinx.coroutines.WorkerDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$840.invoke#internal + 0
    at 22  ???                                 7ff60fe2ff90       kfun:kotlinx.coroutines.WorkerDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$840.$<bridge-UNN>invoke(){}#internal + 0
    at 23  ???                                 7ff60fb8eff0       WorkerLaunchpad + 0
    at 24  ???                                 7ff6114251c0       _ZN6Worker19processQueueElementEb + 0
    at 25  ???                                 7ff611425070       _ZN12_GLOBAL__N_113workerRoutineEPv + 0
    at 26  ???                                 7ff61142f8a0       pthread_create_wrapper + 0
    at 27  ???                                 7ffa77cde60c       0x0 + 140713728534028
    at 28  ???                                 7ffa77cde690       0x0 + 140713728534160
    at 29  ???                                 7ffa77022430       0x0 + 140713715180592
    at 30  ???                                 7ffa77fcdf90       0x0 + 140713731612560

@Him188
Copy link
Member

Him188 commented Dec 27, 2022

在 2.14 没有复现, 但好像最近没改过这附近代码

@Him188
Copy link
Member

Him188 commented Dec 27, 2022

好像复现了

@Him188
Copy link
Member

Him188 commented Dec 27, 2022

期望在 2.14 会缓解

@qfys521
Copy link

qfys521 commented Feb 11, 2023

在2.13.0上遇到了,重启后net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException,通过更换设备信息文件解决

@Him188 Him188 modified the milestones: 2.15.0-RC, 2.16.0-RC May 6, 2023
@Him188 Him188 modified the milestones: 2.16.0-RC, 2.17.0-RC Aug 24, 2023
@StageGuard

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:bug 类型: bug
Projects
None yet
Development

No branches or pull requests

6 participants