Connectivity Problem with Minecraft - Unable to load into server

System Information

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

Problem Description

Issue

After loading in I spawn in air with nothing but skybox falling, after a few seconds I get a connection Lost disconnect message with error: Internal Exception: java.net.SocketException: Connection reset

Reproduction Steps

  • Start server
  • Join server
  • Connection lost
  • Restart server and rejoin
  • Same disconnection error

That’s just a generic disconnect error, does it say anything in the logs?

Logs just show

[08Feb2025 23:43:59.989] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: warjoin1 joined the game

[08Feb2025 23:44:00.140] [Server thread/INFO] [actuallyadditions/]: Sending Player Data to player literal{warjoin1} with UUID 8b08a80e-7b02-46c0-b440-70fc0348d1e9.

[08Feb2025 23:44:57.998] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: warjoin1 lost connection: Timed out

[08Feb2025 23:44:57.998] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: warjoin1 left the game

[08Feb2025 23:44:58.043] [Server thread/WARN] [net.minecraft.network.Connection/]: handleDisconnection() called twice

Yeah, that means the player took too long to log in, oodles of reasons as to why that could be.
What sort of server is it? (eg Forge, Paper, Fabric, etc)

Its a NeoForge 21.1.115

Server is also showing 0% cpu until a player joins.

Have been able to recreate with 2 other players.

P.S. 1 of the other plays is using same network as me and the second is in a different location with the same ISP, Could get a 3rd player to test it that is out of state to see if they get the same issue

Yeah, could be that the modpack is just sending too much over the network, or you have the render distance too high (default is 10)
If it’s not the render distance, you could try adding this mod to the server:
https://www.curseforge.com/minecraft/mc-mods/connectivity/files/all?page=1&pageSize=20&version=1.21.1&gameVersionTypeId=6

Ok I’m going to decrease render distance from 26 to 15 and test if issues persist Ill lower again and then try that mod. Is that mod server side only or does it need to be on client side aswell?

P.S.
Ok decreasing render distance to 15 resolved connection issue, we experience no issues playing with 26 render distance, if we increase back to 26 and install that mod do you think that would also resolve the issue

That mod on the client might help further, but it’s optional.
Remember with the render distance, that circle math applies.
A render distance of 10 loads 314 chunks per player, while a render distance of 15 loads 707 chunks per player.
It adds up a lot quicker than you’d think, which puts strain both on the network and on the server’s singelthreaded performance (given MC is mostly singlethreded)

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