System Information
| Field | Value |
|---|---|
| Operating System | Linux - Debian GNU/Linux 13 on x86_64 |
| Product | AMP ‘Deimos’ v2.7.2.4 (Mainline) |
| Virtualization | Podman |
| Application | Minecraft |
| Module | MinecraftModule |
| Running in Container | Yes |
| Current State | Ready |
Problem Description
Issue
server was working fine last night. I tried to connect today and i keep getting this error “Authentication servers are down. Please try again later”. and this in the console:
Disconnecting Toeten (/192.168.50.1:49360): Authentication servers are down. Please try again later. Sorry!
Couldn’t verify username because servers are unavailable
Toeten (/192.168.50.1:49360) lost connection: Authentication servers are down. Please try again later. Sorry!
it also did it yesterday, but i was starting and restarting the server and it randomly worked. I also am randomly getting an error saying i cant update the server for some reason. No changed from when it was working, just stopped working yesterday and today.
I have been having issues with amp not wanting to use the right version of java, tried using paper, but just settled for the vanilla launcher as it was the only one that worked with a fresh install of debian and amp. not sure if its a jdk issue or not
Reproduction Steps
- stop and restarted server
- check port forward settings are working in the router
- tried updating server
Starting net.minecraft.server.Main
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/AMP/Minecraft/libraries/net/java/dev/jna/jna/5.17.0/jna-5.17.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by org.joml.MemUtil$MemUtilUnsafe (file:/AMP/Minecraft/libraries/org/joml/joml/1.10.8/joml-1.10.8.jar)
WARNING: Please consider reporting this to the maintainers of class org.joml.MemUtil$MemUtilUnsafe
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, profilesHost=https://api.mojang.com, name=PROD]
Failed to request yggdrasil public key
com.mojang.authlib.exceptions.MinecraftClientException: Failed to read from https://api.minecraftservices.com/publickeys due to api.minecraftservices.com
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:111)
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:56)
at com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo.fetch(YggdrasilServicesKeyInfo.java:114)
at com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo$1.run(YggdrasilServicesKeyInfo.java:89)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:309)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.net.UnknownHostException: api.minecraftservices.com
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:569)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:284)
at java.base/java.net.Socket.connect(Socket.java:659)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:161)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:516)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:604)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:206)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:288)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1008)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:899)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1377)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1302)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:493)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:307)
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:82)
... 9 more
Loaded 1515 recipes
Loaded 1617 advancements
Starting minecraft server version 26.1.2
Loading properties
Default game type: SURVIVAL
Generating keypair
Starting Minecraft server on 0.0.0.0:25565
Preparing level "world"
Loading 0 persistent chunks...
Time elapsed: 12 ms
Done (0.303s)! For help, type "help"
Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
ThreadedAnvilChunkStorage (world): All chunks are saved
ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
ThreadedAnvilChunkStorage (DIM1): All chunks are saved
ThreadedAnvilChunkStorage: All dimensions are saved
Disconnecting Toeten (/192.168.50.1:50181): Authentication servers are down. Please try again later. Sorry!
Couldn't verify username because servers are unavailable
Toeten (/192.168.50.1:50181) lost connection: Authentication servers are down. Please try again later. Sorry!
Unknown or incomplete command. See below for error
tps<--[HERE]
this is the full startup log
Update: used powershell and restarted amp and it fixed the problem for now