Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Error 403 when trying to download any modpack #26

Closed
lordoflife opened this issue Sep 14, 2017 · 0 comments
Closed

Error 403 when trying to download any modpack #26

lordoflife opened this issue Sep 14, 2017 · 0 comments

Comments

@lordoflife
Copy link

lordoflife commented Sep 14, 2017

$ java -jar cmpdl-1.1.3.jar https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded

~ Starting magical modpack download sequence ~
Input URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded
Input Version: latest
File URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded/files/latest
Final URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded/files/latest?cookieTest=1
Modpack filename is latest?cookieTest=1
CMPDL Temp Dir is /home/noctua/.cmpdl_temp
Modpack temporary directory is /home/noctua/.cmpdl_temp/latest?cookieTest=1
Downloading zip file latest?cookieTest=1.zip
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 403 for URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded/files/latest?cookieTest=1
at vazkii.cmpdl.CMPDL.main(CMPDL.java:49)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded/files/latest?cookieTest=1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at java.net.URL.openStream(URL.java:1045)
at vazkii.cmpdl.CMPDL.downloadFileFromURL(CMPDL.java:369)
at vazkii.cmpdl.CMPDL.setupModpackMetadata(CMPDL.java:167)
at vazkii.cmpdl.CMPDL.downloadFromURL(CMPDL.java:99)
at vazkii.cmpdl.CMPDL.main(CMPDL.java:47)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant