Connectivity Problem with Minecraft - The server would disconnect and restart on its own

System Information

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

Problem Description

Issue

We would play for a few minutes and randomly it would say connection lost and the server restarts on its own sending us back around roughly 5 minutes to where we were last playing, it happened roughly ever 2 hours at first but now 3 times in the last 15 minutes

Reproduction Steps

  • We connect
  • Play for 5-30 minutes
  • The server disconnects us and restarts on its own

Your best bet is to read the log to see what happened