Posted February 19Feb 19 I have this MC server thats heavily modded and Ive been getting kicked from my server with this being the reason Internal Exception: io.netty.handler.codec.DecoderException: java.util.zip.DataFormatException: uncompressed size is inaccurate I and 1 other guy get this and it only happens when doing stuff in my inventory and it happens randomly sometimes it doesnt do it but it usually happens every time i play
1 hour ago1 hr Here's what's causing it:The server is trying to compress packet data and failing when you mess with your inventory. Usually happens with modded items that have a lot of data attached.Quick fix:Add this line to server.properties:network-compression-threshold=-1 That turns off compression. Should fix it.If it still happens:Make sure everyone has the exact same mod versionsGive your client and server more RAM (like 4-6GB each)Update your mods/ForgeThe inventory thing makes sense - modded items with tons of NBT data can mess up the compression. Turning it off doesn't really hurt performance on most servers.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.