SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.53k stars 1.09k forks source link

Can't connect to servers - invalid signature key #3675

Closed Xayanix closed 2 months ago

Xayanix commented 2 months ago

Bungeecord version

1838

Server version

1.20.1

Client version

1.20.1

Bungeecord plugins

None, just my own

The bug

image

This happens only on 1.20.5 update, downgrading to 1.20.4 build fixes problem

Log output (links)

No response

Checking

Xayanix commented 2 months ago

[00:51:34] [Server thread/INFO]: UnixejPL lost connection: Invalid signature for profile public key. Try restarting your game.

md-5 commented 2 months ago

Which is the first build with the issue?

Xayanix commented 2 months ago

Uh, thats difficult for testing for me (poor internet connection, would take ages to test all builds :( ). But i switched back to Waterfall #572 aka 1.20.4 and it works well

md-5 commented 2 months ago

You can test builds by half.

As it stands there are no reproduction steps in this issue and no identified version with the issue -> closed

Xayanix commented 2 months ago

You broke it at #1827 with https://github.com/SpigotMC/BungeeCord/commit/1be25b6c74ec2be4b15adf8ca53a0497f01e2afe .

md-5 commented 2 months ago

cc/ @Outfluencer

md-5 commented 2 months ago

You broke it at #1827 with 1be25b6 .

Thanks. Do you have IP forwarding enabled? Is your bungee online or offline?

Xayanix commented 2 months ago

ip forwarding: enabled bungee online mode depends, i have online for players with premium minecraft and offline to cracked usernames

Outfluencer commented 2 months ago

What players are affected? cracked or premium or both?

Outfluencer commented 2 months ago

I tested cracked and premium again, i can't reproduce

md-5 commented 2 months ago

Could be whatever plugin they have to allow both cracked and premium.

Does the issue exist without plugins?

Xayanix commented 2 months ago

I tested it and indeed, premium login plugins no longer work on BungeeCord builds above #1827. Looks like replacing online mode UUID to offline UUID causes the problem.

Xayanix commented 2 months ago

Fixed it by altering rewriteId field too.

image

Outfluencer commented 2 months ago

🙃

Jcodeerd commented 2 months ago

Fixed it by altering rewriteId field too. @Xayanix Which file did you change this in?

Xayanix commented 2 months ago

As you can see on InitialHandler