dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
1.05k stars 258 forks source link

Players instanly kicked on join 1.17 #1287

Closed ghost closed 3 years ago

ghost commented 3 years ago

Describe the bug The bug have a pretty random behaviour so I can't find an exact way to reproduce it but is definetly protocolib fault, tested multipled times with and without. Players join and get instantly kicked wit the following error:

"Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: Index 54out of bounds for lenght 5"

Using the server.properties debug tool I found these messages at the moment of players getting kicked: io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer io.netty.channel.unix.Errors$NativeIoException: writevAddresses(..) failed: Connection reset by peer

Also I found this stracktace in one of the kicks: https://paste.gg/p/anonymous/27c91c113f1d44f9a56acf8a3b495837

To Reproduce Steps to reproduce the behavior: Just joining the server, not all users have the problem but most of them yes. I couldn't find any common pattern between people with the issue and the people that can join.

Expected behavior Not getting kicked when joining.

Screenshots If applicable, add screenshots to help explain your problem.

Version Info https://paste.gg/p/anonymous/3033f64882044e8984da23e1cec3b712

Additional context git-paper-63 1.17.

dmulloy2 commented 3 years ago

Does this happen with Paper or Spigot? Wondering if it's a Tuinity thing

ghost commented 3 years ago

Does this happen with Paper or Spigot? Wondering if it's a Tuinity thing

Yes, paper aswell

dmulloy2 commented 3 years ago

which plugins are you using with PL? the dump shows no listeners

ghost commented 3 years ago

PremiumVanish, MyCommands, AdvancedEnchantments, PremiumVanish, McMmmoAction, ServerListPlus, Quickshop

bloodycoffin commented 3 years ago

hi ImHumbug, my problem was solved by putting the "DisablePush" in the PremiumVanish config.yml to "false" Maybe this also solves your problem?

dmulloy2 commented 3 years ago

Sounds like a PremiumVanish issue then