FastLogin icon indicating copy to clipboard operation
FastLogin copied to clipboard

Problems with connecting UUIDs (offline mode) only 1/5 of the times when a player connect

Open MrTroxy opened this issue 2 years ago • 3 comments

What happened?

Hello, I am using FastLogin on my Velocity proxy with my Lobby server, all of my servers/plugins configs are set to offline mode and offline uuids, my fastlogin plugin is connected to the same mariadb database of velocity and paper server.

Here are the 2 situations I get randomly :

Situation 1 (The bugged one) :

Velocity Console :

Incoming login request for MrTroxy from /xxx.xxx.xxx.xxx:60628 Handling player MrTroxy Requesting premium login for registered player: MrTroxy No active login session found for player MrTroxy [connected player] MrTroxy (/xxx.xxx.xxx.xxx:60628) has connected Processing pre-login for 3928e858-760f-400d-8b7e-7c3309a3368f - MrTroxy LuckPerms already has data for player 'MrTroxy' - but this data is stored under a different UUID. 'MrTroxy' has previously used the unique ids [77ff9fd0-64ed-32fd-88be-25ade587f0a7] but is now connecting with '3928e858-760f-400d-8b7e-7c3309a3368f' The UUID the player is connecting with now is Mojang-assigned (type 4). This implies that Velocity's IP-Forwarding has not been setup correctly on one (or more) of the backend servers. See here for more info: https://luckperms.net/wiki/Network-Installation#pre-setup Processing post-login for 3928e858-760f-400d-8b7e-7c3309a3368f - MrTroxy [server connection] MrTroxy -> lobby has connected

And my user on the server has no inventory and has default rank (im supposed to be owner) But thats what I get : image And when I get this situation and my session is expired, it asks me to login but I can't even login cause the password is a random one that I don't know (like this : ) image

Now, here is the second situation that can happen (The correct one) :

Velocity Console :

Incoming login request for MrTroxy from /xxx.xxx.xxx.xxx:60648 Handling player MrTroxy Requesting premium login for registered player: MrTroxy Overridden UUID from 3928e858-760f-400d-8b7e-7c3309a3368f to 77ff9fd0-64ed-32fd-88be-25ade587f0a7 (based of MrTroxy) on com.velocitypowered.proxy.connection.client.LoginInboundConnection@68fdeeeb [connected player] MrTroxy (/xxx.xxx.xxx.xxx:60648) has connected Processing pre-login for 77ff9fd0-64ed-32fd-88be-25ade587f0a7 - MrTroxy Processing post-login for 77ff9fd0-64ed-32fd-88be-25ade587f0a7 - MrTroxy [server connection] MrTroxy -> lobby has connected

Now, I got my player inventory and my rank is the correct one like this : image

What did you expect?

It would be supposed to do only the situation 2 every single time players join the server

Steps to reproduce

I don't know anything specific to reproduce, I just keep connecting and disconnecting from the server and sometimes I get the good player UUID and sometimes its fucked up

Here

Plugin list

AuthmeVelocity, AzLink, Broadcast, EasyCommandBlocker, EnhancedVelocity, FastLoginVelocity, LibertyBans, LuckPerms-Velocity, MCKotlin-Velocity, MiniMOTD-Velocity, PAPIProxyBridge, SkinRestorer, TAB, TCPShield, VConsoleLinker, VelocityReport, VLobby, Vmessage

Configuration file

https://hastebin.com/share/icenonexaw.yaml

Server log

Server log of when the bug is happening :

Incoming login request for MrTroxy from /xxx.xxx.xxx.xxx:60628 Handling player MrTroxy Requesting premium login for registered player: MrTroxy No active login session found for player MrTroxy [connected player] MrTroxy (/xxx.xxx.xxx.xxx:60628) has connected Processing pre-login for 3928e858-760f-400d-8b7e-7c3309a3368f - MrTroxy LuckPerms already has data for player 'MrTroxy' - but this data is stored under a different UUID. 'MrTroxy' has previously used the unique ids [77ff9fd0-64ed-32fd-88be-25ade587f0a7] but is now connecting with '3928e858-760f-400d-8b7e-7c3309a3368f' The UUID the player is connecting with now is Mojang-assigned (type 4). This implies that Velocity's IP-Forwarding has not been setup correctly on one (or more) of the backend servers. See here for more info: https://luckperms.net/wiki/Network-Installation#pre-setup Processing post-login for 3928e858-760f-400d-8b7e-7c3309a3368f - MrTroxy [server connection] MrTroxy -> lobby has connected

Plugin version

1.12-SNAPSHOT-108f5ad (Build #1295)

Platform

Velocity

Relevance

  • [X] I tried the latest build (build refers to development builds not necessary a release version)

  • [X] I checked for existing tickets - If there are, please vote them with a thumbs reaction and not create new ones

MrTroxy avatar Jan 17 '24 01:01 MrTroxy

I have the same problem, using fastlogin Velocity

pjindras avatar Feb 05 '24 10:02 pjindras