mojira.dev
MC-306094

[Netty Epoll IO #1/ERROR] In-game server- browser causes error messages on server. Server crash is rare but possible.

After updating from 1.21.9 to 1.21.11, the server console threw these error messages as soon as you opened the server browser in the client and the server received requests.
After thinking about it for a while, I came up with the solution myself. However, I want to post it here for others with the same problem and perhaps without a solution. Beat me up for this if you want. :)

Two approaches immediately came to mind: MOTD or the server icon. The latter was the problem. The file was too large. After removing all metadata and optimizing the colors, MC no longer had any problems with it (size).
Has Mojang made "status packet validation" stricter since v. 1.21.11?

Cheers,
Kai

[00:16:50] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, profilesHost=https://api.mojang.com, name=PROD]
[00:16:52] [ServerMain/INFO]: Loaded 1470 recipes
[00:16:52] [ServerMain/INFO]: Loaded 1584 advancements
[00:16:52] [Server thread/INFO]: Starting minecraft server version 1.21.11
[00:16:52] [Server thread/INFO]: Loading properties
[00:16:52] [Server thread/INFO]: Default game type: SURVIVAL
[00:16:52] [Server thread/INFO]: Generating keypair
[00:16:52] [Server thread/INFO]: Starting Minecraft server on *:26565
[00:16:52] [Server thread/INFO]: Preparing level "XXXXX XXXX XXXX"
[00:16:53] [Server thread/INFO]: Loading 0 persistent chunks...
[00:16:53] [Server thread/INFO]: Preparing spawn area: 100%
[00:16:53] [Server thread/INFO]: Time elapsed: 12 ms
[00:16:53] [Server thread/INFO]: Done (0.842s)! For help, type "help"
[00:17:25] [Netty Epoll IO #1/ERROR]: Error sending packet clientbound/minecraft:status_response
io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:status_response'
	at aan.a(SourceFile:61)
	at aan.encode(SourceFile:14)
	at xj.a(SourceFile:26)
	at xj.encode(SourceFile:12)
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:752)
	at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
	at wu$2.write(SourceFile:488)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:804)
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1041)
	at io.netty.channel.Channel.writeAndFlush(Channel.java:262)
	at wu.c(SourceFile:328)
	at wu.b(SourceFile:316)
	at wu.a(SourceFile:298)
	at wu.a(SourceFile:292)
	at wu.a(SourceFile:288)
	at aym.a(SourceFile:42)
	at als.a(SourceFile:22)
	at als.a(SourceFile:8)
	at wu.a(SourceFile:181)
	at wu.a(SourceFile:166)
	at wu.channelRead0(SourceFile:58)
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.flow.FlowControlHandler.dequeue(FlowControlHandler.java:201)
	at io.netty.handler.flow.FlowControlHandler.channelRead(FlowControlHandler.java:163)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at aya.channelRead(SourceFile:74)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:293)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794)
	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.handle(AbstractEpollChannel.java:482)
	at io.netty.channel.epoll.EpollIoHandler$DefaultEpollIoRegistration.handle(EpollIoHandler.java:317)
	at io.netty.channel.epoll.EpollIoHandler.processReady(EpollIoHandler.java:515)
	at io.netty.channel.epoll.EpollIoHandler.run(EpollIoHandler.java:460)
	at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225)
	at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: io.netty.handler.codec.EncoderException: String too big (was 35241 characters, max 32767)
	at xx.a(SourceFile:38)
	at aam$28.a(SourceFile:763)
	at aam$28.encode(SourceFile:744)
	at aam$9.a(SourceFile:318)
	at aam$9.encode(SourceFile:308)
	at aao$17.encode(SourceFile:142)
	at aao$15.a(SourceFile:103)
	at aao$15.encode(SourceFile:93)
	at aan.a(SourceFile:56)
	... 50 more
