Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOException when bedrock clients are kicked during login #5301

Open
devdani1 opened this issue Jan 26, 2025 · 3 comments
Open

IOException when bedrock clients are kicked during login #5301

devdani1 opened this issue Jan 26, 2025 · 3 comments
Labels
Confirmed Bug The bug reported is confirmed and able to be replicated.

Comments

@devdani1
Copy link

Describe the bug

Bedrock clients are encountering this error upon logging in

(java.io.IOException: An established connection was aborted by the software in your host machine)

This only occurs when they are banned and blocked by the bans plugin; they can log in normally if unbanned.

The weird part is that it only occurs if I log in while the server is still pinging (I still get the disconnect message in both proxy and geyser console).
Image

If I log in after it pinged, I dont receive this error and see the intended message.
Image

To Reproduce

  1. Fresh install Velocity proxy and Geyser Standalone.
  2. Add Litebans plugin and ban your account
  3. Try to login with bedrock client while the server is still pinging

Expected behaviour

Show the disconnect reason that is being logged in proxy in the disconnect game screen.

Image

Image

Screenshots / Videos

Image

Server Version and Plugins

Velocity-3.4.0-SNAPSHOT-463.jar
LiteBans 2.16.4
Geyser-Standalone-751.jar

Geyser Dump

https://dump.geysermc.org/9NErapNV2auRMmvlk4oQU73EazSCESkH

Geyser Version

2.6.0-b751 (git-master-5836dab)

Minecraft: Bedrock Edition Device/Version

1.21.51 Windows Edition

Additional Context

No response

@onebeastchris
Copy link
Member

Seems similar to #5291 - and as mentioned there, please provide a way to reproduce this without paid plugins

@devdani1
Copy link
Author

devdani1 commented Jan 29, 2025

You don't need any plugins to reproduce this issue.
Simply create a new Proxy and a Geyser Standalone instance, then point the proxy to a server that is not online, to trigger a “server not found” error.

Try to join while the Bedrock client is still pinging.
Image

Instead of "server not found" error you receive an IOException, but the proxy shows you were kicked for "server not found".

When servers are hosted remotely, the problem is worse because Bedrock clients take longer to ping, so players never see the real error message.

@onebeastchris
Copy link
Member

Able to reproduce with these steps. Thanks for providing them!

@onebeastchris onebeastchris added Confirmed Bug The bug reported is confirmed and able to be replicated. and removed Priority: Low labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed Bug The bug reported is confirmed and able to be replicated.
Projects
None yet
Development

No branches or pull requests

2 participants