Seemingly out of nowhere, I have started to get disconnected from Minecraft servers sporadically. Sometimes after playing for a few seconds, and sometimes up to 15 minutes - although usually it affects in seconds.
Each time I get disconnected, I usually get a different disconnection message which I have no idea the meaning of. Although most commonly it is messages starting with "internet exception" such as:
"internal exception io.netty.handler.codec.decoderexception badly compressed packet - size of 5 is below server threshold of 256".
I have a very high internet speed and a pretty good Windows 10 desktop which runs advanced games rather smoothly. I've had no other issues with my PC, and no internet connection issues. My frame rate on Minecraft servers is usually around 100 fps.
I have restarted my computer, reinstalled Minecraft, deleted the .Minecraft folder and reinstalled it again, turned down all my graphics settings (despite Minecraft running smoothly to begin with), etc. I've looked through every forum and video even remotely related to this issue, and cannot fix it. It is brutally agitating. Please help!!!