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
{{ message }}
Repository navigation
Got error.ConnectionResetByPeer on receive. This indicates that a previous message did not find a valid destination. #1322
That's weird. This means that your operating system cleaned up the network connection before the other side received the disconnect signal (which is sent before closing the socket).
Alright, so previously the disconnect function would wait for a total of 30 ms after sending the disconnect signal before closing the socket.
So I guess we could just reintroduce some delay. Could check if adding this code in network.zig helps?
@IntegratedQuantum I keep getting the error. I didn't in 3.0 but it did start a while ago. It may have started after This PR @Argmaster Are you getting this again?
Activity
IntegratedQuantum commentedon Apr 21, 2025
That's weird. This means that your operating system cleaned up the network connection before the other side received the disconnect signal (which is sent before closing the socket).
Argmaster commentedon Apr 21, 2025
I should have mentioned that this is on Windows 11, I get this consistently when leaving local worlds.
IntegratedQuantum commentedon Apr 26, 2025
Alright, so previously the disconnect function would wait for a total of 30 ms after sending the disconnect signal before closing the socket.
So I guess we could just reintroduce some delay. Could check if adding this code in
network.zighelps?Argmaster commentedon Apr 26, 2025
Yes, after that change I was not able to reproduce the error anymore.
Add a delay before after sending the disconnect signal on windows loc…
calebstenberg commentedon Aug 12, 2026
@IntegratedQuantum I keep getting the error. I didn't in 3.0 but it did start a while ago. It may have started after This PR
@Argmaster Are you getting this again?
Argmaster commentedon Aug 12, 2026
I saw it, but it might have been when I was ungracefully closing the game, I have to double check.
IntegratedQuantum commentedon Aug 12, 2026
Please make a new issue then.