AllTheMods / ATM-8

All the Mods 8
136 stars 32 forks source link

[Bug]: Integrated Dynamics Storage Terminals always cause a PacketCodecException on the client #1798

Open flann opened 10 months ago

flann commented 10 months ago

Possible Fixes

Yes

Modpack Version

1.1.0

What happened?

This is running ATM 8 on a server and connecting with a client. Attempting to use an integrated dynamics storage terminal disconnects the client and shows a "PacketCodecException". Nothing shows up in the server logs other than showing the user disconnecting.

  1. Connect a storage terminal to an inventory.
  2. Right-click the terminal
  3. Client disconnects from the server with a "PacketCodecException". Log trace shows the dreaded "io.netty.handler.codec.EncoderException: java.io.EOFException: fieldSize is too long! Length is 28009, but maximum is 45"

latest.log

https://gist.github.com/flann/00549bf494d38454a8ede9e7dd685747#file-latest-log

flann commented 10 months ago

See https://github.com/CyclopsMC/IntegratedTerminals/issues/112

Looks like there's a work-around. Reducing the terminalStoragePacketMaxInstances from 1024 to a lower value (512, 256, or 128 may work) in /config/integratedterminals-common.toml

I tried 256, and it worked for me.