[00:17:25] [Netty Epoll IO #1/ERROR]: Error sending packet clientbound/minecraft:disconnect
io.netty.handler.codec.EncoderException: Sending unknown packet 'clientbound/minecraft:disconnect'
	at aan.a(SourceFile:50)
	at aan.encode(SourceFile:14)
	at xj.a(SourceFile:26)
	at xj.encode(SourceFile:12)
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:752)
	at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
	at wu$2.write(SourceFile:488)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:804)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:869)
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1046)
	at io.netty.channel.Channel.writeAndFlush(Channel.java:257)
	at wu.c(SourceFile:324)
	at wu.b(SourceFile:316)
	at wu.a(SourceFile:298)
	at wu.a(SourceFile:292)
	at wu.exceptionCaught(SourceFile:143)
	at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:289)
	at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:271)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1396)
	at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:890)
	at io.netty.channel.VoidChannelPromise.fireException0(VoidChannelPromise.java:236)
	at io.netty.channel.VoidChannelPromise.tryFailure(VoidChannelPromise.java:178)
	at io.netty.util.internal.PromiseNotificationUtil.tryFailure(PromiseNotificationUtil.java:64)
	at io.netty.channel.AbstractChannelHandlerContext.notifyOutboundHandlerException(AbstractChannelHandlerContext.java:875)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:832)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:752)
	at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
	at wu$2.write(SourceFile:488)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:804)
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1041)
	at io.netty.channel.Channel.writeAndFlush(Channel.java:262)
	at wu.c(SourceFile:328)
	at wu.b(SourceFile:316)
	at wu.a(SourceFile:298)
	at wu.a(SourceFile:292)
	at wu.a(SourceFile:288)
	at aym.a(SourceFile:42)
	at als.a(SourceFile:22)
	at als.a(SourceFile:8)
	at wu.a(SourceFile:181)
	at wu.a(SourceFile:166)
	at wu.channelRead0(SourceFile:58)
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.flow.FlowControlHandler.dequeue(FlowControlHandler.java:201)
	at io.netty.handler.flow.FlowControlHandler.channelRead(FlowControlHandler.java:163)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at aya.channelRead(SourceFile:74)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:293)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794)
	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.handle(AbstractEpollChannel.java:482)
	at io.netty.channel.epoll.EpollIoHandler$DefaultEpollIoRegistration.handle(EpollIoHandler.java:317)
	at io.netty.channel.epoll.EpollIoHandler.processReady(EpollIoHandler.java:515)
	at io.netty.channel.epoll.EpollIoHandler.run(EpollIoHandler.java:460)
	at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225)
	at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base/java.lang.Thread.run(Thread.java:1583)
[00:17:38] [Server thread/INFO]: Stopping the server
[00:17:38] [Server thread/INFO]: Stopping server
[00:17:38] [Server thread/INFO]: Saving players
[00:17:38] [Server thread/INFO]: Saving worlds
[00:17:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[XXXXX XXXX XXXX]'/minecraft:overworld
[00:17:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[XXXXX XXXX XXXX]'/minecraft:the_nether
[00:17:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[XXXXX XXXX XXXX]'/minecraft:the_end
[00:17:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (XXXXX XXXX XXXX): All chunks are saved
[00:17:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[00:17:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[00:17:38] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[00:16:50] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, profilesHost=https://api.mojang.com, name=PROD]
[00:16:52] [ServerMain/INFO]: Loaded 1470 recipes
[00:16:52] [ServerMain/INFO]: Loaded 1584 advancements
[00:16:52] [Server thread/INFO]: Starting minecraft server version 1.21.11
[00:16:52] [Server thread/INFO]: Loading properties
[00:16:52] [Server thread/INFO]: Default game type: SURVIVAL
[00:16:52] [Server thread/INFO]: Generating keypair
[00:16:52] [Server thread/INFO]: Starting Minecraft server on *:26565
[00:16:52] [Server thread/INFO]: Preparing level "XXXXX XXXX XXXX"
[00:16:53] [Server thread/INFO]: Loading 0 persistent chunks...
[00:16:53] [Server thread/INFO]: Preparing spawn area: 100%
[00:16:53] [Server thread/INFO]: Time elapsed: 12 ms
[00:16:53] [Server thread/INFO]: Done (0.842s)! For help, type "help"
[00:17:25] [Netty Epoll IO #1/ERROR]: Error sending packet clientbound/minecraft:status_response
io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:status_response'
	at aan.a(SourceFile:61)
	at aan.encode(SourceFile:14)
	at xj.a(SourceFile:26)
	at xj.encode(SourceFile:12)
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:752)
	at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
	at wu$2.write(SourceFile:488)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:804)
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1041)
	at io.netty.channel.Channel.writeAndFlush(Channel.java:262)
	at wu.c(SourceFile:328)
	at wu.b(SourceFile:316)
	at wu.a(SourceFile:298)
	at wu.a(SourceFile:292)
	at wu.a(SourceFile:288)
	at aym.a(SourceFile:42)
	at als.a(SourceFile:22)
	at als.a(SourceFile:8)
	at wu.a(SourceFile:181)
	at wu.a(SourceFile:166)
	at wu.channelRead0(SourceFile:58)
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.flow.FlowControlHandler.dequeue(FlowControlHandler.java:201)
	at io.netty.handler.flow.FlowControlHandler.channelRead(FlowControlHandler.java:163)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at aya.channelRead(SourceFile:74)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:293)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794)
	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.handle(AbstractEpollChannel.java:482)
	at io.netty.channel.epoll.EpollIoHandler$DefaultEpollIoRegistration.handle(EpollIoHandler.java:317)
	at io.netty.channel.epoll.EpollIoHandler.processReady(EpollIoHandler.java:515)
	at io.netty.channel.epoll.EpollIoHandler.run(EpollIoHandler.java:460)
	at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225)
	at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: io.netty.handler.codec.EncoderException: String too big (was 35241 characters, max 32767)
	at xx.a(SourceFile:38)
	at aam$28.a(SourceFile:763)
	at aam$28.encode(SourceFile:744)
	at aam$9.a(SourceFile:318)
	at aam$9.encode(SourceFile:308)
	at aao$17.encode(SourceFile:142)
	at aao$15.a(SourceFile:103)
	at aao$15.encode(SourceFile:93)
	at aan.a(SourceFile:56)
	... 50 more
[00:17:25] [Netty Epoll IO #1/ERROR]: Error sending packet clientbound/minecraft:disconnect
io.netty.handler.codec.EncoderException: Sending unknown packet 'clientbound/minecraft:disconnect'
	at aan.a(SourceFile:50)
	at aan.encode(SourceFile:14)
	at xj.a(SourceFile:26)
	at xj.encode(SourceFile:12)
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:752)
	at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
	at wu$2.write(SourceFile:488)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:804)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:869)
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1046)
	at io.netty.channel.Channel.writeAndFlush(Channel.java:257)
	at wu.c(SourceFile:324)
	at wu.b(SourceFile:316)
	at wu.a(SourceFile:298)
	at wu.a(SourceFile:292)
	at wu.exceptionCaught(SourceFile:143)
	at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:289)
	at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:271)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1396)
	at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:890)
	at io.netty.channel.VoidChannelPromise.fireException0(VoidChannelPromise.java:236)
	at io.netty.channel.VoidChannelPromise.tryFailure(VoidChannelPromise.java:178)
	at io.netty.util.internal.PromiseNotificationUtil.tryFailure(PromiseNotificationUtil.java:64)
	at io.netty.channel.AbstractChannelHandlerContext.notifyOutboundHandlerException(AbstractChannelHandlerContext.java:875)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:832)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:752)
	at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
	at wu$2.write(SourceFile:488)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:827)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:804)
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1041)
	at io.netty.channel.Channel.writeAndFlush(Channel.java:262)
	at wu.c(SourceFile:328)
	at wu.b(SourceFile:316)
	at wu.a(SourceFile:298)
	at wu.a(SourceFile:292)
	at wu.a(SourceFile:288)
	at aym.a(SourceFile:42)
	at als.a(SourceFile:22)
	at als.a(SourceFile:8)
	at wu.a(SourceFile:181)
	at wu.a(SourceFile:166)
	at wu.channelRead0(SourceFile:58)
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.flow.FlowControlHandler.dequeue(FlowControlHandler.java:201)
	at io.netty.handler.flow.FlowControlHandler.channelRead(FlowControlHandler.java:163)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at aya.channelRead(SourceFile:74)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356)
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:293)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794)
	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.handle(AbstractEpollChannel.java:482)
	at io.netty.channel.epoll.EpollIoHandler$DefaultEpollIoRegistration.handle(EpollIoHandler.java:317)
	at io.netty.channel.epoll.EpollIoHandler.processReady(EpollIoHandler.java:515)
	at io.netty.channel.epoll.EpollIoHandler.run(EpollIoHandler.java:460)
	at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225)
	at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base/java.lang.Thread.run(Thread.java:1583)
[00:17:38] [Server thread/INFO]: Stopping the server
[00:17:38] [Server thread/INFO]: Stopping server
[00:17:38] [Server thread/INFO]: Saving players
[00:17:38] [Server thread/INFO]: Saving worlds
[00:17:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[XXXXX XXXX XXXX]'/minecraft:overworld
[00:17:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[XXXXX XXXX XXXX]'/minecraft:the_nether
[00:17:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[XXXXX XXXX XXXX]'/minecraft:the_end
[00:17:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (XXXXX XXXX XXXX): All chunks are saved
[00:17:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[00:17:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[00:17:38] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved

Environment

Dedicated server running on Linux (any distro)

Comments 1

I had exactly the same problem, but I updated from version 1.21.10 to 1.21.11. I just couldn't find a solution. After removing the server icon, the error was gone.
When you consider that several thousand players have your server in their favorites and then open or refresh their server browser... Every request results in this error message.

Thank you very much!!!

Kai

(Unassigned)

Community Consensus

(Unassigned)

1.21.11

Retrieved