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 on connection #404

Open
Darkilen opened this issue Feb 4, 2025 · 0 comments
Open

Crash on connection #404

Darkilen opened this issue Feb 4, 2025 · 0 comments

Comments

@Darkilen
Copy link

Darkilen commented Feb 4, 2025

Describe the bug
When a user try to connect to Bungee, he's disconnected right away with an error.

To Reproduce
Connect to a bungee server

Expected behavior
Connection successfull

Screenshots or log
Logs are censored for privacy reasons (username, uuid and IP/port)
11:30:42 [INFO] [BungeePerms] Login by username (uuid) 11:30:42 [WARNING] Plugin listener net.alpenblock.bungeeperms.platform.bungee.BungeeEventListener took 104ms to process event LoginEvent(cancelled=false, reason=null, connection=[username,/IP:PORT] <-> InitialHandler)! 11:30:42 [INFO] [username] <-> ServerConnector [hub] has connected 11:30:44 [INFO] [/IP:PORT] <-> InitialHandler has pinged 11:30:44 [WARNING] [username] <-> DownstreamBridge <-> [hub] - could not decode packet! io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Unknown string key at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:101) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:455) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799) at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.lang.IllegalArgumentException: Unknown string key at com.google.common.base.Preconditions.checkArgument(Preconditions.java:218) at net.md_5.bungee.protocol.DefinedPacket.readStringMapKey(DefinedPacket.java:77) at net.md_5.bungee.protocol.packet.Team.read(Team.java:77) at net.md_5.bungee.protocol.DefinedPacket.read(DefinedPacket.java:534) at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:42) at net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:11) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:91) ... 24 more 11:30:44 [INFO] [username] disconnected with: §f§fDecoderException : java.lang.IllegalArgumentException: Unknown string key @ io.netty.handler.codec.MessageToMessageDecoder:101 11:30:44 [INFO] [username] -> UpstreamBridge has disconnected

Additional context
We juste updated Bungee to latest (build 1900 from SpigotMC/BungeeCord@22aa6f5)

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