Tried to connect as a Java Edition player! Is Floodgate configured correctly?
See original GitHub issueWhat happened?
When trying to auto login with FastLogin, Floodgate throws an error and disconnects some of my players
What did you expect?
Common Auto-Login
Steps to reproduce
I noticed that only people who log in with Bedrock and specifically a Gamertag with spaces are the ones that get logged out, the rest can log in correctly. I tried replacing the spaces with the “_” from the Floodgate config, but that doesn’t work either
Plugin list
AdvancedLogin, PlaceholderAPI, Oraxen, FastLogin, Spark, plugman, Worldedit, WorldGuard, EssentialsX
Configuration file
https://gist.github.com/rad1914/1764bcca8ebe53dfa268ff075fd49b89
Server log
https://pastebin.com/D2DgWE5S
Plugin version
1.11-SNAPSHOT-3bcc6c2
Platform
Spigot
Relevance
- I tried the latest build
- I checked for existing tickets - If there are, please vote them with a thumps reaction and not create new ones
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Configuring Floodgate 2.0 for Geyser Authentication - Shockbyte
Floodgate is a plugin for Geyser which allows Bedrock players to authenticate to Java servers without needing to purchase a Java Minecraft account....
Read more >Issues - GeyserMC Wiki
You're trying to log in without an Xbox account. Floodgate requires an Xbox account to authenticate the Bedrock player. Geyser-Floodgate:51777 lost connection: ...
Read more >Bedrck players can't connect to Geyser + Floodgate server ...
I have tried deleting old geyser-spigot.jar and old ... website but bedrock still can't connect but java edition are able to connect.
Read more >Tried to log in as a java edition player !if floodgate set up ...
Tried to log in as a java edition player !if floodgate set up correctly | solve probemTried to log in as a java...
Read more >Can't Get Floodgate+Geyser to Work on Second Instance
Geyser Configuration File # # A bridge between Minecraft: Bedrock ... of Bedrock players that should have their Java Edition account saved ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In the past few days, I spent some time debugging the ProtocolLib and Floodgate sources in connection with #689 and I might have a better way to detect Floodgates players. Currently, FastLogin checks the players names, and since spaces get replaced in the names, the algorithm screws up. The netty
Channelon which the player/packet is sent through contains an attributeFloodgatePlayerImplfor Floodgate players. Unfortunately, ProtocolLib doesn’t give any way to access the channel “of” a packet. My plan is to use Reflections to bypass some access modifiers (ProtocolLib and Floodgate does the same things in certain places), but we’ll see how it goes, as that solution is extremely unsafe, and requires precision to be reliable. But it would be still better than using names. This is just a plan for now, I can’t grantee that it’ll actually work, or that it’ll be reliable enough to be used.[floodgate]: Floodgate player who is logged in as *fabegalo 00000000-0000-0000-0009-01f872f2a6d7 joined [15:50:10 INFO] [fastlogin]: Incoming login request for fabegalo from /191.177.48.139:36337 [15:50:10 INFO] [fastlogin]: Handling player fabegalo [15:50:10 INFO] [fastlogin]: Requesting premium login for registered player: fabegalo [15:50:10 INFO] [geyser]: Could not find packet for ClientboundHelloPacket [15:50:10 INFO] [geyser]: fabegalo has disconnected from remote Java server on address 191.177.48.139 because of Tentou fazer login como um jogador Java Edition! O Floodgate está configurado corretamente? [15:50:10 ERROR]: com.github.steveice10.mc.protocol.data.UnexpectedEncryptionException: Cannot reply to ClientboundHelloPacket without profile and access token. [15:50:10 ERROR]: at com.github.steveice10.mc.protocol.ClientListener.packetReceived(ClientListener.java:55) [15:50:10 ERROR]: at com.github.steveice10.packetlib.tcp.TcpSession.callPacketReceived(TcpSession.java:156) [15:50:10 ERROR]: at com.github.steveice10.packetlib.tcp.TcpSession.channelRead0(TcpSession.java:377) [15:50:10 ERROR]: at com.github.steveice10.packetlib.tcp.TcpSession.channelRead0(TcpSession.java:28) [15:50:10 ERROR]: at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [15:50:10 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [15:50:10 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)