Hello, I’m having an issue with running a server. Could you help me?
I was playing on a modpack server with my friends, but I ran into a problem while updating.
This server started on version 3.0.3 and was updated to 3.1.0. Yesterday, I attempted to apply the 3.1.1 update.
The update method was simply moving the "world" folder from the old server to the new server pack files and running the server.
The first launch was successful, and everyone was able to join the server. However, after restarting the server, I encountered the following error and could no longer access it:
[io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: unable to fit 2097447 into 3]
After some research, I found that this error can occur due to excessive packet transmission. I tried the following solutions:
Increased network-compression-threshold in server.properties from 512 to 80000 (did not fix the issue).
Suspected an issue with the updated fancymenu mod, so I replaced it with the 3.1.0 version (did not fix the issue).
Kept trying to reconnect (did not fix the issue).
Deleted all files, created a fresh server, and inserted only the world folder (server was accessible at first but became inaccessible after restart).
The strangest thing is that the server works perfectly fine on the first launch after creation,
but as soon as I restart it even once, the error appears, and access is denied.
Does anyone know what might be causing this issue?
I would really appreciate any advice.