You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a Forge server with roughly 200 mods. I ran an old version of msh (v2.4.9) and finally decided to update to the newest version today. But after that i couldn't connect to the server. The client displayed Loading terrain... but instead of joining it just disconnected after some time.
So after changing this timeout from 10 seconds to one minute (just for testing, I don't know which time would be enough), i could login.
Now I'm not really sure if this is just a problem I was facing, but I thought I'd share it with you.
This timeout could be set in the configuration, so that it is easily changeable if it takes too long when joining.
Expected Behavior
Don't disconnect a player while he's joining.
Steps to Reproduce
I would guess this happens when you have many mods installed and it takes long to join a world.
Current Behavior (🐛 Bug)
Hello.
I'm running a Forge server with roughly 200 mods. I ran an old version of msh (v2.4.9) and finally decided to update to the newest version today. But after that i couldn't connect to the server. The client displayed
Loading terrain...
but instead of joining it just disconnected after some time.In the msh logs this line caught my attention:
So it seems the server closes the connection (hence why no error at the client) because of some timeout.
After digging a little bit in the code, i found this: https://github.com/gekware/minecraft-server-hibernation/blob/0876091137acf249c64d6a84538e42783cc87c9f/lib/conn/conn.go#LL232C1-L232C1
So after changing this timeout from 10 seconds to one minute (just for testing, I don't know which time would be enough), i could login.
Now I'm not really sure if this is just a problem I was facing, but I thought I'd share it with you.
This timeout could be set in the configuration, so that it is easily changeable if it takes too long when joining.
Expected Behavior
Don't disconnect a player while he's joining.
Steps to Reproduce
I would guess this happens when you have many mods installed and it takes long to join a world.
MSH Logs
No response
MSH-Version
2.5.0
MSH-Commit
0876091
Operating system
Arch-Linux kernel: 6.2.13
System architecture?
AMD64
Minecraft Version
1.18.2
Minecraft Server Software?
Forge
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: