GDLauncher icon indicating copy to clipboard operation
GDLauncher copied to clipboard

Updating modpack stuck at downloading mods 0%

Open Jordan231111 opened this issue 3 years ago • 29 comments

Describe the bug Sometimes when updating modpacks, it becomes stuck at downloading mods 0 percent

To Reproduce Steps to reproduce the behavior:

  1. Go to update a modpack to a newer version (happened on multiple modpacks)

  2. Stuck at 0 percent downloading mods

Expected behavior For the Modpack to start updating and downloading the mods

Possible solutions Some ideas of how you would solve this issue, if possible

Screenshots image

Operating System:

  • OS: [e.g. Windows]
  • 10
  • Java Version: 8 and 17
  • Minecraft Version: 1.16.5 and 1.18.1
  • Mod Loader: both forge and fabric

Additional context Add any other context about the problem here.

Jordan231111 avatar Dec 28 '21 02:12 Jordan231111

Could you provide a log? image image

wmboeckman avatar Dec 28 '21 03:12 wmboeckman

I seem to be having the same issue as of now. Just updated AllTheMods 6 from 1.8.15 to 1.8.16.

https://i.imgur.com/RfVbyiy.png

CallMeSage avatar Jan 04 '22 18:01 CallMeSage

Both seem to be Issuers with the GDLauncher api throwing code 400 and 504, failing the download.

Some form of check should be made to be sure that when a file fails to download, it starts over. And (if not already implemented) maybe even compare file checksums to make sure nothing got corrupted.

Best you can do for now is retry the update (maybe even backup the instance to be safe) a few times until it works?

wmboeckman avatar Jan 07 '22 06:01 wmboeckman

I also get 400 / 504 when trying to dowload any mods (valhesia vanilla wnhansed)

Failed to load resource: the server responded with a status of 400 ()
instrument.ts:130 Error: Request failed with status code 400
    at t.exports (createError.js:16)
    at t.exports (settle.js:17)
    at XMLHttpRequest.d.onreadystatechange (xhr.js:62)
    at XMLHttpRequest.n (helpers.ts:88)
(anonymous) @ instrument.ts:130
addons-ecs.forgesvc.net/api/v2/addon/495693/file/3550299:1 Failed to load resource: the server responded with a status of 504 ()
createError.js:16 Uncaught (in promise) Error: Request failed with status code 504
    at t.exports (createError.js:16)
    at t.exports (settle.js:17)
    at XMLHttpRequest.d.onreadystatechange (xhr.js:62)
    at XMLHttpRequest.n (helpers.ts:88)

NicTanghe avatar Jan 10 '22 15:01 NicTanghe

I'm having the same issue,on try download or repair the modpack Odyssey 2,some others modpacks have the same issues here but the lasted is Odyssey 2, i put the full log in the attachment -1642002972698.log

cauanmendonca avatar Jan 12 '22 16:01 cauanmendonca

This seems to be more of a Curseforge issue, sadly. wonder if it's to do with the switch to Overwolf and the new mod policy... image

Alaric323 avatar Jan 14 '22 16:01 Alaric323

Also getting this issue on multiple clients (ATLauncher as well), oddly MultiMC is fine. I did notice going to the URLs failing via Curl does work but takes a good 5 to sometimes 10 seconds and wondering if it is a really small timeout set on the clients. I also could be paranoid but could also be CurseForge silently dropping GDLauncher and ATLauncher requests

Rhodderz avatar Jan 17 '22 19:01 Rhodderz

It happens very frequently too and takes many many tries to update a modpack :/

Jordan231111 avatar Jan 20 '22 22:01 Jordan231111

This seems to be more of a Curseforge issue, sadly. wonder if it's to do with the switch to Overwolf and the new mod policy... image

This is exactly what I get from the console as well.

Kooramah avatar Jan 25 '22 17:01 Kooramah

