packetevents icon indicating copy to clipboard operation
packetevents copied to clipboard

Rare PacketProcessException on server switch

Open NoJokeFNA opened this issue 2 weeks ago • 3 comments

The exception shown in the logs rarely happen on server switch (and only for the first time, never if they rejoin).

It happens if:

  • Client Version is either 1.20 or 1.19.4
  • Server Version in this example is Purpur (version 1.21.10)
  • BungeeCord is running
  • Client wants to to switch from e.g. lobby-1 to survival-1
    • Only on first time and it's rare
  • ViaVersion and ViaBackwards is installed on the backend server

All plugins are up-to-date (except the latest 1.21.11 release from PE)

1.20 : https://bytebin.riventuz.net/eBQF68xEQa 1.19.4: https://bytebin.riventuz.net/Bi9Eazagbf

NoJokeFNA avatar Dec 10 '25 12:12 NoJokeFNA

I am not sure whether this is an issue with PE or ytnoos Pre-Via patch, have you reported this to LPX before?

booky10 avatar Dec 10 '25 13:12 booky10

Yes I did @ytnoos maybe you can give a bit more of an insight?

NoJokeFNA avatar Dec 10 '25 15:12 NoJokeFNA

This seems to be a BungeeCord issue. LPX throws the exception in pre-via PacketEncoder but I tested with normal PacketEvents and anyway the player is kicked for "Timed out" 1 second later. Doesn't happen on Velocity or while joining the server without any proxy and it's easy to replicate by just joining for the first time after the server started.

ytnoos avatar Dec 13 '25 12:12 ytnoos