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

Bedrock shows large amount of online players and refuses connection #19

Closed
Just-Leah opened this issue Mar 11, 2021 · 10 comments
Closed

Comments

@Just-Leah
Copy link

When I have the server sleeping, if someone tries to connect via bedrock edition through LAN, the amount of online players shows an extremely large number that clips into the green circle next to it, and when you try to connect, the client says “This server is too popular, wait a bit for it to free up some space”. This renders starting the server via LAN bedrock impossible. I am unable to get some example screenshots for more info right now, but I will try and get some as soon as possible.

@Just-Leah
Copy link
Author

Added some screenshots of the bug, censored the IP address of the server

The server in the LAN games list
98D2A005-D368-4C86-84D6-9E31E329B4D4

The message on attempt to connect
B94838D9-3829-4745-8B6C-37DA98BD2C2E

@vincss
Copy link
Owner

vincss commented Mar 13, 2021

That's strange, I cannot reproduce on my setup.
Which versions on what platform are you using ?

@d1ddle
Copy link

d1ddle commented Mar 13, 2021

I get the same message when joining from Xbox. Just tried it.
This is weird because it worked fine in v1.16.200.
Just seems that Bedrock v1.16.210 on Xbox One just seems to get confused.

@Just-Leah
Copy link
Author

Just-Leah commented Mar 13, 2021

I’m on version 1.16.210 as well, on an IPad.
The normal problem occurs on my brother’s iPad but on mine the same number shows except it’s negative, and it allows me to connect.
I’m pretty sure that he’s on the same update because there was a point where geyser wouldn’t let him connect and I had to update it.

@d1ddle
Copy link

d1ddle commented Mar 13, 2021

Could be something to do with the Protocols being changed and info being read from packets where it shouldn't. Of course I could be completely wrong, but this gives me a good idea..
I'll try and opt-into the beta releases of Bedrock on Xbox and see if it fixes the problem. I'm not very hopeful, though.

@vincss
Copy link
Owner

vincss commented Mar 14, 2021

Hi ! Maybe you could join our discord support private chat and try to debug it together, unfortunatly, I don't have a Xbox One to try it.
https://discord.gg/5DrncMSC (available 24h)

@ArmoredFuzzball
Copy link

ArmoredFuzzball commented Apr 9, 2021

I am having the same issue on the mobile Bedrock Edition. When the server is asleep there is a huge amount of players online, preventing joining (also, setting the max player count to -1 does not work). I am on the most recent version of Bedrock (v1.16.220) and the most recent version of the sleep system.
I'm using a plugin called Geyser for Bedrock players to connect to the Java server. At first I thought that was the issue, but after seeing this, it may not be Geyser's fault.
I noticed that when I first manually start the server the player count begins as a very large negative number of players over 0 (eg. -5732562/0), which DOES allow you to join, but after the server shuts down and restarts with the suggested sleep plugin, the number is just very big, and you can no longer join!
I hope this info helps.
Also, sorry if I should have opened my own issue, first time poster here.
Thanks!
EDIT: The server is also on the most recent version, 1.16.5. I have some other plugins like ViaVersion installed but I don't believe these are causing the issue.

@Just-Leah
Copy link
Author

Most plugins would not matter as the issue here is present while the server is offline, if that makes sense

@vincss
Copy link
Owner

vincss commented Apr 27, 2021

I added a web-gui so mobile player can launch the server since bedrock support is still WIP by the library.

@vincss
Copy link
Owner

vincss commented Nov 5, 2024

There is a new version to support bedrock:

https://github.com/vincss/mcsleepingserverstarter/releases

#130 (comment)

@vincss vincss closed this as completed Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants