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

connect action not working on velocity #11

Open
notkirb opened this issue Nov 15, 2024 · 0 comments
Open

connect action not working on velocity #11

notkirb opened this issue Nov 15, 2024 · 0 comments

Comments

@notkirb
Copy link

notkirb commented Nov 15, 2024

when i use the [connect] action my velocity server kicks the player and throws this error

[server connection] notkirb_ -> lobby: exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@1402f797
java.lang.IndexOutOfBoundsException: readerIndex(2) + length(21618) exceeds writerIndex(32): PooledSlicedByteBuf(ridx: 2, widx: 32, cap: 32/32, unwrapped: PooledUnsafeDirectByteBuf(ridx: 119, widx: 161, cap: 512))
	at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1428) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:895) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at com.velocitypowered.proxy.protocol.util.ByteBufDataInput.readFully(ByteBufDataInput.java:54) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:594) ~[?:?]
	at com.velocitypowered.proxy.protocol.util.ByteBufDataInput.readUTF(ByteBufDataInput.java:121) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at com.velocitypowered.proxy.connection.backend.BungeeCordMessageResponder.process(BungeeCordMessageResponder.java:332) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler.handle(BackendPlaySessionHandler.java:287) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at com.velocitypowered.proxy.protocol.packet.PluginMessagePacket.handle(PluginMessagePacket.java:104) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at com.velocitypowered.proxy.connection.MinecraftConnection.channelRead(MinecraftConnection.java:153) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at com.velocitypowered.proxy.protocol.netty.AutoReadHolderHandler.channelRead(AutoReadHolderHandler.java:57) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:91) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:60) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:289) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:455) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.4.0-SNAPSHOT (git-dc40e160-b448)]
	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

Velocity version: 3.4.0-SNAPSHOT Build 448
GuiEngine version: 1.4.3
Minecraft server version: 1.21.1
Minecraft client version: 1.21.1

plugins:

AutoUpdateViaVersion-1.1.jar                           ChestCommands.jar                                      
CoreProtect-22.4.jar                                   DecentHolograms-2.8.12.jar                             
EssentialsX-2.20.1.jar                                 EssentialsXChat-2.20.1.jar                             
EssentialsXDiscord-2.20.1.jar                          EssentialsXDiscordLink-2.20.1.jar                      
EssentialsXSpawn-2.20.1.jar                            FancyNpcs-2.4.0.jar                                    
GuiEngine-1.4.3.jar                                    LuckPerms-Bukkit-5.4.141.jar                           
NoCheatPlus.jar                                        PlaceholderAPI-2.11.6.jar                              
ProtocolLib.jar                                        TAB v4.1.9.jar                                         
Vault.jar                                              ViaVersion-5.1.1.jar                                   
ViaVersion.jar                                         multiverse-core-4.3.13.jar                             
multiverse-signportals-4.3.0.jar                       worldedit-bukkit-7.3.8.jar                             
worldguard-bukkit-7.0.12-dist.jar                         
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