-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io.netty.handler.codec.EncoderException: String too big #1142
Comments
I'm now at the point where restoring from a recent backup only works for a few minutes before the server starts sending packets that are too large. Any idea what mod might be causing this? |
Crash report? |
Check the Server Log link, shows the crash... or is there something else I need to post? |
The server log isn't even a complete log, just a stack trace. There's not much to go on here. The only potential lead is that the game is trying to send information about entities on leashes or being ridden in a chunk. Anything weird going on with entities matching that description? |
Not as far as I know. Is there a more helpful log I could send? Edit: I have a sneaking suspicion it's Simple Storage Network crashing when it starts tracking too many items. I loaded an old enough backup that I could get on the server and look around, and found a storage network tracking 39k oak wood (and climbing). Any way to verify this? |
I would recommend you restart your server more often than you are. It sounds like you're letting it go for weeks at time. I wouldn't suggest even running vanilla without a restart every couple of days at least. I don't think I've encountered modpacks that have been able to run for that long of a period without a restart. |
It doesn't matter how often the server is restarted. This is a progressive issue where packet sizes steadily increase, and eventually exceed the client send limit. Packet sizes continue increasing, right from where they left off, after every restart. Doesn't matter if I restart the server hourly, packet sizes eventually become larger than 32767, causing the entire server to crash on client-join. |
Is there a complete log I can upload for you? Where would I find it? |
I also had the same issue. I went into MCEdit and tried to delete some blocks that I was having known issues with, but no luck. |
crash-2020-05-30_14.47.22-server.txt @Darkosto These are from just now. The only thing we did was move our world folder from Nitrado hosting service to Bisect hosting service. |
Edit: we found the source of our error to be a horse connected to a grindstone via a lead. Deleting the grindstone and horse resolved the error. |
@Leapo The log that would have been needed from your server is the actual crash report from the ./crash-reports/ folder and the latest.log from the ./logs/ folder The literal name of the log file is latest.log, if you are on windows it might just show up as |
Thank you! I just wish that file path was noted somewhere, or that one of the replies from 11 months ago had mentioned it. I had to give up on this a long time ago, unfortunately. Old server and logs are long gone. We moved to a custom Spigot server instead. Sounds like others are still having this issue, though, so it should probably remain open until resolved. |
Trying SkyFactory again. I'll report back if the same issue crops up... I will note, there was no server crash report, because this bug doesn't actually crash the server. It creates packet sizes so large that clients become unable to join, but the server never actually crashes. All the server logs show are players attempting to join, and immediately disconnecting because their clients throw the error "io.netty.handler.codec.EncoderException: String too big" I might try running the server without Simple Storage Network included, but I don't know if that'll break the progression tree... |
Bug Report
After a few weeks of uptime, the server begins to crash with the following error:
io.netty.handler.codec.EncoderException: String too big (was 46115 bytes encoded, max 32767)
Once this happens, restarting the server has no effect. The server crashes as soon as any player joins, with the same error.
Rolling back the server to a backup resolves the issue short-term, but it always comes back.
Logs
Server log: https://pastebin.com/bG7a3wsH
World Information
Client Information
Server Information
The text was updated successfully, but these errors were encountered: