Litarvan / OpenAuth

Java Yggdrasil library.
GNU General Public License v3.0
161 stars 30 forks source link

java.io.FileNotFoundException:https://api.minecraftservices.com/minecraft/profile #45

Open batuerk opened 6 months ago

batuerk commented 6 months ago

java.lang.RuntimeException: java.io.FileNotFoundException: https://api.minecraftservices.com/minecraft/profile at fr.litarvan.openauth.microsoft.HttpClient.readResponse(HttpClient.java:147) at fr.litarvan.openauth.microsoft.HttpClient.readJson(HttpClient.java:100) at fr.litarvan.openauth.microsoft.HttpClient.getJson(HttpClient.java:61) at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithTokens(MicrosoftAuthenticator.java:225) at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithCredentials(MicrosoftAuthenticator.java:115) at net.minecraft.client.Minecraft.startGame(Minecraft.java:574) at net.minecraft.client.Minecraft.run(Minecraft.java:408) at net.minecraft.client.main.Main.main(Main.java:113) at Start.main(Start.java:22) Caused by: java.io.FileNotFoundException: https://api.minecraftservices.com/minecraft/profile at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1964) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1959) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1958) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1528) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1512) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268) at fr.litarvan.openauth.microsoft.HttpClient.readResponse(HttpClient.java:114) ... 9 more Caused by: java.io.FileNotFoundException: https://api.minecraftservices.com/minecraft/profile at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1910) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1512) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3095) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderField(HttpsURLConnectionImpl.java:305) at fr.litarvan.openauth.microsoft.HttpClient.readResponse(HttpClient.java:105) ... 9 more