Minecraft - Sleep button spins but application remains active

System Information

Field Value
Operating System Linux - Ubuntu 22.04.3 on x86_64
Product AMP ‘Decadeus’ v2.4.6.10 (Mainline)
Virtualization Xen
Application Minecraft
Module MinecraftModule
Running in Container No
Current State Ready

Task

Trying to put Minecraft instance to sleep.

Problem Description

Issue

Yesterday, I created a separate Minecraft instance to run on a different port and, afterwards, the sleep function stopped working. I was also messing around with the server settings on both. Specifically, I noticed that the level seed kept resetting back to CubeCodersPowered and I wanted it to be random (blank). I did perform a manual configuration import from File Manager and that may have contributed to the issue.

I took a look at the logs and have pasted the relevant sections here: AMP Sleep Error - Pastebin.com. I was looking at the discord and this seems to happen when running a forge server, but both of these are vanilla.

To troubleshoot, I have already tried deleting all Minecraft instances and creating a new one, but it still has the same issue.

Reproduction Steps

  • Created a second Minecraft instance to run on a new port.
  • Edited the level seed and server ip settings and performed a manual import from server-properties in File Manager
  • Sleep button no longer functions, even after deleting and recreating instance.
1 Like

What server type? Sleep mode doesn’t work with most modded setups.

Server type is official. No mods installed.

Oh my bad lol, I can’t read.
What version of MC is it? Seems like it’s erroring out when getting the protocol data

I would like to join in on this as well. I have the exact same problem as spookieghst
Vanilla Minecraft 1.20.4. no mods or plugins.
Log: Sleep - Pastebin.com

┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Key                  ┃ Value                               ┃
┣━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Operating System     ┃ Linux - Ubuntu 20.04.6 on x86_64    ┃
┃ Product              ┃ AMP 'Decadeus' v2.4.6.10 (Mainline) ┃
┃ Virtualization       ┃ QEMU_KVM                            ┃
┃ Application          ┃ Minecraft                           ┃
┃ Module               ┃ MinecraftModule                     ┃
┃ Running in Container ┃ No                                  ┃
┃ Current State        ┃ Stopped                             ┃
┗━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Version is 1.20.4, which I believe is the latest. Is it possible it has something to do with a recent update? I was thinking it’s a possibility when the issue persisted after deleting the instance and making a new one.

Could be possible that something changed in 1.20.4 yeah, I’ll fiddle around and see if I can replicate the behavior on my setup

I have tested an AMP installation on a Windows system just to see if it works there. (freshly installed)
Sleep mode also does not work there. (with vanilla Minecraft 1.20.4) Sleep² - Pastebin.com

1.20.2, on the other hand, works without any problems.

┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Key                  ┃ Value                                   ┃
┣━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Operating System     ┃ Windows - Windows Server 2016 on x86_64 ┃
┃ Product              ┃ AMP 'Decadeus' v2.4.6.10 (Mainline)     ┃
┃ Virtualization       ┃ VMware                                  ┃
┃ Application          ┃ Minecraft                               ┃
┃ Module               ┃ MinecraftModule                         ┃
┃ Running in Container ┃ No                                      ┃
┃ Current State        ┃ Stopped                                 ┃
┗━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Yeah, got the chance to double check it on my end and it looks like it borks out.
Tested against a few different server types and wrote up a GitHub issue:

1 Like

Curious if there is any fix coming down the pipe for this?

Yeah, just gotta wait till something’s out

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.