Disconnection from Server with error: payload may not be larger than 1048576 bytes
MrMinitwo opened this issue ยท 4 comments
Issue description:
I disconnect and get this error when attempting to access my Refined Storage Crafting Grid or Wireless Crafting Grid:
"
internal exception: io.netty.handler.codec.decoderexception: java.io.IOException: payload may not be larger than 1048576 bytes
"
So this initially happened when I was throwing items into the system while in one of those Dungeons but made with nether materials. But it first happened there and I thought it was just maybe I put too much at one time or maybe the system ran out of power because I had one of those Dimension Cards for Refined Storage that of course allowed me to access the system from anywhere. but I wasn't certain because I wasn't home. So I teleported home and tried accessing the system directly and I still started disconnecting when I would attempt to access the Grid and it would only disconnect me, the server was still fine and online.
I have also tried changing these settings:
Options related to packet size limits.
[packet_size_limits]
# The maximum compressed packet size.
# The vanilla limit is 2097152.
# This option is both client and server-sided.
# Setting this to a higher value than the vanilla limit can fix MC-185901, which may cause players to be disconnected: https://bugs.mojang.com/browse/MC-185901
# Min: 256
# Max: 2147483647
# Default: 16777216
max_compressed_packet_size = 2147483647
# The maximum NBT compound tag packet size.
# The vanilla limit is 2097152.
# This option is both client and server-sided.
# Setting this to a higher value than the vanilla limit may prevent players from being disconnected.
# Min: 256
# Max: 2147483647
# Default: 16777216
max_nbt_compound_tag_packet_size = 2147483647
# The maximum client custom payload packet size.
# The vanilla limit is 32767.
# Setting this to a higher value than the vanilla limit may prevent the client from being disconnected.
# Min: 256
# Max: 2147483647
# Default: 16777216
max_client_custom_payload_packet_size = 2147483647
and as you can see I tried even maxing them out and even though I had changed it on both the server and client-side it still disconnected me with this error:
"
internal exception: io.netty.handler.codec.decoderexception: java.io.IOException: payload may not be larger than 1048576 bytes
"
But even though I had changed the values in these settings it never changed the error amount so I'm not sure what is happening
What happens:
Disconnection from the server, the server stays online with only it saying I have disconnected from the server in the console.
Steps to reproduce:
Access the Refined Storage Grid
Version:
Minecraft: 1.16.5
Forge: 36.1.2
RandomPatches: 2.4.4
Refined Storage: 1.9.12
Modpack: All The Mods 6: 1.6.2
Does this issue occur on a server? [yes/no]
Yes
Side note I forgot to mention is I have downloaded the world and imported it into single-player and I don't get this error when in single-player but when it's on a server it gives me that error. So i wiped the server completely and then reinstalled a fresh All the Mods 6 version 1.6.2 and deleted the fresh world folder and imported the old one and still, the issue was happening.
So if yall could please help me I would be very grateful.
This error is still happening even after I removed the mod, anyone have an update on what mod or what is causing this
We are intermittently having this issue on a pack we're developing. Sometimes, when we set up a server instance and create a world, players are unable to connect and get this same error. Some worlds are fine, but others have this issue and need to be re-created. It's some modded item being generated that is overloading the packet, but I think the main concern is no matter what we set the config to the message is always 1048576 bytes, so it seems the config isn't being respected.