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

[BUG] Could not decode packet #830

Open
Kauul opened this issue Nov 4, 2023 · 4 comments
Open

[BUG] Could not decode packet #830

Kauul opened this issue Nov 4, 2023 · 4 comments

Comments

@Kauul
Copy link

Kauul commented Nov 4, 2023

Latest build makes impossible to join some of my network spigot servers
1.19 seems fine tho

[00:13:09 WARN]: [/31.35.223.120:53851|Kauul] <-> DownstreamBridge <-> [srv-117] - could not decode packet! io.netty.handler.codec.DecoderException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 4 path $

Spigot logs :
[00:05:55 INFO]: Kauul[/31.35.223.120:39941] logged in with entity id 23 at ([world]-268.5, 4.0, -653.5) [00:05:55 INFO]: Kauul lost connection: Internal Exception: java.io.IOException: Error while write(...): Broken pipe [00:05:55 INFO]: Kauul left the game.

@electronicboy
Copy link
Member

all I can see is that sometning apparently sent bad json in a packet, you can run the server with -Dwaterfall.packet-decode-logging=true to maybe get more info, but, not much for me to go off here, general reproduce without plugins, etc

@Kauul
Copy link
Author

Kauul commented Nov 4, 2023 via email

@Packsolite
Copy link

Packsolite commented Dec 6, 2023

Hi, we're facing the same issue. Seems like it's triggered when sending empty/blank messages from a server:

io.netty.handler.codec.DecoderException: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Not a JSON Object: [" "]

// Edit
Might be linked to ViaVersion/ViaVersion#3552

@Sckaletz
Copy link

Sckaletz commented Dec 7, 2023

We have the same issue when players try to join our servers with 1.20.3.
https://paste.gg/p/anonymous/8f54662e04084e1cbf7a83725d3e3a0e

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

4 participants