-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
N优先级: 一般优先级: 一般s:core子系统: mirai-core子系统: mirai-coret:problem类型: 不容易归类为特性或 bug 的综合问题类型: 不容易归类为特性或 bug 的综合问题x:protocol属性: 协议相关属性: 协议相关x:question标签: 需要更多信息标签: 需要更多信息
Milestone
Description
机器人刷屏报错大概2分钟一次
原因未知,重新登录依然一样
接收聊天消息正常
[06:50:36 INFO]: 2021-10-15 06:50:36 E/Net 3528054353: Exception in coroutine 'unnamed'
[06:50:36 INFO]: ExceptionInPacketCodecException(cause=java.lang.IllegalStateException: 32)
[06:50:36 INFO]: at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler.handleExceptionInDecoding(NettyNetworkHandler.kt:61)
[06:50:36 INFO]: at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$ByteBufToIncomingPacketDecoder.channelRead0(NettyNetworkHandler.kt:83)
[06:50:36 INFO]: at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$ByteBufToIncomingPacketDecoder.channelRead0(NettyNetworkHandler.kt:73)
[06:50:36 INFO]: at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
[06:50:36 INFO]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[06:50:36 INFO]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[06:50:36 INFO]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[06:50:36 INFO]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
[06:50:36 INFO]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
[06:50:36 INFO]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[06:50:36 INFO]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[06:50:36 INFO]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[06:50:36 INFO]: at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
[06:50:36 INFO]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[06:50:36 INFO]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[06:50:36 INFO]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
[06:50:36 INFO]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
[06:50:36 INFO]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
[06:50:36 INFO]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
[06:50:36 INFO]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
[06:50:36 INFO]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
[06:50:36 INFO]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
[06:50:36 INFO]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
[06:50:36 INFO]: at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
[06:50:36 INFO]: at java.base/java.lang.Thread.run(Thread.java:834)
[06:50:36 INFO]: Caused by: java.lang.IllegalStateException: 32
[06:50:36 INFO]: at net.mamoe.mirai.internal.network.components.PacketCodecImpl.parseOicqResponse(PacketCodec.kt:197)
[06:50:36 INFO]: at net.mamoe.mirai.internal.network.components.PacketCodecImpl.decodeRaw(PacketCodec.kt:108)
[06:50:36 INFO]: at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$ByteBufToIncomingPacketDecoder.channelRead0(NettyNetworkHandler.kt:80)
[06:50:36 INFO]: ... 23 more
[06:50:36 INFO]: Suppressed: net.mamoe.mirai.internal.network.components.OicqDecodingException
[06:50:36 INFO]: [CIRCULAR REFERENCE:java.lang.IllegalStateException: 32]
[06:50:36 INFO]:
复现
版本及相关选项选择
- mirai-core:
2.8.0-M1
- bot-protocol:
ANDROID_PAD
网络日志
补充信息
Metadata
Metadata
Assignees
Labels
N优先级: 一般优先级: 一般s:core子系统: mirai-core子系统: mirai-coret:problem类型: 不容易归类为特性或 bug 的综合问题类型: 不容易归类为特性或 bug 的综合问题x:protocol属性: 协议相关属性: 协议相关x:question标签: 需要更多信息标签: 需要更多信息