Same symptoms. Recommended workaround: provide a way to cancel an install/update (potentially rolling back the modpack to the previous state - if there's any - by doing update in temp folder and replacing folders later) For 504 codes, if it appears, sleep a thread for a while, then re-try the download again. I'm pretty sure it could be a badly implemented throttling mechanism.

hron84 avatar Jan 25 '22 23:01 hron84

Still getting this on the TNP 5 pack for 1.18.1

My Log: https://pastebin.com/4K5a15Nn

MokahTGS avatar Jan 28 '22 01:01 MokahTGS

Still not working. I really hope this is on the top priority right now. Friends can't join my server as they are not able to download ANY modpack atm. All packs get stuck to 0%

koskenjuho avatar Feb 03 '22 14:02 koskenjuho

I just use curseforge as an alternative at this point as it can take more than 10 attempts to redownload a modpack

Jordan231111 avatar Feb 03 '22 15:02 Jordan231111

I just use curseforge as an alternative at this point as it can take more than 10 attempts to redownload a modpack

Yeah, that wasn't even enough for my friends. +20 tries and not working. Used multimc to download and copied all the mods and configs to GD launcher folder and now it works.

koskenjuho avatar Feb 03 '22 15:02 koskenjuho

Yeah, I did the CurseForge route as well and copied my instances over...sheesh...please fix.

MokahTGS avatar Feb 03 '22 15:02 MokahTGS

I self-deployed the launcher from the master branch and I have absolutely no problems at all.

thehairy avatar Feb 03 '22 16:02 thehairy

image

help

Jaders2 avatar Feb 03 '22 17:02 Jaders2

I self-deployed the launcher from the master branch and I have absolutely no problems at all.

looking at the recent commits it seems like they are fixing it hope a beta or something comes out soon..

Jordan231111 avatar Feb 04 '22 01:02 Jordan231111

I self-deployed the launcher from the master branch and I have absolutely no problems at all.

looking at the recent commits it seems like they are fixing it hope a beta or something comes out soon..

You can download a build from the master branch here at the bottom.

thehairy avatar Feb 04 '22 09:02 thehairy

Ok thank you this https://github.com/gorilla-devs/GDLauncher/suites/5107500519/artifacts/152971137 works well

Jordan231111 avatar Feb 04 '22 22:02 Jordan231111

it was all working fine yesterday until this morning more 504 errors even in the latest master branch build lol https://paste-bin.xyz/36592 also the whole thing is not working even cant search mods image

Jordan231111 avatar Feb 05 '22 12:02 Jordan231111

Our api server blew up, I’m gonna check what’s wrong in a few hours

blarfoon avatar Feb 05 '22 12:02 blarfoon

Had a similar error except it self-resolved... ironically, at the same time I opened this github page. Same 400 error in the logs.

commandhat avatar Feb 07 '22 22:02 commandhat

Anyone try hitting cancel when it says error can't connect on this message? I did, and it deleted all of my saved games and backups...

Midnex avatar Feb 13 '22 05:02 Midnex

Has anyone found a fix for this temporarily? I haven't had a single successful installation yet. Been trying "multiple times" image

Edit: GDLauncher installed today with latest binary

jkwphysics avatar Feb 25 '22 13:02 jkwphysics

I am getting the same issue. Worked fine a couple days ago with the official release, then that stopped working so I downloaded the build linked in this thread, that hasn't worked for me... any updates on where this is at?

As a note in case it matters, I have tried both downloading directly within the launcher as well as downloading a zip from curseforge's website and then importing that into the launcher but neither have worked. image_2022-02-25_152021

GooberMcNugget avatar Feb 25 '22 21:02 GooberMcNugget

@GooberMcNugget @jkwphysics use the gdlauncher beta for now because the beta use the new curseforge api

AshtakaOOf avatar Feb 25 '22 21:02 AshtakaOOf

@AshtakaOOf Thanks! At least the number gets past zero now!

GooberMcNugget avatar Feb 25 '22 21:02 GooberMcNugget