Folia icon indicating copy to clipboard operation
Folia copied to clipboard

[new-scheduler] After a bug, players cant join the server

Open Teslicek opened this issue 1 year ago • 3 comments

Expected behavior

Players should be able to join the server at any time.

Observed/Actual behavior

There is a very odd bug with the new scheduler where randomly during server uptime, Folia wont allow any players to join after the bug happens. It can happen within an hour or within 3 days, it seems to be random.

This is not plugin-induced as reverting to hard-fork branch fixes the problem. There are no errors in console (both backend and velocity) and everything seems fine, but no new players can join the server.

Steps/models to reproduce

  1. Compile the folia jar from new-scheduler branch.
  2. Have 200+ players (seems to happen more frequently with higher playercounts).
  3. Wait until the bug happens.

Plugin and Datapack List

.

Folia version

Latest version of new-scheduler branch as of this writing.

Other

The only fix for now is reverting to hard-fork branch. Temporary solution is to restart the server when it happens. We are not knowledgeable enough about Folia to find the cause of the issue without any errors or exceptions.

Teslicek avatar Apr 13 '25 13:04 Teslicek

Expected behavior

Players should be able to join the server at any time.

Observed/Actual behavior

There is a very odd bug with the new scheduler where randomly during server uptime, Folia wont allow any players to join after the bug happens. It can happen within an hour or within 3 days, it seems to be random.

This is not plugin-induced as reverting to hard-fork branch fixes the problem. There are no errors in console (both backend and velocity) and everything seems fine, but no new players can join the server.

Steps/models to reproduce

  1. Compile the folia jar from new-scheduler branch.
  2. Have 200+ players (seems to happen more frequently with higher playercounts).
  3. Wait until the bug happens.

Plugin and Datapack List

.

Folia version

Latest version of new-scheduler branch as of this writing.

Other

The only fix for now is reverting to hard-fork branch. Temporary solution is to restart the server when it happens. We are not knowledgeable enough about Folia to find the cause of the issue without any errors or exceptions.

I can confirm that this issue occurs similarly in hard-fork; however, doesn't suddenly block all user connections. Instead, specific users may not have the ability to reconnect. When I teleport to the user that shows up via my logs, it's as if they're there but are not actually there.

R00tB33rMan avatar Apr 14 '25 01:04 R00tB33rMan

The new scheduler needs to be rewritten unfortunately due to some core design flaws.

Spottedleaf avatar May 22 '25 20:05 Spottedleaf

This is ver

Expected behavior

Players should be able to join the server at any time.

Observed/Actual behavior

There is a very odd bug with the new scheduler where randomly during server uptime, Folia wont allow any players to join after the bug happens. It can happen within an hour or within 3 days, it seems to be random. This is not plugin-induced as reverting to hard-fork branch fixes the problem. There are no errors in console (both backend and velocity) and everything seems fine, but no new players can join the server.

Steps/models to reproduce

  1. Compile the folia jar from new-scheduler branch.
  2. Have 200+ players (seems to happen more frequently with higher playercounts).
  3. Wait until the bug happens.

Plugin and Datapack List

.

Folia version

Latest version of new-scheduler branch as of this writing.

Other

The only fix for now is reverting to hard-fork branch. Temporary solution is to restart the server when it happens. We are not knowledgeable enough about Folia to find the cause of the issue without any errors or exceptions.

I can confirm that this issue occurs similarly in hard-fork; however, doesn't suddenly block all user connections. Instead, specific users may not have the ability to reconnect. When I teleport to the user that shows up via my logs, it's as if they're there but are not actually there.

This is very scary, where you teleport to a user that you think is there but isn't. That creeps me out. PLEASE FIX THIS URGENTLY I'M SCARED AHAHHHHHHHHHHHHHHHHHH

HoneyBerries avatar Jul 08 '25 17:07 HoneyBerries