-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Connection timeout issues #141
Comments
Hi! Im running a server (MC Eternal 1.3.7.1) and I added the latest version of randompatches to the server (1.12.2-1.22.1.10). I increased the timings as follow: But it just seems it gets ignored. Also I dont get the RandomPatches ServerLoginNetHandler Transformer message in the console. |
Whoops, that message is only for 1.14+. |
If someone is experiencing this on 1.16.4, can they check if 2.1.0 fixes this issue (Forge/Fabric)? |
I don’t know if I should open a new issue(I just put this here as it’s an existing issue). Anyway, the error keeps occurring for me as well on 1.16.4 with the mod version being 2.1.2. I’m also using the fabric version. |
EDIT: I traced my issue back to the login mod mentioned below. The mod has gone through many improvements since the version we were using and the timeout issue has been fixed in the latest version. If you are running this mod, update it if you see one of these error in the server console: While going through server config today i found that a different mod called SimpleLogin has a default login timeout of 60 seconds. Perhaps this is one of the causes for this for some other people as well? When searching for "minecraft login mod" the simplelogin mod is all the way at the top.. Exact error message we got exactly 60 seconds after first sign of login: We have instructed players to add We're running this on an 8GB (ddr3) ram linux VPS with a openj9 java VM. PS: In case it's not clear to anyone, the server i have found this issue on has |
Fixes TheRandomLabs/RandomPatches#141 (comment) Large modpacks can come hand-in-hand with client-side freezes lasting over a minute, causing a disconnect even if the login credentials match. Large modpacks feature mods like RandomPatches to increase the timeouts used by minecraft and forge for this reason, and despite having this mod it seemed like TheRandomLabs/RandomPatches#141 was happening on our server as well, until i found this timeout value that exactly matches how long it takes for a player to time out on our server. Increasing this value tenfold in `<server>/<world>/serverconfig/simplelogin-server.toml` fixed this issue for the server i am one of the operators of. Since players should not be able to do any damage while not logged in this should not have any negative effects.
Some users seem to be experiencing timeout issues even with this mod installed. (See #94)
If you have this problem, can you make sure that your KeepAlive packet interval is set to 15 seconds? Keep in mind that the read timeout is specified in seconds, but the login timeout is specified in ticks.
If you can also ensure that a message like this: on 1.14+
occurs in the console, that would be great. The message doesn't seem to appear in the log because of some weird Forge stuff.
A reminder that the timeout options are server-sided (except for the read timeout which has some client-sided functionality). The configuration options will be less confusing in the 1.16.4 rewrite.
EDIT: In the rewrite, the configuration options are better-organised and documented.
The text was updated successfully, but these errors were encountered: