craftaro / ServerJars-Updater

35 stars 12 forks source link

Unable to download 1.8.8 Paper #36

Open DartPower opened 11 months ago

DartPower commented 11 months ago

Using latest ServerJars

serverjars.properties

version=1.8
type=paper
category=servers
useHomeDirectory=false

P.S. I'm also tried 1.8.8

error:

DEBUG: Initializing configuration...
DEBUG: Loading paper (servers), version: 1.8...
DEBUG: Fetching details...
DEBUG: java.io.IOException: Server returned HTTP response code: 403 for URL: https://serverjars.com/api/fetchDetails/servers/paper/1.8
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
        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:1967)
        at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1962)
        at java.security.AccessController.doPrivileged(AccessController.java:-2)
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1961)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1521)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1505)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
        at com.songoda.serverjars.utils.OnlineRequest$Response.<init>(OnlineRequest.java:60)
        at com.songoda.serverjars.utils.OnlineRequest.connect(OnlineRequest.java:34)
        at com.songoda.serverjars.utils.Utils.getJarDetails(Utils.java:297)
        at com.songoda.serverjars.utils.Utils.getJarDetails(Utils.java:316)
        at com.songoda.serverjars.ServerJars.setupEnv(ServerJars.java:230)
        at com.songoda.serverjars.ServerJars.main(ServerJars.java:60)

Could not fetch jar details for the given version '1.8'. Using latest...
DEBUG: Loading paper (servers), version: latest...
DEBUG: Fetching details...
DEBUG: java.io.IOException: Server returned HTTP response code: 403 for URL: https://serverjars.com/api/fetchDetails/servers/paper/latest
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
        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:1967)
        at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1962)
        at java.security.AccessController.doPrivileged(AccessController.java:-2)
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1961)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1521)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1505)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
        at com.songoda.serverjars.utils.OnlineRequest$Response.<init>(OnlineRequest.java:60)
        at com.songoda.serverjars.utils.OnlineRequest.connect(OnlineRequest.java:34)
        at com.songoda.serverjars.utils.Utils.getJarDetails(Utils.java:297)
        at com.songoda.serverjars.utils.Utils.getJarDetails(Utils.java:316)
        at com.songoda.serverjars.ServerJars.setupEnv(ServerJars.java:230)
        at com.songoda.serverjars.ServerJars.setupEnv(ServerJars.java:238)
        at com.songoda.serverjars.ServerJars.main(ServerJars.java:60)

Could not find a suitable jar for you to use. Checking for cached jars...
DEBUG: Fetching details from cache for paper (servers) version latest...
DEBUG: Found cached details for version 1.12.2.
Found paper-1.12.2.jar in the cache directory. Using this jar.
DEBUG: Fetching details...
DEBUG: java.io.IOException: Server returned HTTP response code: 403 for URL: https://serverjars.com/api/fetchDetails/servers/paper/latest
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
        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:1967)
        at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1962)
        at java.security.AccessController.doPrivileged(AccessController.java:-2)
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1961)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1521)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1505)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
        at com.songoda.serverjars.utils.OnlineRequest$Response.<init>(OnlineRequest.java:60)
        at com.songoda.serverjars.utils.OnlineRequest.connect(OnlineRequest.java:34)
        at com.songoda.serverjars.utils.Utils.getJarDetails(Utils.java:297)
        at com.songoda.serverjars.utils.Utils.getJarDetails(Utils.java:316)
        at com.songoda.serverjars.utils.Utils.downloadJar(Utils.java:112)
        at com.songoda.serverjars.ServerJars.setupEnv(ServerJars.java:274)
        at com.songoda.serverjars.ServerJars.setupEnv(ServerJars.java:238)
        at com.songoda.serverjars.ServerJars.main(ServerJars.java:60)

Error while fetching the jar details! Please try again later.
DEBUG: Updating cache for current settings...
DEBUG: Fetching details...
DEBUG: java.io.IOException: Server returned HTTP response code: 403 for URL: https://serverjars.com/api/fetchDetails/servers/paper/latest
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
        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:1967)
        at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1962)
        at java.security.AccessController.doPrivileged(AccessController.java:-2)
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1961)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1521)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1505)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
        at com.songoda.serverjars.utils.OnlineRequest$Response.<init>(OnlineRequest.java:60)
        at com.songoda.serverjars.utils.OnlineRequest.connect(OnlineRequest.java:34)
        at com.songoda.serverjars.utils.Utils.getJarDetails(Utils.java:297)
        at com.songoda.serverjars.utils.Utils.updateCache(Utils.java:202)
        at com.songoda.serverjars.ServerJars.main(ServerJars.java:67)

ServerJars could not be reached...

Attempting to load last working Jar.

All attempts to run failed...

Make sure that you're running a valid jar and version. You can use '--sj.debug' to find more information about this error.

And... i don't have a "cache" folder in this server folder, and don't have cached 1.12.2, this is strange