ViaVersion / ViaFabric

Client-side and server-side ViaVersion implementation for Fabric
https://viaversion.com/fabric
GNU General Public License v3.0
326 stars 39 forks source link

Network Protocol Error screen when trying to connect with an older client #384

Closed payphone101 closed 1 week ago

payphone101 commented 1 week ago

/viaversion dump Output

https://dump.viaversion.com/69057532546b1567f3eabe9c8abef68a9f99ebfeb8b2e220e009aa2e9151da28

Console Error

15.11 07:18:37 [Server] User Authenticator #1/INFO UUID of player RealOtterEngr is 35cfb0f4-0326-4736-a7e6-8c884f912b15
15.11 07:18:41 [Disconnect] User com.mojang.authlib.GameProfile@6f72fc5a[id=35cfb0f4-0326-4736-a7e6-8c884f912b15,name=RealOtterEngr,properties={textures=[Property[name=textures, value=ewogICJ0aW1lc3RhbXAiIDogMTczMTY1NTExNjk1NSwKICAicHJvZmlsZUlkIiA6ICIzNWNmYjBmNDAzMjY0NzM2YTdlNjhjODg0ZjkxMmIxNSIsCiAgInByb2ZpbGVOYW1lIiA6ICJSZWFsT3R0ZXJFbmdyIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzhjMDYzYjk1ZTM3ZjdmYzc2ZjlhOWIzNTdiYjVlMWM0NDY2NTdhYjcyNzA5NzVkZmZhZjcwYjY3OWIzYTNmZTgiCiAgICB9LAogICAgIkNBUEUiIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzU2YzM1NjI4ZmUxYzRkNTlkZDUyNTYxYTNkMDNiZmE0ZTFhNzZkMzk3YzhiOWM0NzZjMmY3N2NiNmFlYmIxZGYiCiAgICB9CiAgfQp9, signature=QzpykW8K6Wx5X5+ZAen638x3xnmPiYStTqtGS62YmiTnEjFRVxqyTbyp1KnRlx/Cl2BCX9+f5/uuEcAAJa1l0VwpOwr51acI976uyycGI9LprOHxQ7/37+/ha+cIzvp7sqGkVm53RsWDcMu1Gm/8YAlM5bVFqOlTGzbLnVfM3MKfW5IpU5hAt+9jDUS+vbqllV5CsDdX6rQfvuqSeflUgQIkRp2ew5c8rXebMhs3lBDX/8Ch/WTJmoHDFpgRbpnbVnEvbc1/CCQKXTdo//hLvToacSI0adxkyo3WbunGfVZ4QeTj3HglCy5bT06z4XRrQmA37FOlie4YYUTOA7G5zLyKGLJ6zOUWuoMoSEIEVXr1CFEBhSZgWWACu2BXq3PvEOYp/32fOql5HEbtrGwSABkLbCAIxXflboS2XK0HJuZir7NwUIdtErSolZWUGE/kWeWV/rbTGu3SaiyqHiJ+O5a7qXTLagwQa6b3j4Nb90JC+WKRrNhIgzeGt2gKhgkjdIGxSAK8VQ6Yx+tPMxE+e0Kv2UwDCGwT0hQVGnvET2UpUCCVQ5nEvf4xURNf5WiEtv1wuxOzGpfbrirY/5Mfj4KFnW45AKJD3dXoinbY/PlazmzJizxfolVX3XLI5jAhBtREpM8DKEuQhYUVBXhB2g+xnBobqnoxjFRIk6uPyck=]]}] has disconnected, reason: Disconnected
15.11 07:18:56 [Server] User Authenticator #2/INFO UUID of player RealOtterEngr is 35cfb0f4-0326-4736-a7e6-8c884f912b15
15.11 07:18:58 [Disconnect] User com.mojang.authlib.GameProfile@617eae40[id=35cfb0f4-0326-4736-a7e6-8c884f912b15,name=RealOtterEngr,properties={textures=[Property[name=textures, value=ewogICJ0aW1lc3RhbXAiIDogMTczMTY1NTEzNTY4MiwKICAicHJvZmlsZUlkIiA6ICIzNWNmYjBmNDAzMjY0NzM2YTdlNjhjODg0ZjkxMmIxNSIsCiAgInByb2ZpbGVOYW1lIiA6ICJSZWFsT3R0ZXJFbmdyIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWlu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ump
15.11 07:20:22 [Server] ViaFabric-3/INFO We've made a dump with useful information, report your issue and provide this url: https://dump.viaversion.com/69057532546b1567f3eabe9c8abef68a9f99ebfeb8b2e220e009aa2e9151da28

Bug Description

Server refuses to accept connection from older clients even with ViaVersion, ViaBackwards, and ViaFabric (all on the latest version) are installed.

Steps to Reproduce

Set up a 1.21.3 Fabric server (loader version 0.16.9, api version 0.107.0+1.21.3) with ViaVersion (5.1.1), ViaBackwards (5.1.1), and ViaFabric (0.4.16+85-main) installed

Expected Behavior

older clients should be able to connect to the server

Additional Server Info

No response

Checklist

HowardZHY commented 1 week ago

Update all Via* to latest Snapshots from Modrinth

payphone101 commented 1 week ago

ViaVersion 5.1.2-SNAPSHOT ViaBackwards 5.1.2-SNAPSHOT ViaFabric 0.4.16+88

still the same error

Kichura commented 1 week ago

either caused by third party mods or bad world save, please perform a binary search to see what causes it to happen.

scrapwoodic commented 1 week ago

Facing similar issue, seems to be incompatiblity with the terralith mod.

Kichura commented 1 week ago

Facing similar issue, seems to be incompatiblity with the terralith mod.

Update terralith if possible, otherwise this isn't something that Via would attempt to resolve as it has basically no resource translation of any kind essentially. (assuming said mod/datapack overrides all terrain code available)*