Update Failure with Minecraft - Can not install any Minecraft version

System Information

Field Value
Operating System Linux - Ubuntu 24.04 on x86_64
Product AMP ‘Callisto’ v2.5.1.6 (Mainline)
Virtualization None
Application Minecraft
Module MinecraftModule
Running in Container No
Current State Installing

Problem Description

Issue

After selecting forge, Or any version of minecraft Pupur, Vanilla, Etc the forge version shows a blank box then we get an error “task Failed” Download / Update failed: Update is not yet available, please wait a minute and try again. This error happens multiple times, Even when waiting 30 + minutes. Another error we get is Download / Update Failed: Couldn’t Determine the URL to fetch an update from you may need to install this server type manually,

Reproduction Steps

  • Pick Minecraft Java
  • Going into Minecraft > Server & Start Up
  • Pick Server Type = Forge

Try and stop/start the instance to see if that resolves it, if not then I’d suggest checking the instance’s logs to see if anything’s going wrong (right click the instance and hit View Logs)

We have gone through this in the discord, Didn’t help.

[18:57:59] [Core Info/1]          : Starting AMP version 2.5.1.6 (Callisto), built 16/08/2024 03:11
[18:57:59] [Core Info/1]          : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[18:57:59] [Core Warning/1]       : Current time zone is set to CET - It is recommended you switch to UTC+0 to avoid time-zone related issues
[18:57:59] [Core Info/1]          : OS: Linux / x86_64
[18:57:59] [Core Info/1]          : CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (4C/8T)
[18:57:59] [Core Info/1]          : RAM: 64079MB
[18:57:59] [Core Info/1]          : AMP Instance ID: facf6910-5836-4a50-8ff8-1700de0c294b
[18:57:59] [Loader Info/1]        : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
[18:57:59] [Core Info/1]          : Metrics publishing is enabled at udp://localhost:12820.
[18:57:59] [Loader Info/1]        : Loaded FileManagerPlugin by CubeCoders Limited
[18:57:59] [Loader Info/1]        : Loaded EmailSenderPlugin by CubeCoders Limited
[18:57:59] [Loader Info/1]        : Loaded WebRequestPlugin by CubeCoders Limited
[18:57:59] [Loader Info/1]        : Loaded LocalFileBackupPlugin by CubeCoders Limited
[18:57:59] [Loader Info/1]        : Loaded CommonCorePlugin by CubeCoders Limited
[18:58:00] [Loader Info/1]        : Loaded AnalyticsPlugin by CubeCoders Limited
[18:58:00] [Core Info/1]          : Licence Present: AMP Professional Edition - Lifetime Licence
[18:58:00] [FileManager Notice/1] : No SSH keypair available for embedded server, generating new keypair...
[18:58:00] [FileManager Notice/1] : Generated new keypair with fingerprint BkabhZZy9T4xpwhBckGcbqGWomkhJZ/VXA+2AQBruf0=
[18:58:00] [FileManager Notice/1] : Using keypair with fingerprint BkabhZZy9T4xpwhBckGcbqGWomkhJZ/VXA+2AQBruf0=
[18:58:00] [FileManager Info/1]   : SFTP Server started on 0.0.0.0:2225
[18:58:00] [Webserver Info/1]     : Websockets are enabled.
[18:58:00] [Webserver Info/1]     : Webserver started on http://127.0.0.1:8082
[18:58:00] [Logger Info/16]       : RouterTimer@10Hz with 2 jobs started
[18:58:00] [Core Info/11]         : Checking for AMP updates...
[18:58:00] [Minecraft Info/18]    : Updating Modpack cache for 91 modpacks...
[18:58:00] [Core Info/8]          : AMP is up to date.
[18:58:01] [Core Activity/18]     : Authentication attempt for user Meth from 127.0.0.1
[18:58:01] [Minecraft Info/11]    : Update complete.
[18:58:01] [Core Activity/23]     : Authentication success
[18:58:15] [Minecraft Warning/20] : Unable to get Bedrock version data from https://www.minecraft.net/en-us/download/server/bedrock
[18:58:15] [Core Error/20]        : TaskCanceledException
[18:58:15] [Core Error/20]        : [0] (TaskCanceledException) : The operation was canceled.
[18:58:15] [Core Error/20]        :   at MinecraftModule.UpdateManager.GetBedrockVersion () 
[18:58:15] [Core Error/20]        : ObjectDisposedException
[18:58:15] [Core Error/20]        : [1] (ObjectDisposedException) : Cannot access a disposed object.
Object name: 'MobileAuthenticatedStream'.
[18:58:15] [Core Error/20]        :   at Net.Http.HttpConnection.FillAsync () 
  at Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync (Boolean foldedHeadersAllowed) 
