Server cannot send GET requests to anything (including auth servers)

I'm running a 1.20.1 Modded server off of a spare linux box, for me and some friends. The server has been running fine for about half a year, until I moved the server from my dad's house to mine (as he had been babysitting it for me, while I was in an apartment complex and couldn't port forward). I copied over the portforwarding rules from his router to mine (both of us use TP Deco mesh routers), plugged in my server to ethernet, and was able to see the MOTD both from within my local client and from https://mcsrvstat.us/ . However, whenever I try to join the server, I get an "auth servers are down" error. Looking at the logs, the server doesn't seem to see my initial connection attempt, but when my client shows the auth servers down error, the log says (with identifying info removed):
[17:49:52] [User Authenticator #2/INFO] [minecraft/ServerLoginPacketListenerImpl]: Disconnecting com.mojang.authlib.GameProfile@[PROFILE_ID][id=<null>,name=[MY USERNAME],properties={},legacy=false] (/[MY IP ADDRESS]:56087): Authentication servers are down. Please try again later, sorry!
[17:49:52] [User Authenticator #2/ERROR] [minecraft/ServerLoginPacketListenerImpl]: Couldn't verify username because servers are unavailable
[17:49:52] [Server thread/INFO] [minecraft/ServerLoginPacketListenerImpl]: com.mojang.authlib.GameProfile@[PROFILE_ID][id=<null>,name=[MY USERNAME],properties={},legacy=false] (/[MY IP ADDRESS]:56087) lost connection: Authentication servers are down. Please try again later, sorry!
[17:49:52] [User Authenticator #2/INFO] [minecraft/ServerLoginPacketListenerImpl]: Disconnecting com.mojang.authlib.GameProfile@[PROFILE_ID][id=<null>,name=[MY USERNAME],properties={},legacy=false] (/[MY IP ADDRESS]:56087): Authentication servers are down. Please try again later, sorry!
[17:49:52] [User Authenticator #2/ERROR] [minecraft/ServerLoginPacketListenerImpl]: Couldn't verify username because servers are unavailable
[17:49:52] [Server thread/INFO] [minecraft/ServerLoginPacketListenerImpl]: com.mojang.authlib.GameProfile@[PROFILE_ID][id=<null>,name=[MY USERNAME],properties={},legacy=false] (/[MY IP ADDRESS]:56087) lost connection: Authentication servers are down. Please try again later, sorry!
I don't know whether it's a red herring or not, but I'm hosting it on port 25555, not 56087 but am unsure if it trying to communicate to my ip via that port is normal or not. Looking at the logs, I also noticed that any mod that's trying to run a version check (or patreon check) is failing (message got too long, see reply). I've never seen anything like this in my years of hosting modded servers. Any ideas?
22 Replies
Admincraft Meta
Admincraft Metaβ€’3mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by dakewlmanjack#0
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
[17:37:30] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [supplementaries] Starting version check at https://raw.githubusercontent.com/MehVahdJukaar/Supplementaries/1.20/forge/update.json
[17:37:45] [Forge Version Check/WARN] [ne.mi.fm.VersionChecker/]: Failed to process update information
java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:567) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:119) ~[java.net.http:?] {}
at net.minecraftforge.fml.VersionChecker$1.openUrlString(VersionChecker.java:139) ~[fmlcore-1.20.1-47.3.0.jar%23614!/:?] {}
at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:177) ~[fmlcore-1.20.1-47.3.0.jar%23614!/:?] {}
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}
at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:114) ~[fmlcore-1.20.1-47.3.0.jar%23614!/:?] {}
Caused by: java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at jdk.internal.net.http.ResponseTimerEvent.handle(ResponseTimerEvent.java:68) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline(HttpClientImpl.java:1270) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:899) ~[java.net.http:?] {}
Caused by: java.net.ConnectException: HTTP connect timed out
at jdk.internal.net.http.ResponseTimerEvent.handle(ResponseTimerEvent.java:69) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline(HttpClientImpl.java:1270) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:899) ~[java.net.http:?] {}
[17:37:30] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [supplementaries] Starting version check at https://raw.githubusercontent.com/MehVahdJukaar/Supplementaries/1.20/forge/update.json
[17:37:45] [Forge Version Check/WARN] [ne.mi.fm.VersionChecker/]: Failed to process update information
java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:567) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:119) ~[java.net.http:?] {}
at net.minecraftforge.fml.VersionChecker$1.openUrlString(VersionChecker.java:139) ~[fmlcore-1.20.1-47.3.0.jar%23614!/:?] {}
at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:177) ~[fmlcore-1.20.1-47.3.0.jar%23614!/:?] {}
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}
at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:114) ~[fmlcore-1.20.1-47.3.0.jar%23614!/:?] {}
Caused by: java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at jdk.internal.net.http.ResponseTimerEvent.handle(ResponseTimerEvent.java:68) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline(HttpClientImpl.java:1270) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:899) ~[java.net.http:?] {}
Caused by: java.net.ConnectException: HTTP connect timed out
at jdk.internal.net.http.ResponseTimerEvent.handle(ResponseTimerEvent.java:69) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline(HttpClientImpl.java:1270) ~[java.net.http:?] {}
at jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:899) ~[java.net.http:?] {}
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
Can a computer on the same network manually send a Get request to the auth server?
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
doesn't seem like it...
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
This is the GET error message I got from python; seems like I can't even see the domain
No description
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
I can, however, send a GET request to any of the mods' version check URLs
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
No description
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
are the auth servers just down? or am I doing something wrong here πŸ˜‚ (running an nslookup on my IP returns the expected info, btw; assumed you wanted me to look up the authservers)
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
interesting, doesnt seem like im affected if the auth servers are indeed down i mean you look it up on your local machine
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
oh, duh! Been a long day
No description
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
Do I have the right domain?
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
I think its indeed authserver.mojang.com
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
seems like they use cloudfront's cdn network
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
huh. What are the implications of that?
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
dominic@MainDesktop:~$ nslookup authserver.mojang.com
Server: 10.255.255.254
Address: 10.255.255.254#53

Non-authoritative answer:
authserver.mojang.com canonical name = d1fw3h4w8htlic.cloudfront.net.
dominic@MainDesktop:~$ nslookup authserver.mojang.com
Server: 10.255.255.254
Address: 10.255.255.254#53

Non-authoritative answer:
authserver.mojang.com canonical name = d1fw3h4w8htlic.cloudfront.net.
you are indeed having a very weird issue that aside, try running a completely vanilla server and see if that works
Dakewlmanjack
DakewlmanjackOPβ€’3mo ago
ok, setting one up now. Is the inability for the server to get mod version info related, or something else?
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
i do not know, send the complete logs via mclo.gs
Dakewlmanjack
DakewlmanjackOPβ€’2mo ago
Vanilla server (same port) works fine For anyone else who encounters this: I did a full reinstall of Ubuntu and puffer panel, then put my backed up server files (world, mods, config) into a fresh server on the new installation !solved

Did you find this page helpful?