mojira.dev
REALMS-1656

Keep getting kicked from servers and realms

For the past several weeks now, I am getting kicked after maybe 3 minutes from servers that I regularly play on. I joined a realm with friends a couple days ago and I've already lost track of how many times I've been kicked in 10 seconds. Is there a way to fix this? I've tried to restart my internet and make a new minecraft profile and it still happens.

The errors I get:
-Internal Exception: io.netty.handler.codec.DecoderException: java.util.zip.DataFormatException: incorrect header check
-Internal Exception: io.netty.handler.codec.CorruptedFrameException: length wider than 21-bit
-Internal Exception: io.netty.handler.codec.DecoderException: The received encoded string buffer is longer than the maximum allowed (131864411>64)
-Badly compressed packet - size of *** is below server threshold of 256
-Badly compressed packet - size of *** is larger than protocol maximum of 2097152
-OpenGL Error: 1281 (Invalid Value) | [This is upon connecting to a server/realm]

Linked issues

MC-211632 Continual Realms crashes with varying error messages Resolved MC-217689 error on trying to play realms Resolved MC-221478 Please help I can't enjoy Playing realms Resolved MC-221733 internal exeption: io.netty.handler.codec..decoderexeption: badly compressed packet Resolved MC-221736 internal exeption: io.netty.handler.codec..decoderexeption: badly compressed packet Resolved

Attachments

Comments 26

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.

We do not have enough information to find the cause of this issue.
Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report ([minecraft/crash-reports/crash-<DATE>-client.txt|http://hopper.minecraft.net/help/guides/finding-minecraft-data-folder]) here. Do this for both the server and realm.

Once attached, the report will be reopened automatically.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

I added a report from the realm. I did a fresh install of minecraft, so I cant find the server ip to create the report.

I'm still getting this error, tens of times a day. I've even went so far as to do a clean install of my computer and reinstall Java and Minecraft. I don't see any particular errors or disconnect messages when I look through my logs or crash reports. I don't have any connection issues with other games, but all of my problems seem to be connection related (badly compressed packet) or computing (invalid header, corrupt frame length, out of bounds exceptions, varInt too big). A friend suggested that it could be firewall related, but the errors still persist after turning my firewall off

PC-1.14.6? We're only at 1.14.1 with 1.14.2 not too far away. Neveryoumind. Realized you meant the Realms 'version'

Is this still an issue in the current version?

16 more comments

This still seems to be an ongiong issue even in mid 2023.

The more common complaint I've seen regarding the error looks like it's internet/connection related, but in cases where Minecraft is the only game that seems to hiccup and disconnect while other games work just fine on the same PC? This error may need to be revisited.

We're having the same issue in our household with one of our PC's. All 3 PC's are identical except for graphics cards (1650 super, 1660 super and a 2060 super). Only one PC is affected and keeps having the "Internal Exception: io.netty.handler.codec.CorruptedFrameException: length wider than 21-bit" error comes up after about 30 second of gameplay on another computers LAN game. Swapping cards makes no difference.

The affected PC can host a LAN game and the other two can join without issues, but the affected PC cannot join games on any other PC or servers.

 

Ok, so it appears we may have resolved the problem in our situation.

Having three identical PC's really helped. I realized that graphics cards were not the only difference in these PC's.... they all have different external wifi adapters.

The PC that was having the issues has a Panda wireless PAUD5 adapter. I swapped it to a AC1200 wifi adapter from another PC and it was then able to join LAN games and servers without any problems!

 

Looks like problem solved.

 

I'm still not sure why this problem started as the PC was using the same wifi adapter for 4 years without a problem.

Is this still an issue in 1.21?

It definitely still pops up in 1.21. I got the same error around a week ago, and I can't figure out how to fix it. 

migrated

(Unassigned)

Community Consensus

Java

Retrieved