bedrock-protocol icon indicating copy to clipboard operation
bedrock-protocol copied to clipboard

Client doesn't work on some servers while proxy does - 1.21.82

Open zLevii opened this issue 4 months ago • 4 comments

This is an interesting one. I am unable to login a bot into geo.hivebedrock.network via createClient however this is possible from using a relay? This is what happens when I directly use create client to join the server. Logic: Bot -> Server (Fails) Image

This is what happens when I use a relay to connect to the server Logic Bot -> Relay -> Server (Works) Image Image

Why is this a thing? I would assume the createClient and relay share a similar login sequence but clearly that is not the case Another thing I want to mention is why does the bot directly go to the start_game packet while the relay goes to play_status? It seems like the bot is skipping packets causing it to not connect however the relay is forcing those packets in resulting in a proper connection

There is also packet parsing issues in the relay which have been ignored for this use case but I do not believe that it affects the login sequence. You can view this issue here

zLevii avatar Jun 12 '25 14:06 zLevii