Minecraft - couldn't connect to server

System Information

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

Task

i was done install my mod (Fabric/dungeon heroes2.18) and trying connect to server but couldn’t get in and get massage “failed to decode packet: 'clientbound/minecraft:recipe”

Problem Description

Issue

Reproduction Steps

  • create instance with fabric mc version 1.21.1
  • setting configure mc and upload modpack (Dungeon Heros RPG )
  • starting server and get massage info "Internal Execption: io.netty.handler.codec.DecoderException: Failed to decode packet ‘clientbound/minecraft:recipe’ "

See this guide here to make sure you’ve set up the modpack correctly:
https://discourse.cubecoders.com/t/setting-up-a-modded-java-minecraft-server/26535