PaperMC / Velocity

The modern, next-generation Minecraft server proxy.
https://papermc.io/software/velocity
GNU General Public License v3.0
1.68k stars 583 forks source link

Invalid signature for profile public key. #1340

Closed HappyMajor closed 1 month ago

HappyMajor commented 1 month ago

When I try to connect to my MC server run by PurpurMC via Velocity proxy then I get the following error message:

Error Message: [21:54:36 INFO]: HappyMaj0r lost connection: Invalid signature for profile public key.

When I join my server without Velocity, then it works.

Versions:

Velocity: Velocity 3.3.0-SNAPSHOT Server: purpur-1.20.6-2219

What I tried:

electronicboy commented 1 month ago

player-info-forwarding-mode?

HappyMajor commented 1 month ago

This was quick 👍

It has the value "NONE"

player-info-forwarding-mode = "NONE"

electronicboy commented 1 month ago

That would be why, no player info forwarding means that the UUID that the proxy gets will be an offline mode one, which, as the signature is keyed using the players UUID, will mean that the thing will always be invalid

HappyMajor commented 1 month ago

Might be worth to update the getting started guide. Player forwarding was actually referenced but it sounded very optional and more as a mandatory config for prod in terms of security:

image

I think I will update it myself tomorrow.