Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Error while downloading loader #34

Open
clubby789 opened this issue May 25, 2021 · 9 comments
Open

HTTP Error while downloading loader #34

clubby789 opened this issue May 25, 2021 · 9 comments

Comments

@clubby789
Copy link

I downloaded the All The Mods 6 installer from https://www.curseforge.com/minecraft/modpacks/all-the-mods-6/files/3315532. The modpack downloads correctly, but every time it attempts to install the loader this error is thrown:

[11:52:15] [ERROR] Problem while installing Loader

        at okhttp3.internal.http2.Http2Stream.takeResponseHeaders(Http2Stream.java:153)
        at okhttp3.internal.http2.Http2Codec.readResponseHeaders(Http2Codec.java:125)
        at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
        at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
        at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
        at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
        at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
        at okhttp3.RealCall.execute(RealCall.java:77)
        at atm.bloodworkxgaming.serverstarter.InternetManager.downloadToFile(InternetManager.kt:51)
        at atm.bloodworkxgaming.serverstarter.LoaderManager.installLoader(LoaderManager.kt:115)
        at atm.bloodworkxgaming.serverstarter.ServerStarter.startLoading(ServerStarter.kt:168)
        at atm.bloodworkxgaming.serverstarter.ServerStarterKt.main(ServerStarter.kt:203)

I'm able to download the file manually from the given URL (http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.23/forge-1.16.5-36.1.23-installer.jar)

@f1nalspace
Copy link

f1nalspace commented May 31, 2021

I have the exact same problem, but with a different pack (https://www.curseforge.com/minecraft/modpacks/seaopolis/files/3328337). How can i manually install forge?

Downloading using wget (http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.16/forge-1.16.5-36.1.16-installer.jar) works fine.

Do i just execute the -installer.jar inside or outside the mods/ folder?

@BloodWorkXGaming
Copy link
Member

please test it with the newly released version :)
Also maybe add a https to the front of the link (http -> https)

@f1nalspace
Copy link

please test it with the newly released version :)
Also maybe add a https to the front of the link (http -> https)

Same problem with B5.5:

[18:41:04] [INFO] Attempting to download installer from http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.16/forge-1.16.5-36.1.16-installer.jar
[18:41:05] [ERROR] Problem while installing Loader

okhttp3.internal.http2.StreamResetException: stream was reset: PROTOCOL_ERROR
at okhttp3.internal.http2.Http2Stream.takeResponseHeaders(Http2Stream.java:153)
at okhttp3.internal.http2.Http2Codec.readResponseHeaders(Http2Codec.java:125)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
at okhttp3.RealCall.execute(RealCall.java:77)
at atm.bloodworkxgaming.serverstarter.InternetManager.downloadToFile(InternetManager.kt:51)
at atm.bloodworkxgaming.serverstarter.LoaderManager.installLoader(LoaderManager.kt:115)
at atm.bloodworkxgaming.serverstarter.ServerStarter.startLoading(ServerStarter.kt:168)
at atm.bloodworkxgaming.serverstarter.ServerStarterKt.main(ServerStarter.kt:203)

@BloodWorkXGaming
Copy link
Member

BloodWorkXGaming commented Jun 1, 2021 via email

@f1nalspace
Copy link

Sorry, that's not what I meant. I released a new Version of the server starter (in this repo under Releases). Please replace the server starter files from your modpack with the new ones except the config file

________________________________ From: Finalspace @.> Sent: Tuesday, June 1, 2021 6:42:23 PM To: BloodyMods/ServerStarter @.> Cc: Jonas @.>; Comment @.> Subject: Re: [BloodyMods/ServerStarter] HTTP Error while downloading loader (#34) please test it with the newly released version :) Also maybe add a https to the front of the link (http -> https) Same problem with B5.5: [18:41:04] [INFO] Attempting to download installer from http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.16/forge-1.16.5-36.1.16-installer.jar [18:41:05] [ERROR] Problem while installing Loader okhttp3.internal.http2.StreamResetException: stream was reset: PROTOCOL_ERROR at okhttp3.internal.http2.Http2Stream.takeResponseHeaders(Http2Stream.java:153) at okhttp3.internal.http2.Http2Codec.readResponseHeaders(Http2Codec.java:125) at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at atm.bloodworkxgaming.serverstarter.InternetManager.downloadToFile(InternetManager.kt:51) at atm.bloodworkxgaming.serverstarter.LoaderManager.installLoader(LoaderManager.kt:115) at atm.bloodworkxgaming.serverstarter.ServerStarter.startLoading(ServerStarter.kt:168) at atm.bloodworkxgaming.serverstarter.ServerStarterKt.main(ServerStarter.kt:203) — You are receiving this because you commented. Reply to this email directly, view it on GitHub<#34 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6CSZQ3KI4FGJGJDAHG2NDTQUEW7ANCNFSM45PC5PKA.

Ah ok, i will give it a try for the next update of the pack. Right now it works just fine, i simply run your installer and then forge manually. Magically it works :D

@f1nalspace
Copy link

I upgraded to latest seaopolis 1.5 and upgrade the serverstarter to 2.1.0 as well.
Same issue, crashes when trying to download forge:

[12:47:05] [INFO] Attempting to download installer from https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.16/forge-1.16.5-36.1.16-installer.jar
[12:47:06] [ERROR] Problem while installing Loader from https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.16/forge-1.16.5-36.1.16-installer.jar

okhttp3.internal.http2.ConnectionShutdownException
        at okhttp3.internal.http2.Http2Connection.newStream(Http2Connection.kt:246)
        at okhttp3.internal.http2.Http2Connection.newStream(Http2Connection.kt:225)
        at okhttp3.internal.http2.Http2ExchangeCodec.writeRequestHeaders(Http2ExchangeCodec.kt:76)
        at okhttp3.internal.connection.Exchange.writeRequestHeaders(Exchange.kt:59)
        at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:36)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhtt

The only way to get this working is to manually installing forge - unfortunatly.

@problematiq
Copy link

Has anyone figured this out?
Still getting this issue.

@problematiq
Copy link

Switching to Java 17 fixes this issue.

@Allariah
Copy link

Allariah commented Apr 4, 2022

Switching to Java 17 fixes this issue.

Confirmed, this also fixed the issue for me. I was on the LTS release previously.

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

No branches or pull requests

5 participants