What causes the Badly Compressed Packet server error and how to avoid it?

What causes the Badly Compressed Packet server error and how to avoid it? - Close Up Photo of Programming of Codes

After playing on a server for a long time, I was disconnected with this error message:

Internal Exception: io.netty.handler.codec.DecoderException: Badly compressed packet - size of 61 is below server threshold of 256

I have never seen this error before. I tried to connect to the server again and it gave me the standard Invalid Session. Restarting my game allowed me to reconnect. I am playing Vanilla 1.11, and I believe that the server had only a few plugins.

What caused this error, and how can I prevent it from happening again?

EDIT: This happened again on the same server with size of 5.






Pictures about "What causes the Badly Compressed Packet server error and how to avoid it?"

What causes the Badly Compressed Packet server error and how to avoid it? - Expressive angry businessman in formal suit looking at camera and screaming with madness while hitting desk with fist
What causes the Badly Compressed Packet server error and how to avoid it? - Person Holding Pastry Dishes on White Ceramic Plates
What causes the Badly Compressed Packet server error and how to avoid it? - Crop anonymous stylish female in white dress and high heels carrying red shopping bag against pink wall





How To Fix Invalid Heap Size Error for Minecraft Servers **JAVA**




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: luis gomes, Andrea Piacquadio, Pixabay, Angela Roma