AMP manager not able to update, can´t upgrade/create instances, Minecraft server Autehntication error

OS Name/Version: Ubuntu 24.04.2

Product Name/Version: AMP version 2.6.2- 20250617.1

Problem Description: I am not able to update nor create any instances, since both options pop this error:

This task could not be completed: Downloading AMP - Fetching v2.6.2.2 (Mainline) - State: 3.
Network is unreachable (cdn-downloads.c7rs.com:443)

The console for my personal Minecraft Java modded server instance throws this errors on start up:

Yggdrasil Key Fetcher/ERROR
Failed to request yggdrasil public key
Console23:46:16
com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server
	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:119) ~[authlib-4.0.43.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:91) ~[authlib-4.0.43.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo.fetch(YggdrasilServicesKeyInfo.java:94) ~[authlib-4.0.43.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo.lambda$get$1(YggdrasilServicesKeyInfo.java:81) ~[authlib-4.0.43.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
	at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.net.SocketException: Network is unreachable
	at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
	at sun.nio.ch.Net.connect(Net.java:589) ~[?:?]
	at sun.nio.ch.Net.connect(Net.java:578) ~[?:?]
	at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583) ~[?:?]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?]
	at java.net.Socket.connect(Socket.java:751) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) ~[?:?]
	at sun.net.NetworkClient.doConnect(NetworkClient.java:178) ~[?:?]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:377) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1298) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1139) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1691) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1615) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223) ~[?:?]
	at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:140) ~[authlib-4.0.43.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:96) ~[authlib-4.0.43.jar:?]
	... 9 more

When I try to join the server:
In my client, i get the screen saying: “Authentication servers are down. Please try again later, sorry”
In my server console i get:


Disconnecting com.mojang.authlib.GameProfile@4e41f635[id=<null>,name=Snaggingchart,properties={},legacy=false]: (/192.168.1.231:41834): Authentication servers are down. Please try again later, sorry!
User Authenticator #1/ERROR

Couldn't verify username because servers are unavailable
Server thread/INFO

com.mojang.authlib.GameProfile@4e41f635[id=<null>,name=Snaggingchart,properties={},legacy=false]: (/192.168.1.231:41834) lost connection: Authentication servers are down. Please try again later, sorry!

When trying to update instances through cmd commands:

SocketException
[1] (SocketException) : Network is unreachable
   at Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
   at Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ConnectAsync(Socket socket)
   at Net.Sockets.Socket.ConnectAsync(EndPoint remoteEP, CancellationToken cancellationToken)
   at ModuleShared.Utilities.<>c.<<-cctor>b__39_1>d.MoveNext()
   at ModuleShared.Utilities.<>c.<<-cctor>b__39_1>d.MoveNext()
   at Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
Download failed, retrying (attempt 3 of 5)...

Steps to reproduce:

  • Step 1: Try to update any instance
  • Step 2: Try to create instances
  • Step 3: Try to update AMP manager

Actions taken to resolve so far (not in any particular order):

1.- I tried to update AMP manager directly in the server comand console through ssh, it says that I already have the 2.6.2.2 version installed, even though the website for AMP says I still have the 2.6.2 version, updating through the site just leads to AMP not being available, waiting does not fix the problem, requieres system restart to fix.

Currently running version 2.6.2 - 20250617.1

An AMP Update is Available: 2.6.2.2 - 20250706.1

2.- Attempting to update specific instances throws the same error multiple (Attempt x of 5) times on the command console, I used the instructions specified here: How to update AMP to the latest version

3.- I used to have DHCP active on my server, which I changed recently, it now has an static IP, and uses the Google 8.8.8.8, 8.8.4.4 DNS server, changing the DNS server didn´t change anything. When I installed AMP for the first time I had a different IP, which I noticed was still registered in the following settings:

  • In Configuration>Instance Deployment>Networking: I changed the “Default AMP IP Binding” setting, It had selected the Loopback options, tried setting it to my servers name and IP, nothing changed
  • In Configuration>Instance Deployment>Networking: I changed the “IP Address pool” since it showed my IP from when I first installed AMP, it now has my current IPv4 and IPv6 IPs

4.- I have also tried different mod versions on my server and nothing seems to change regarding connection issues

5.- I tried to change my DNS server, from google to quad9 and back to google, no changes.

6.- Router restart and plenty of server restarts

7.- Tried the repair button on the Datastores tab

The issue is not with Mojang either since it´s already been 4 days since this started happening

I am however able to join into other instances of minecraft java with mods too (albeit different ones), it´s only this instance which throws this error, but it´s all of them not being able to update at all.

It’s telling you what’s wrong. Try ping -4 google.com and ping -6 google.com and see which fail.

Thanks for the reply, it seems to be -4 google.com

What would be the next step?

Solved: I had incorrectly set my netplan configuration, IPv6 was available but IPv4 wasnt, causing the Network not reachable error.

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