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

[Registry Sync API v1] Server instantly disconnect vanilla clients #185

Open
HowardZHY opened this issue Feb 18, 2025 · 0 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@HowardZHY
Copy link

HowardZHY commented Feb 18, 2025

io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (32 > 20)

[17:19:45] [Server thread/INFO]: HowardZHY[/127.0.0.1:55934] logged in with entity id 208 at (-111.5, 80.5, 206.5) [17:19:45] [Server thread/INFO]: HowardZHY joined the game [17:19:46] [Server thread/INFO]: HowardZHY lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}} [17:19:46] [Server thread/INFO]: HowardZHY left the game

There's no error message in either server log or vanilla client log.

The error in Forge client is

[17:19:45] [Netty Client IO #3/ERROR] [FML/]: NetworkDispatcher exception io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (32 > 20) at net.minecraft.network.PacketBuffer.func_150789_c(SourceFile:246) ~[em.class:?] at net.minecraft.network.play.server.S3FPacketCustomPayload.func_148837_a(S3FPacketCustomPayload.java:33) ~[gg.class:?] at net.minecraft.util.MessageDeserializer.decode(SourceFile:40) ~[en.class:?] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249) ~[ByteToMessageDecoder.class:4.0.23.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149) ~[ByteToMessageDecoder.class:4.0.23.Final] ...

@thecatcore thecatcore added the bug Something isn't working label Feb 28, 2025
@thecatcore thecatcore moved this to Todo in Legacy Fabric API Feb 28, 2025
@thecatcore thecatcore added this to the 1.12.0 milestone Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants