-
Notifications
You must be signed in to change notification settings - Fork 46
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
Joining LAN server results in timeout #2296
Comments
Is this related to JEI? I created a new client instance that was working fine, syncing JEI(?) takes ~25s ( |
It started showing up again on the new instance |
Have you tried extending the timeout? You can modify it by setting the property Note that this flag must be added before |
Thanks, will try that when I got home. |
Hmm. I'm still getting timeouts Here is my entire jvm flag: #!/usr/bin/env bash
nix run nixpkgs#temurin-bin-8 -- -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -Dfml.readTimeout=120 -jar forge-1.12.2-14.23.5.2860.jar nogui server latest.log: https://fars.ee/1qyR
Now it seems to be 15s for some reason?
EDIT: 🤦 it is 15s since the beginning... |
It's 30 seconds in the first log you provided:-
And 36 seconds in the new log:-
|
So it seems to have increased it, but not by as much as is specified. You could try adding Random Patches to your server - one of the many patches it includes extends both the login and read timeouts to (by default) 90 seconds but you can configure it further if necessary. |
Closing as stale |
Bug Description
I cannot join my LAN server, after I double-clicked on my server, my client is stuck on the "Joining" screen, my server sees my client joins for *exactly* 30s, then `Timed out`I am able to join my server sometimes, normally I need to re-join 4-5 times.
Did this behavior use to work in the previous version?
UntestedSteps to Reproduce (for bugs)
Timed out
Disconnected
io.netty.channel.unix.Errors$NativeIoException: syscall:write(..) failed: Broken pipe
Logs
Client/Server Log:
server
latest.log
: https://fars.ee/2iFAserver
latest.log
, second boot: https://fars.ee/9M8Sclient
latest.log
: https://fars.ee/PL_a(
io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused
should be when I accidentally quitted Zellij, then the server shuted down)Crash Log: n/a
World Information
Client Information
Server Information
The text was updated successfully, but these errors were encountered: