Skip to content
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

[Crash]: Packet handling error (Connection reset) #1076

Closed
JavaMachine opened this issue Nov 8, 2024 · 6 comments
Closed

[Crash]: Packet handling error (Connection reset) #1076

JavaMachine opened this issue Nov 8, 2024 · 6 comments
Labels
Crash Game crash

Comments

@JavaMachine
Copy link

Possible Fixes

No

Modpack Version

1.15

What happened?

Couple days ago I have setup setup server on my other PC, I played like 2-3 days and today I can't connect to my server.

Crash Log

https://gist.github.com/JavaMachine/16613425ab095de44729026c0be17a8f

Latest.Log

https://gist.github.com/JavaMachine/d31c382de191f4f4a0ea679cb537e40e

@JavaMachine JavaMachine added the Crash Game crash label Nov 8, 2024
@JavaMachine
Copy link
Author

@JavaMachine
Copy link
Author

JavaMachine commented Nov 8, 2024

Upgrading server and client to 1.16 did not help

@JavaMachine
Copy link
Author

I tried to rename world folder to world_old, so server could generate new one. But still it does not help.

Tried creating single world, it works.

@JavaMachine
Copy link
Author

JavaMachine commented Nov 8, 2024

Completely removing ATM10 client and reinstalling does not helped either.

@JavaMachine
Copy link
Author

Removing everything except world directory and reinstalling/re-initialization of the server did not help :(

@JavaMachine
Copy link
Author

JavaMachine commented Nov 9, 2024

I do not know what exactly fixed it.

On my PC (client), all I did was reduced swap memory on my system to 1GB and -Xmx to 4GB.
(p.s. Why? I guess when client is on "Loading Terrain" stage, client freezes like 3-5 seconds and then it disconnects. My guess was that my Windows is trying to page out some of the memory, which might be causing this freezes and which might be resulting in disconnects)

On the server:

Edited /etc/sysctl.conf and added this params:

net.ipv4.tcp_keepalive_time=60
net.ipv4.tcp_keepalive_intvl=30
net.ipv4.tcp_keepalive_probes=9
net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_retries2=8
net.ipv4.tcp_rmem="4096 87380 6291456"
net.ipv4.tcp_wmem="4096 16384 4194304"
net.ipv4.tcp_fastopen=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Game crash
Projects
None yet
Development

No branches or pull requests

2 participants