Paper: User kicked of with "Invalid custom payload"

Created on 25 Aug 2020  路  16Comments  路  Source: PaperMC/Paper

What behaviour is expected:

The user should be able to join.

What behaviour is observed:

The user is able to load the map for a brief second, before getting kicked off with the message "invalid custom payload"

Steps/models to reproduce:

Attempt to join the server.

Plugin list:

Plugins (18): ChestShop, Citizens, Denizen, DiscordSRV, DiscordSRV-Staff-Chat*, dynmap*, Dynmap-Towny, Essentials, Hyperverse, LuckPerms, PlotSquared, TheNewEconomy, TimeIsMoney*, Towny, TownyChat, Vault, WorldEdit, WorldGuard

Paper version:

[Tue, 25. Aug 2020 13:45:24 GMT INFO] This server is running Paper version git-Paper-144 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
[Tue, 25. Aug 2020 13:45:24 GMT INFO] Checking version, please wait...
[Tue, 25. Aug 2020 13:45:24 GMT INFO] Previous version: git-Paper-"dccaf59a0" (MC: 1.16.2)
[Tue, 25. Aug 2020 13:45:24 GMT INFO] You are running the latest version

Anything else:

Full logs: https://pastebin.com/zYnnqTPQ
1.16.2 RC6 works fine.
Using the official Minecraft Launcher, with no customization. Happens to all users attempting to join. There is no proxy being used, the server is directly exposed to the internet.

bug 1.16

Most helpful comment

We get that there is an issue (and we won't fix it on 1.16.1), but new "same here" posts won't help much. Please provide information about your setup such as:

  • Paper version (MC version + build)
  • Proxy? If so, version and which? (BungeeCord, Waterfall, Travertine, Velocity, Lilypad, etc. etc.)
  • Is this an issue that affects everyone or just a subset (part of the larger amount) of your players?
  • Plugins list
  • Client information (100% vanilla? Fabric? Forge? Cheat/otherwise modified clients?)

Thank you for any information you can provide.

All 16 comments

I also got this problem when I updated to Paper build 138. Paper 137 works fine
Using Waterfall build 370. Affecting to all players with any client, including 100% vanilla.

I assume this is caused by the brand getting read with a fixed length while the string is actually send with a variable length.

readUTF8 takes the max length, not the total length, that looks fine?

Hm, I see. Should only be able to happen if the sent length is above the actual string length.

Would be interesting if there is a proxy in front or any mods in use.

Same issue on 1.16.1

We get that there is an issue (and we won't fix it on 1.16.1), but new "same here" posts won't help much. Please provide information about your setup such as:

  • Paper version (MC version + build)
  • Proxy? If so, version and which? (BungeeCord, Waterfall, Travertine, Velocity, Lilypad, etc. etc.)
  • Is this an issue that affects everyone or just a subset (part of the larger amount) of your players?
  • Plugins list
  • Client information (100% vanilla? Fabric? Forge? Cheat/otherwise modified clients?)

Thank you for any information you can provide.

Paper Version: git-Paper-144 (MC: 1.16.2)
Proxy: Bungeecord Build #1532
Effects: unknown, server in test mode.
Plugins: https://paste.thezomg.com/75560/92748159/
Client: Minecraft 1.16.2 with Optifine HD U G3 Pre-release 4

@VergilPrime do you have any plugins on Bungee? And if so does it happen without them too? Also does it happen without Optifine and a plain Vanilla jar?

I had old copies of PureCore and Vivecraft on BungeeCord but removed those. I tried with the unmodified 1.16.2 client as well, same result. Do you want me to try connecting to a vanilla server?

Edit: Direct connect to vanilla server = no problem.
Edit: Direct connect to Spigot server = same issue

Any problem on Waterfall?

1.16.1 users can simply use build 137 if you cant update to 1.16.2 yet.
what client mods are in use? this doesnt occur with vanilla client

@VergilPrime can you post the stacktrace using Spigot too (and the exact version if it doesn't include that)

This seems to be happening again...
https://hastebin.com/fecibigivi.makefile
paper version 184, only Optifine installed.

can you replicate this without plugins? if yes, can you replicate without optifine (Doubt they're the issue, but 馃し )

Nevermind, this time it was Denizen.

Was this page helpful?
0 / 5 - 0 ratings