Sponge icon indicating copy to clipboard operation
Sponge copied to clipboard

Chatting with Velocity-Proxy kicks Players (chat message validation failure)

Open TBlueF opened this issue 3 years ago • 1 comments

Affected Product(s)

SpongeVanilla

Version

1.19.2-10.0.0-RC1239

Operating System

Windows 10

Java Version

java 17.0.1 2021-10-19 LTS

Plugins/Mods

-

Describe the bug

Using a Velocity-Proxy in front of multiple SpongeVanilla-1.19.2 servers with ip-forwarding kicks players after they switched servers. (no mods or plugins used)

How to reproduce

  • setup a new velocity-server (Velocity 3.1.2-SNAPSHOT (git-7d77bfb5-b184) in my case)
  • setup two sponge servers
  • enable ip-forwarding in sponges configs and setup the modern (or legacy) protocols in sponge and velocity
  • start all servers and join via the velocity proxy
  • chat something random
  • switch servers (/server <server>)
  • chat something random again

What i would expect to happen Chat message is being sent, possibly with no validation like in offline-mode servers.

What actually happens Player is being kicked with the sponge-server log saying:

[14:10:25] [Netty Server IO #4/WARN]: Failed to validate message from TBlueF, reasons: unknown message
[14:10:25] [Server thread/INFO]: TBlueF lost connection: Chat message validation failure
[14:10:25] [Server thread/INFO]: TBlueF left the game

Link to logs

No response

TBlueF avatar Nov 08 '22 13:11 TBlueF

Hey, anyone found a way to fix this. I am having the exact same issue!

Deedikjupijn avatar Aug 31 '23 17:08 Deedikjupijn