Connectivity Problem with Minecraft - connection error with encryption

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.4.0 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

lost connection: Internal Exception: io.netty.handler.codec.EncoderException: Failed to encode packet ‘clientbound/minecraft:custom_payload’ (configured:session_data)

Reproduction Steps

  • Added mods to the server
  • throubleshot mods that were acting up
  • re-uploaded new set of mods from the mods folder from the pack I created
  • tried joining server
  • got an error code (detailed description)
  • re-did steps 2-4