Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-256187

Errors internal exception io.netty.handler.codec.decoderexception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.19.2
    • None
    • Unconfirmed
    • (Unassigned)

      When i play on the server i often get thrown every 1-10 minute with a message:

      Internal Exeption: io.netty.handler.codec.DecoderException: java.util.zip.DataFormatException: invalid distance too far back

      Sometimes the following messages appear:

      Internal Exeption: io.netty.handler.codec.DecoderException: net.minecraft.class_148: Loading NBT data

      Internal Exeption: io.netty.handler.codec.DecoderException: java.IOExeption: Packet 0/31 (class_2672) was larger then I expected, found 14046 bytes extra whilst reading packet 31

      Internal Exeption: io.netty.handler.codec.DecoderException: ByteArray with size 15372 is bigger than allowed 2048

      Internal Exception: java.lang.OutOFMemoryError: Java heap space

      And similar errors.

      I tried many ways to fix it but none of them helped. I tried reinstalling Minecraft, Java, Windows, changing the DNS server, another Wi-Fi, playing without mods on vanilla (before that I played with Optifine, Litematica, Plasmo voice, Replay mod and several auxiliary mods (fabric)). Nothing helps. this happens on all servers.

      I also noticed the following:

      • there are no problems in the single player
      • on the server, where only I am online, there are no problems either
      • when I stand afk, I will not be disconnected
      • disconnect very often when I teleport between worlds
      • when i have high ping i don't get these errors

      I really hope for your help, because this problem does not allow me to play my favorite game comfortably.

        1. 2022-07-29_16.12.39.png
          2022-07-29_16.12.39.png
          115 kB
        2. 2022-07-29_17.18.54.png
          2022-07-29_17.18.54.png
          114 kB
        3. 2022-07-29_17.37.33.png
          2022-07-29_17.37.33.png
          117 kB
        4. 2022-07-30_13.38.45.png
          2022-07-30_13.38.45.png
          115 kB
        5. 2022-07-30_20.51.28.png
          2022-07-30_20.51.28.png
          115 kB
        6. 2022-07-30_21.05.13.png
          2022-07-30_21.05.13.png
          115 kB

            Unassigned Unassigned
            LaMMerT LaMMerT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: