packetevents icon indicating copy to clipboard operation
packetevents copied to clipboard

Connection problems with ViaVersion on server 1.21.4 with version 1.21.5

Open tommasov03 opened this issue 7 months ago • 1 comments

Describe the bug For over a month now I have not been able to connect having put ViaVersion on my server 1.21.4 the clients 1.21.5, I tried with different clients but the result was always the same, in 99% of cases the clients were disconnected when they tried to connect. After several tests with and without plugins, with different forks of paper and bungeecord I discovered that the cause is PacketEvents on my Proxy, without instead I do not have these problems.

This is the error I get on server 1.21.4 [13:12:25 INFO]: UUID of player tommasov03 is 0db97220-1823-38c6-be68-05980af53451 [13:12:31 INFO]: com.mojang.authlib.GameProfile@571c998[id=0db97220-1823-38c6-be68-05980af53451,name=tommasov03,properties={textures=[Property[name=textures, value=ewogICJ0aW1lc3RhbXAiIDogMTc0NjYxNjMzMDUyMCwKICAicHJvZmlsZUlkIiA6ICIyZGM2MWIzYmZlZjM0YWNkOGU4MDZlNmFiMjdlMDkxYiIsCiAgInByb2ZpbGVOYW1lIiA6ICJ0b21tYXNvdjAzIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2Y5ZWFkMzhkMjYzZDg3ODYzNGFjMGM5ZGYwYTU1OTNhOTM1YjE4M2JlZjUxNTdlMzlhN2Y5MjY1ODNjYTcxODEiCiAgICB9LAogICAgIkNBUEUiIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2NkOWQ4MmFiMTdmZDkyMDIyZGJkNGE4NmNkZTRjMzgyYTc1NDBlMTE3ZmFlN2I5YTI4NTM2NTg1MDVhODA2MjUiCiAgICB9CiAgfQp9, signature=UQCH5hvVG79+vogqvAseyNV9tTqPs8ae6kw2PbfcAENaHUDkjHHnjxRgnj2QfhTB7vAQ06o1WSN5hgpJR9mVn+4DOY1JPrppWrsFuBDtRdAGzPlxNrSQxbjr7mC6+t0RgIwP3O7O+I35dogNBF/xl/sW2GioxIfWtTq2U/9+GgeitgPrG+KUVuEQ05MK4r+vaf0gWA7c8Ay/xF1wccPUUWzlviUltqiXM+pVDTiVbRW3Z9VDmvODbvcakM6ArI/ir/8njzFrTkwXywOJJtsFFXncnecvPSj48H1Pugde+eF+khb6hZ5H1LqXZ5xdlDjXfsWEnto8lCkR+u69nfQXR3ge64m1KNvFuxuToY+KR1rCTDHhGobGOfHj+0xSj7hMVOuHzlvlMz/5IRiafsqPsjKCqtq6rOZnXhHXeIDD8RPvk6FNv8Yx1soCe0IU091MDuzwzV7uLHtqyZ2Z9bXiDW/tV23xZEq8Gdv0QxsiCGADNNBQcVbxYlYDEzogpQBHbxqbykQ84EB3oz03U0wGwzCaNt3o0A3OmSBB7CXdckEUm5yM2c0jyeuaISR4oyGATND6Elu1lFNBEkYS/bEqmVWWMrQRwmHjMnbZMQKlPSlLfGb8qMjQnYyaE1KBku4jZe2gLH/OXTkXVU03j6205Iuzq3h30Y9ko4wmHfL5abA=]]}] lost connection: Disconnected

Software brand Universe-1.21.4-4f6cdd2 (MC: 1.21.4) and FlameCord 2.3.7

Plugins As I said I tried all the plugins until I understood that the problem is PacketEvents, so the only relevant plugin is ViaVersion 5.3.3.

How To Reproduce

  1. Use Flamecord 2.3.7 with packetevents-bungeecord-2.8.0-SNAPSHOT
  2. Create a paper server in 1.21.4 with ViaVersion 5.3.3
  3. Enter with 1.21.5 client, Sometimes it doesn't give the error and doesn't kick out but almost always it does, so try to enter/exit several times. Once it gives the error it won't let you enter even once more.

Expected behavior It should not give the error and let 1.21.5 clients in as well.

Additional context I'll add that this only happens with paper 1.21.4 servers, my lobbies in 1.21.1 have no problems with 1.21.5 clients.

tommasov03 avatar May 07 '25 11:05 tommasov03

Have you tested 2.8.0

retrooper avatar May 23 '25 12:05 retrooper

No response, will assume it's resolved.

retrooper avatar Jul 20 '25 20:07 retrooper