-
-
Notifications
You must be signed in to change notification settings - Fork 627
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
Players getting timed out #1441
Comments
I have the same problem, and I assume I don't have the same plugins as the guy above. Sometimes the connection is broken a dozen or so seconds after connecting and sometimes after a longer time. On average, a player is kicked out every few minutes, with 60-70 online. Below is the error log. ERROR censored-nick (/77.222..:22421): exception encountered in com.velocitypowered.proxy.connection.client.ClientPlaySessionHandler@31984e67 |
Yes sir! We have exact the same problem, a bunch of people gets disconnected, usually around peak, probably high load or some kind of race condition? it's still bad they get kicked off the proxy |
connection reset by peer means that the connection was closed externally to the proxy; Diagnosing these types of things is generally hard, especially with 0 information, large amounts of disconnects at once would generally be networking issues or something, like a plugin, stalling out a network pipeline thread. without figuring out a way to throw a lot of monitoring into your specific setups, it's generally not tenable for us to advise much here |
Update netty? I know it's hard to do this, is there any way we can help? How? |
updating netty to the latest 4.1 release would be trivial, but there have been no updates that would be relevant to connections being closed externally |
sorry if I misled you, I changed the network_compression_threshold from 512 to 64 and the problem disappeared, I don't know why it was set like that but now it's ok, I also changed the version of Velocity to the last build of 3.4.0 but I don't know if it has anything to do with it. I will try to monitor closely whether the problem still occurs. Thank you for your time. |
On velocity? Isn't default there 256? |
BTW Also not sure if this is intended but https://papermc.io/downloads/velocity still defaults to 3.3.0 |
Already reported: |
of course it is, but it's possible that I changed something by mistake. |
@bolda500 did this improve things in any meaningful way? I was already using 256 and the issue still occurs... |
After changing the value to 64, or I guess 128 would also be good, the problem disappeared. I also changed the connection-timeout value from 5000 to 7000. |
Expected Behavior
Players should not be kicked randomly.
Actual Behavior
[00:04:57] [Netty epoll Worker #3/INFO] [com.velocitypowered.proxy.connection.client.ConnectedPlayer]: [connected player] Enderzombie44 (/163.117.104.252:50180) has disconnected: An internal error occurred in your connection.
[00:04:57] [Netty epoll Worker #3/ERROR] [com.velocitypowered.proxy.connection.MinecraftConnection]: [connected player] Enderzombie44 (/163.117.104.252:50180): read timed out
Players are getting kicked randomly.
Steps to Reproduce
https://pastebin.com/dnpJYEtG
Plugin List
There are no plugins currently installed.
Velocity Version
[11:49:33 INFO]: Velocity 3.3.0-SNAPSHOT (git-0cd069ec-b431)
[11:49:33 INFO]: Copyright 2018-2024 Velocity Contributors. Velocity is licensed under the terms of the GNU General Public License v3.
[11:49:33 INFO]: velocitypowered.com - GitHub
Additional Information
No response
The text was updated successfully, but these errors were encountered: