PaperMC / PaperMC/Waterfall

[BUG] Could not decode packet

Open
#830 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
752
Forks
307
Avg merge
15h 48m
Merged PRs (30d)
7

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by reproducing the reported join failure against the affected Spigot servers and inspect the packet-decoding path associated with the Netty, Gson, and malformed-JSON warning. Done means affected servers can be joined without the decode exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.