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

Couldn't pass KickedFromServerEvent to loadbalancer #1

Open
ehamawy opened this issue Jul 13, 2022 · 0 comments
Open

Couldn't pass KickedFromServerEvent to loadbalancer #1

ehamawy opened this issue Jul 13, 2022 · 0 comments

Comments

@ehamawy
Copy link

ehamawy commented Jul 13, 2022

When multiple players connect to Velocity while VelocityLoadBalancer is installed, I get error Couldn't pass KickedFromServerEvent to loadbalancer and they are unable to connect. Running latest Velocity and 2 Paper 1.18.2 servers. Does this when it's the only plugin installed.

[02:41:56 ERROR]: Couldn't pass KickedFromServerEvent to loadbalancer java.lang.NoSuchMethodError: com/velocitypowered/api/event/player/KickedFromServerEvent$RedirectPlayer.create(Lcom/velocitypowered/api/proxy/server/RegisteredServer;)Lcom/velocitypowered/api/event/player/KickedFromServerEvent$RedirectPlayer; (loaded from file:/home/container/velocity.jar by jdk.internal.loader.ClassLoaders$AppClassLoader@76f315f0) called from class me.bhop.velocityloadbalancer.LoadBalancerPlugin (loaded from file:/home/container/plugins/velocityloadbalancer-1.1.jar by com.velocitypowered.proxy.plugin.PluginClassLoader@d9a2708). at me.bhop.velocityloadbalancer.LoadBalancerPlugin.lambda$onKick$3(LoadBalancerPlugin.java:56) ~[?:?] at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] at me.bhop.velocityloadbalancer.LoadBalancerPlugin.onKick(LoadBalancerPlugin.java:56) ~[?:?] at me.bhop.velocityloadbalancer.Lmbda$1.execute(Unknown Source) ~[?:?] at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:47) ~[velocity.jar:3.1.2-SNAPSHOT (git-e8bf6ab5-b161)] at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[velocity.jar:3.1.2-SNAPSHOT (git-e8bf6ab5-b161)] at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[velocity.jar:3.1.2-SNAPSHOT (git-e8bf6ab5-b161)] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:889) [?:?] [02:41:56 INFO]: [server connection] nlD1VgK7BotYxdaX -> server1 has connected [02:42:02 INFO]: [connected player] Notch (/192.168.1.1:8536) has connected [02:42:02 INFO]: [server connection] Notch -> server2 has connected [02:42:02 ERROR]: [server connection] Notch -> server2: exception encountered in com.velocitypowered.proxy.connection.backend.LoginSessionHandler@ad075fcd io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer [02:42:02 INFO]: [server connection] Notch -> server2 has disconnected [02:42:02 ERROR]: [connected player] Notch (/192.168.1.1:8536): unable to connect to server server1 io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer

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

No branches or pull requests

1 participant