SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.54k stars 1.1k forks source link

Cannot get ID for packet class net.md_5.bungee.protocol.packet.LoginSuccess #3552

Open BboyZeroOne opened 9 months ago

BboyZeroOne commented 9 months ago

Bungeecord version

git:BungeeCord-Bootstrap:1.20-R0.2-SNAPSHOT:a7dbbc2:1756 by md_5

Server version

git-Paper-196 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 773dd72)

Client version

1.20.1

Bungeecord plugins

BungeeCord Version:1756

The bug

Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Cannot get ID for packet class net.md_5.bungee.protocol.packet.LoginSuccess in phase GAME with direction TO CLIENT @ io.netty.handler.codec.MessageToByteEncoder:125

Log output (links)

No response

Checking

MynamisTG commented 9 months ago

Same problem - java.lang.IllegalStateException: Not expecting login at com.google.common.base.Preconditions.checkState(Preconditions.java:512) at net.md_5.bungee.connection.DownstreamBridge.handle(DownstreamBridge.java:766) at net.md_5.bungee.protocol.packet.Login.handle(Login.java:283) at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:124)

xism4 commented 9 months ago

Same problem - java.lang.IllegalStateException: Not expecting login at com.google.common.base.Preconditions.checkState(Preconditions.java:512) at net.md_5.bungee.connection.DownstreamBridge.handle(DownstreamBridge.java:766) at net.md_5.bungee.protocol.packet.Login.handle(Login.java:283) at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:124)

Are you using ViaVersion?

Janmm14 commented 8 months ago

@MynamisTG wrote: Same problem - java.lang.IllegalStateException: Not expecting login at com.google.common.base.Preconditions.checkState(Preconditions.java:512) at net.md_5.bungee.connection.DownstreamBridge.handle(DownstreamBridge.java:766) at net.md_5.bungee.protocol.packet.Login.handle(Login.java:283) at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:124)

Not the same issue at all!

xiaoyao778 commented 6 months ago

EncoderException : java.lang.IllegalArgumentException: Cannot get ID for packet class net.md_5.bungee.protocol.packet.LoginSuccess in phase GAME with direction TO_CLIENT @ io.netty.handler.codec.MessageToByteEncoder:125

xiaoyao778 commented 6 months ago

同样的问题,我不知道应该怎么解决,版本1.20.2

zhmed commented 4 months ago

EncoderException : java.lang.IllegalArgumentException: Cannot get ID for packet class net.md_5.bungee.protocol.packet.LoginSuccess in phase GAME with direction TO_CLIENT @ io.netty.handler.codec.MessageToByteEncoder:125

if you have viaversion, use it only in the backend servers and not in the bungeecord server