mojira.dev
MC-152771

Extend login timeout

We are having issues (especially during connection/login) where we are getting errors such as: "lost connection: Timed out"

This is likely because the server is on the opposite side of the world to the users that are having issues. Once they manage to connect, things are generally fine - it's just the initial connection, and often after a few tries they get on.

I have seen that others have also encountered this, and Spigot has add-ons that make this time out configurable.

My request is to support something like this natively in the Minecraft Server to allow the login timeout to be increased as desired (or default to something much longer than 30 seconds).

I have searched and seen others with similar issues, some of which have been closed as support problems. However I consider this to be a bug/feature request to allow players at long distances to still connect to a server.

This is an example log of the issues occurring:

[02:37:13] [User Authenticator #2/INFO]: UUID of player Phillipcoach is b793e2a4-1c6a-44eb-9ce2-1b74ccce038f
[02:37:13] [Server thread/INFO]: Phillipcoach[/10.255.0.2:44254] logged in with entity id 384 at (305.06881288269085, 59.27709670761116, -161.1754433736152)
[02:37:13] [Server thread/INFO]: Phillipcoach joined the game
[02:37:40] [Server thread/INFO]: Phillipcoach lost connection: Timed out
[02:37:40] [Server thread/INFO]: Phillipcoach left the game

Comments 4

Also adding in 1.14.2, as this appears to be worse. It was always 30 seconds previously, now it appears to be even less!

If you are able to make this configurable, or even just extend the initial timeout in the code for 1.14.3, that would be great for those of us not on fast internet connections.

The latest release (I think) has made things even worse, it appears to now be a 15 second time out. I have set my server`view-distance` to 7, and this is what I'm getting:

[09:15:15] [Server thread/INFO]: wendymc2 joined the game
[09:15:30] [Server thread/INFO]: wendymc2 lost connection: Timed out
[09:15:30] [Server thread/INFO]: wendymc2 left the game

So increasing the `view-distance` to 10 does not actually change anything either, similar thing (I'm trying everything I can find on the internet):

[09:41:11] [Server thread/INFO]: wendymc2 joined the game
[09:41:32] [Server thread/INFO]: wendymc2 lost connection: Disconnected
[09:41:32] [Server thread/INFO]: wendymc2 left the game

Increasing this initial timeout would be much appreciated for those of us without fastΒ  internet connections.

Thanks.

Β 

This issue has been closed as invalid.

You have posted a feature request, a suggestion or a behavior change. This site is for bug reports only.
For suggestions, please visit Minecraft Suggestions on Reddit.

Quick Links:
πŸ““ Issue Guidelines -- πŸ’¬ Community Support -- πŸ“§ Customer Support -- πŸ“– Game Wiki

Thanks for looking at this @miwob , however the fact we are often not able to connect is surely a bug?

My feature request is to make it adjustable, but the bug still stands for those on "narrow" links (low bandwidth), and should be a very easy fix by adjusting the internal timeout in code.

Thanks.

Trent

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.14.1, Minecraft 1.14.2

Retrieved