Connectivity Problem with Minecraft - server restarting and freezing/booting after short time

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.3.2 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

The server is kicking players and restarting upon doing so, with the player seeing an internal exception of “java.net.socketexception: connection reset.” i’ve turned off the sleep mode as far as I can, allocated enough memory, and 8 cpu cores are allocated. This isn’t a large server, and is just vanilla 1.21.10. TPS and all others are fairly stable, but 20 seconds in the game freezes on the client end.

Reproduction Steps

  • join the server
  • do stuff at spawn for 20 seconds
  • issue happens

The following report directory log is consistent with this issue:

-— Minecraft Network Protocol Error Report ----
// It’s the tubes, they’re clogged!

Time: 2025-10-25 13:13:24
Description: Packet handling error

java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(Unknown Source) ~[?:?] {}
at java.base/sun.nio.ch.SocketChannelImpl.read(Unknown Source) ~[?:?] {}
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:255) ~[netty-buffer-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) ~[netty-buffer-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:356) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:796) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:732) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:658) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998) ~[netty-common-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.118.Final.jar:4.1.118.Final] {}
at java.base/java.lang.Thread.run(Unknown Source) [?:?] {}

A detailed walkthrough of the error, its code path and all known details is as follows:

– Head –
Thread: Netty Client IO #13
Stacktrace:
at TRANSFORMER/minecraft@1.21.10/net.minecraft.network.PacketListener.fillCrashReport(PacketListener.java:33) ~[client-1.21.10-20251007.142004-srg.jar:?] {}
– Connection –
Details:
Protocol: play
Flow: CLIENTBOUND
Is Local: false
Server type: OTHER
Server brand: vanilla
Stacktrace:
at TRANSFORMER/minecraft@1.21.10/net.minecraft.network.PacketListener.fillCrashReport(PacketListener.java:33) ~[client-1.21.10-20251007.142004-srg.jar:?] {}
at TRANSFORMER/minecraft@1.21.10/net.minecraft.network.protocol.PacketUtils.fillCrashReport(PacketUtils.java:47) ~[client-1.21.10-20251007.142004-srg.jar:?] {}
at TRANSFORMER/minecraft@1.21.10/net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl.storeDisconnectionReport(ClientCommonPacketListenerImpl.java:141) ~[client-1.21.10-20251007.142004-srg.jar:?] {}
at TRANSFORMER/minecraft@1.21.10/net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl.createDisconnectionInfo(ClientCommonPacketListenerImpl.java:134) ~[client-1.21.10-20251007.142004-srg.jar:?] {}
at TRANSFORMER/minecraft@1.21.10/net.minecraft.network.Connection.exceptionCaught(Connection.java:155) ~[client-1.21.10-20251007.142004-srg.jar:?] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1324) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:856) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:125) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:177) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:796) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:732) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:658) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998) ~[netty-common-4.1.118.Final.jar:4.1.118.Final] {}
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.118.Final.jar:4.1.118.Final] {}
at java.base/java.lang.Thread.run(Unknown Source) [?:?] {}

– System Details –
Details:
Minecraft Version: 1.21.10
Minecraft Version ID: 1.21.10
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.8, Azul Systems, Inc.
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Azul Systems, Inc.
Memory: 163330720 bytes (155 MiB) / 933232640 bytes (890 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 16
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 7 7800X3D 8-Core Processor
Identifier: AuthenticAMD Family 25 Model 97 Stepping 2
Microarchitecture: Zen 3
Frequency (GHz): 4.20
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: NVIDIA GeForce RTX 4080 SUPER
Graphics card #0 vendor: NVIDIA
Graphics card #0 VRAM (MiB): 16376.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 32.0.15.8108
Graphics card #1 name: AMD Radeon™ Graphics
Graphics card #1 vendor: Advanced Micro Devices, Inc.
Graphics card #1 VRAM (MiB): 512.00
Graphics card #1 deviceId: VideoController2
Graphics card #1 versionInfo: 32.0.12033.1030
Memory slot #0 capacity (MiB): 16384.00
Memory slot #0 clockSpeed (GHz): 4.80
Memory slot #0 type: DDR5
Memory slot #1 capacity (MiB): 16384.00
Memory slot #1 clockSpeed (GHz): 4.80
Memory slot #1 type: DDR5
Virtual memory max (MiB): 39799.91
Virtual memory used (MiB): 20122.43
Swap memory total (MiB): 7936.00
Swap memory used (MiB): 0.00
Space in storage for jna.tmpdir (MiB): available: 350082.44, total: 1906937.00
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 350082.44, total: 1906937.00
Space in storage for io.netty.native.workdir (MiB): available: 350082.44, total: 1906937.00
Space in storage for java.io.tmpdir (MiB): available: 350082.44, total: 1906937.00
Space in storage for workdir (MiB): available: 350082.44, total: 1906937.00
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096M
Debug Flags: 0 total;
Class Processors:
00.00%: neoforge:computing_frames (marker)
00.00%: neoforge:runtime_enum_extender
04.96%: neoforge:access_transformer
00.05%: neoforge:mixin
00.00%: neoforge:simple_processors_default (marker)
00.01%: neoforge.coremods:field_to_getter.net.minecraft.world.level.biome.biome
00.01%: neoforge.coremods:field_to_getter.net.minecraft.world.level.block.flowerpotblock
00.01%: neoforge.coremods:field_to_getter.net.minecraft.world.level.levelgen.structure.structure
00.17%: neoforge.coremods:method_redirector
Mod List:
client-1.21.10-20251007.142004-srg.jar |Minecraft |minecraft |1.21.10 |Manifest: 5cca83162f4c397b62e4abe032da69128727825dafec5a98a91da34b7c1a4498
neoforge-21.10.33-beta-universal.jar |NeoForge |neoforge |21.10.33-beta |Manifest: 32e44c28e4911308453915e7f815b1c13c82e905ce7bdaf66f8e122ed00cba57
spark-1.10.152-neoforge.jar |spark |spark |1.10.152 |Manifest: e6d42cc4c3ae923c02be8ee6cae0d8bcd3fd7144243123792dd9103a9c555e66
Crash Report UUID: 37ba6ccc-2e09-40f7-8cac-dc3ceee7dd8c
FML: 10.0.25
NeoForge: 21.10.33-beta

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.