useProxyAgnosticResolver not effective on PaperMC
Clyde6790pGIT opened this issue · 8 comments
What happened?
Premium players connecting through Playit.GG cannot connect due to invalid session issue
Steps to reproduce
- Enable something similar to useProxyAgnosticResolver
- Connect through either local or Playit
- See the error
Plugin list
[20:36:42 INFO]: Server Plugins (37): [20:36:42 INFO]: Bukkit Plugins: [20:36:42 INFO]: - AntiPopup, AntiSeedCracker, AuthMe, Chunky, dynmap, eBackup, EntityTrackerFixer, Essentials, FastAsyncWorldEdit, FastLogin [20:36:42 INFO]: floodgate, FoxAddition, Geyser-Recipe-Fix, Geyser-Spigot, GeyserExtras, Graves, GriefPrevention, GrimAC, Hibernate, Hurricane [20:36:42 INFO]: LuckPerms, MyDog, Not-Too-Expensive, OldCombatMechanics, OpenAudioMc, packetevents, PerWorldEffects, ProtocolLib, PurpurExtras, PvPManager [20:36:42 INFO]: Shopkeepers, SkinsRestorer, Veinminer, ViaBackwards, ViaVersion, WorldGuard, XCatch
Configuration file
https://hastebin.com/share/dodefaxofi.yaml
Server log
[20:28:53 INFO]: [FastLogin] New incoming packet START[class=ServerboundHelloPacket, id=0] from UNKNOWN[/127.0.0.1:65295]
[20:28:53 INFO]: [FastLogin] GameProfile Hemalkodi uses a premium username
[20:28:56 INFO]: [FastLogin] New incoming packet ENCRYPTION_BEGIN[class=ServerboundKeyPacket, id=1] from UNKNOWN[/127.0.0.1:65295]
[20:28:56 INFO]: [FastLogin] Enabling onlinemode encryption for /127.0.0.1:65295
[20:28:58 ERROR]: [FastLogin] Session server rejected incoming connection for GameProfile Hemalkodi (/127.0.0.1). Possible reasons are 1) Client IP address contacting Mojang and server during server join were different (Do you use a reverse proxy? -> Enable IP forwarding, or disable the feature in the config). 2) Player is offline, but tried to bypass the authentication 3) Client uses an outdated username for connecting (Fix: Restart client)
Plugin version
1.12-SNAPSHOT-4dd6b9a
Platform
Spigot
Relevance
-
I tried the latest build
(build refers to development builds not necessary a release version; i.e. v1.10 is out of date) -
I checked for existing tickets -
If there are, please vote them with a thumbs reaction and not create new ones
EDIT: Discard my message with 127.0.0.1 if you used it with local testing.
Please post the complete startup log.
Hi, here are the full startup logs, I connected thru local and playit.
https://hastebin.com/share/rupuhenoku.makefile
But when I disable it and set prevent-proxy to true, this happens instead.
https://hastebin.com/share/xonamorame.ruby
Any updates?
What message do you get on the client?
What message do you get on the client?
Sometimes it shows either "Timed out" or it says "Authentication servers are currently unreachable." or "Invalid Session"
Seems like reformatting the device the server was on fixed it, maybe a corrupted host file?