Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
3 of 4 tasks
BboyZeroOne opened this issue Oct 12, 2023 · 6 comments
Open
3 of 4 tasks

Comments

@BboyZeroOne
Copy link

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

  • 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.
@MynamisTG
Copy link

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
Copy link
Contributor

xism4 commented Oct 15, 2023

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
Copy link
Contributor

Janmm14 commented Nov 7, 2023

@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
Copy link

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
Copy link

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

@zhmed
Copy link

zhmed commented Mar 27, 2024

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

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

No branches or pull requests

6 participants