refinedmods / refinedstorage

An elegant solution to your hoarding problem.
https://refinedmods.com/refined-storage
MIT License
355 stars 176 forks source link

Payload may not be larger than 32767 bytes #3450

Open jkwphysics opened 1 year ago

jkwphysics commented 1 year ago

Describe the bug

Using JEI to + click recipe for cover into crafting grid kicks player out of server. The result is a io.netty exception about payload size. The same feature can auto populate and craft the cover using a normal crafting table without issue.

coverbug

How can we reproduce this bug or crash?

What Minecraft version is this happening on?

Minecraft 1.19.2

What Forge version is this happening on?

43.2.0

What Refined Storage version is this happening on?

1.11.4

Relevant log output

09.01 00:13:58 [Disconnect] User [Player] has disconnected, reason: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Payload may not be larger than 32767 bytes
09.01 00:13:58 [Server] Server thread/[INFO] [minecraft/MinecraftServer]: [Player] left the game
ArcadeArchie commented 1 year ago

I've encountered the same problem with the mod version: 1.11.4 on 1.19.2 in the ATM8 modpack(includes AE2 and RS Addons and uses Forge version 43.2.3)

[07Feb2023 17:27:56.969] [Netty Epoll Server IO #19/WARN] [com.connectivity.Connectivity/]: io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Payload may not be larger than 32767 bytes
[07Feb2023 17:27:56.970] [Netty Epoll Server IO #19/WARN] [com.connectivity.Connectivity/]: io.netty.handler.codec.DecoderException: java.io.IOException: Packet 0/20 (Pos) was larger than I expected, found 47115 bytes extra whilst reading packet 20
[07Feb2023 17:27:57.007] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: XXXXX lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Payload may not be larger than 32767 bytes
sqldiablo commented 1 year ago

I just encountered this in ATM 8 as well.

HarryPlopper91 commented 1 year ago

Confirmed, just hit bug as well in ATM 8.

IsFairy commented 1 year ago

Also just encountered the bug in ATM8 (with various Items such as Create Waterwheels and Supplementaries Clock Block).

HenrikoMagnifico commented 1 year ago

Same issue in Yao Pack 3

JamesJJT commented 10 months ago

Getting this in ATM9 aswell, while trying to craft either a chest or a clock

Neighthanael commented 9 months ago

Same issue in Vault Hunter 3rd Edition when "Using the auto-populate feature (of JEI?) to put the cover recipe into the crafting grid."

Running Refined Storage version 1.10.4 on Minecraft 1.18.2

WodahsGun commented 7 months ago

This Bug/Error will continue in ATM 9 ..... When i make the Powered Spawner on the Mod EnderIO i'll be kicked from the server

Quiel245 commented 6 months ago

same happens here on a self made pack on 1.20.1, but it only happens with recipes that include planks so i guess maybe it's something related to the big number of planks variations that is created by mods like chipped and biomes oh plenty? (both are present on my pack, but i'm not sure if it's related in any way)

edit: adding the Packet Fixer mod fixed it!