Closed
Description
Bungeecord version
git:BungeeCord-Bootstrap:1.20-R0.3-SNAPSHOT:ee02d98:unknown by md_5
Server version
Latest Paper
Client version
Unsure
Bungeecord plugins
One custom plugin, NuVotifier, TcpShield
The bug
Seeing this randomly in console, not sure how to replicate or what causes it..
19:10:57 [SEVERE] [Redacted] -> UpstreamBridge - encountered exception
io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Cannot get ID for packet class net.md_5.bungee.protocol.packet.PlayerListItemRemove in phase CONFIGURATION with direction TO_CLIENT
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:956)
at io.netty.channel.AbstractChannelHandlerContext$WriteTask.run(AbstractChannelHandlerContext.java:1263)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:405)
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: Cannot get ID for packet class net.md_5.bungee.protocol.packet.PlayerListItemRemove in phase CONFIGURATION with direction TO_CLIENT
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:463)
at net.md_5.bungee.protocol.Protocol$DirectionData.getId(Protocol.java:937)
at net.md_5.bungee.protocol.MinecraftEncoder.encode(MinecraftEncoder.java:26)
at net.md_5.bungee.protocol.MinecraftEncoder.encode(MinecraftEncoder.java:10)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
... 10 more
Log output (links)
No response
Checking
- I am using BungeeCord and not a fork. Issues with forks should not be reported here.I think this is not an issue with a bungeecord plugin.I have not read these checkboxes and therefore I just ticked them all.This is not a question or plugin creation help request.
Activity
Techirion commentedon Apr 22, 2024
I've already removed all code related to Tab List on bungee (I'm sending Tab list header and footer with spigot plugin) but that didn't help.
Outfluencer commentedon Apr 22, 2024
at what time is this happening?
On server switch or something like that?
Outfluencer commentedon Apr 22, 2024
Log output needed
Techirion commentedon Apr 22, 2024
I think it's when players are switching servers...
Outfluencer commentedon Apr 22, 2024
Have you removed all plugin from bungee while testing
Techirion commentedon Apr 22, 2024
Can't replicate on testing with or without plugins, can't really test on prod, from what I saw most of not all players used 1.20.3/1.20.4 and were very laggy, 800ms, 1000ms pings, Not sure if that's related somehow...
Techirion commentedon Apr 22, 2024
I also went and checked old logs and I can find this occurring since March 2024 (don't have older logs)
topbars commentedon May 15, 2024
I also discovered this problem myself. After updating to the latest version of BungeeKord, players who connect with versions 1.20.5 and 1.20.6 kick when trying to connect. Have you solved this problem?
Techirion commentedon May 15, 2024
No, we've ended up migrating away from BungeeCord to Velocity.
Yarethf commentedon Jun 1, 2024
What's up, I have bungeecord on my server and when I enter with forge it takes me out, but if I have op it lets me enter normally
Error: encountered exception
java.lang.NullPointerException
Janmm14 commentedon Jun 1, 2024
@Yarethf pls use spigotmc.org forums for support - or maybe you can attempt to find out potential reasons if you look in the console. either way, its wrong to just post your issue under something unrelated.
jquery-package commentedon Sep 30, 2024
I found a way to replicate this issue. You need to quickly change servers multiple times using plugin like this - https://pastebin.com/cP7CT6r1. I was able to get kicked even on the latest bungee without any plugins, using MC client > 1.20.2.
Could you please check this, @Janmm14 @Outfluencer
Outfluencer commentedon Sep 30, 2024
i can reproduce
Outfluencer commentedon Sep 30, 2024
I think that #3746 should fix this, as the startconfig packet is the cause in your case
@jquery-package
#3746, #3666: Fix potential race conditions when connecting to multip…