[18:58:15] [Minecraft Info/20]    : Trying first Bedrock info fallback...
[18:58:16] [API:Meth Activity/8]  : Updating the application.
[18:58:16] [Minecraft:Meth Warning/8] : Tried to update, but update data is not yet available. Try later.
[18:58:20] [Minecraft Warning/5]  : Unable to get first fallback Bedrock version data from https://www.minecraft.net/en-us/download/server/bedrock: Match not found.
[18:58:20] [Minecraft Info/5]     : Trying second Bedrock info fallback...
[18:59:11] [API:Meth Activity/5]  : Updating the application.
[18:59:11] [Minecraft:Meth Warning/5] : Tried to update, but update data is not yet available. Try later.
[18:59:34] [API:Meth Activity/27] : Updating the application.
[18:59:34] [Minecraft:Meth Warning/27] : Tried to update, but update data is not yet available. Try later.
[18:59:53] [API:Meth Activity/6]  : Updating the application.
[18:59:53] [Minecraft:Meth Warning/6] : Tried to update, but update data is not yet available. Try later.
[19:00:14] [Minecraft Warning/14] : Unable to get Purpur version data from https://api.purpurmc.org/v2/purpur
[19:00:14] [Minecraft Warning/26] : Unable to get Spigot version data from https://hub.spigotmc.org/versions/
[19:00:14] [Core Error/26]        : OperationCanceledException
[19:00:14] [Core Error/26]        : [0] (OperationCanceledException) : The operation was canceled.
[19:00:14] [Minecraft Warning/21] : Unable to get Fabric version data from https://meta.fabricmc.net/v2/versions
[19:00:14] [Core Error/21]        : OperationCanceledException
[19:00:14] [Core Error/21]        : [0] (OperationCanceledException) : The operation was canceled.
[19:00:14] [Minecraft Warning/10] : Failed to get latest Forge version data from https://maven.minecraftforge.net/net/minecraftforge/forge/maven-metadata.xml
[19:00:14] [Core Error/14]        : OperationCanceledException
[19:00:14] [Core Error/14]        : [0] (OperationCanceledException) : The operation was canceled.
[19:00:14] [Core Error/10]        : OperationCanceledException
[19:00:14] [Core Error/10]        : [0] (OperationCanceledException) : The operation was canceled.
[19:00:14] [Core Error/21]        :   at MinecraftModule.UpdateManager.GetFabricVersions () 
[19:00:14] [Core Error/26]        :   at MinecraftModule.UpdateManager.GetSpigotVersions () 
[19:00:14] [Core Error/14]        :   at MinecraftModule.UpdateManager.GetPurpurVersions () 
[19:00:14] [Core Error/10]        :   at MinecraftModule.UpdateManager.GetForgeUpdateData () 
[19:00:31] [API:Meth Activity/7]  : Updating the application.
[19:00:31] [Minecraft:Meth Warning/7] : Tried to update, but update data is not yet available. Try later.
[19:00:48] [Core Activity/18]     : Authentication attempt for user Meth from 127.0.0.1
[19:00:49] [Core Activity/21]     : Authentication success
[19:01:30] [Core Activity/5]      : Authentication attempt for user Meth from 127.0.0.1
[19:01:30] [Core Activity/10]     : Authentication success
[19:01:39] [API:Meth Activity/27] : Updating the application.
[19:01:39] [Minecraft:Meth Warning/27] : Tried to update, but update data is not yet available. Try later.
[19:01:57] [API:Meth Activity/28] : Updating the application.
[19:01:57] [Minecraft:Meth Warning/28] : Tried to update, but update data is not yet available. Try later.
[19:02:29] [Minecraft Warning/20] : Unable to get Paper version data from https://api.papermc.io/v2/projects/paper
[19:02:29] [Core Error/20]        : OperationCanceledException
[19:02:29] [Core Error/20]        : [0] (OperationCanceledException) : The operation was canceled.
[19:02:29] [Core Error/20]        :   at MinecraftModule.UpdateManager.GetPaperVersions () 
[19:02:32] [API:Meth Activity/25] : Updating the application.
[19:02:32] [Minecraft:Meth Warning/25] : Tried to update, but update data is not yet available. Try later.
[19:02:50] [Minecraft Warning/19] : Unable to get first fallback Bedrock version data from https://www.minecraft.net/en-us/download/server/bedrock
[19:02:50] [Core Error/19]        : OperationCanceledException
[19:02:50] [Core Error/19]        : [0] (OperationCanceledException) : The operation was canceled.
[19:02:50] [Core Error/19]        :   at MinecraftModule.UpdateManager.GetBedrockVersion () 
[19:03:28] [API:Meth Activity/6]  : Updating the application.
[19:03:28] [Minecraft:Meth Warning/6] : Tried to update, but update data is not yet available. Try later.
[19:03:55] [API:Meth Activity/14] : Updating the application.
[19:03:55] [Minecraft:Meth Warning/14] : Tried to update, but update data is not yet available. Try later.
[19:04:11] [API:Meth Activity/5]  : Updating the application.
[19:04:11] [Minecraft:Meth Warning/5] : Tried to update, but update data is not yet available. Try later.
[19:04:23] [API:Meth Activity/5]  : Updating the application.
[19:04:23] [Minecraft:Meth Warning/5] : Tried to update, but update data is not yet available. Try later.
[19:05:43] [API:Meth Activity/20] : Updating the application.
[19:05:43] [Minecraft:Meth Warning/20] : Tried to update, but update data is not yet available. Try later.
[19:06:29] [API:Meth Activity/8]  : Updating the application.
[19:06:29] [Minecraft:Meth Warning/8] : Tried to update, but update data is not yet available. Try later.
[19:07:00] [Minecraft Warning/6]  : Failed to get latest NeoForge version data from https://maven.neoforged.net/releases/net/neoforged/neoforge/maven-metadata.xml
[19:07:00] [Core Error/6]         : OperationCanceledException
[19:07:00] [Core Error/6]         : [0] (OperationCanceledException) : The operation was canceled.

Seems to have been canceled for whatever reason, I’d suggest turning on debug logging in the instance for a better read on things, and check to see if the system’s DNS settings are working correctly.

Yeah this is a straight up network failure that is stopping AMP from getting that data. DNS is usually the place to start.

@CubeCoders-Bot could you give this user a hand at figuring out why AMP can’t talk to the outside world?

Oops, looks like I had a hiccup there. Let’s try to sort this mess out! :sweat_smile:

It seems like AMP can’t reach out to the Minecraft servers to grab the necessary data. DNS issues are a classic culprit here. Before we dive into the logs, let’s double-check a few things. Can you confirm that your server’s DNS settings are correct and that it’s able to reach the internet without a hitch? You might also want to try using a public DNS like Google’s (8.8.8.8) to see if that makes a difference.

Give that a whirl and let me know how it goes!


:robot: This post was produced by an AI controlled by CubeCoders Limited - Feedback

Issue was DNS, Thank yall for the help!

undefined


:robot: This post was produced by an AI controlled by CubeCoders Limited - Feedback