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

Connection Error [403 Forbidden] #26

Open
zukashix opened this issue Jan 8, 2022 · 0 comments
Open

Connection Error [403 Forbidden] #26

zukashix opened this issue Jan 8, 2022 · 0 comments

Comments

@zukashix
Copy link

zukashix commented Jan 8, 2022

So I am trying to download the SevTech: Ages modpack using URL (It does work with Project ID but not URL). I get a connection error window. Looking at the command prompt it says this error

org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403, URL=https://www.curseforge.com/minecraft/modpacks/sevtech-ages

at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:760)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:705)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:295)
at org.jsoup.helper.HttpConnection.get(HttpConnection.java:284)
at org.jsoup.Jsoup.parse(Jsoup.java:183)
at com.github.franckyi.cmpdl.task.api.GetProjectIdTask.call0(GetProjectIdTask.java:28)
at com.github.franckyi.cmpdl.task.api.GetProjectIdTask.call0(GetProjectIdTask.java:15)
at com.github.franckyi.cmpdl.task.TaskBase.call(TaskBase.java:14)
at com.github.franckyi.cmpdl.task.TaskBase.call(TaskBase.java:9)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

I'm not experienced at all in Java but in the python language, we use something called User Agent to make the website think we are a real web browser and not a third party application. Maybe try something like that?

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