ModManager icon indicating copy to clipboard operation
ModManager copied to clipboard

[BUG] Mod updates stuck; infinite loading bar.

Open Konglomneshued opened this issue 2 years ago • 4 comments

Describe the bug Happens 99% of the time I try to update mods. It will just sit there and not complete the update. It downloads an empty jar file which I have to delete or my Minecraft will crash at launch.

When updating Fabric api from 50.0 to 51.1

Unkown error during the update process: xyz.deathsgun.modmanager.api.http.HttpClient$InvalidStatusCodeException: Received invalid status code: 403

Here is the error in my log

[19:00:04] [DefaultDispatcher-worker-8/INFO]: Updating Fabric API
[19:00:04] [DefaultDispatcher-worker-8/INFO]: Error while deleting C:\Users\untitled(1)\AppData\Roaming\MultiMC\instances\Magic\.minecraft\mods\fabric-api-0.50.0+1.18.2.jar trying on restart again
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: xyz.deathsgun.modmanager.api.http.HttpClient$InvalidStatusCodeException: Received invalid status code: 403
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at xyz.deathsgun.modmanager.api.http.HttpClient.download(HttpClient.kt:48)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at xyz.deathsgun.modmanager.update.UpdateManager.installVersion(UpdateManager.kt:302)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at xyz.deathsgun.modmanager.update.UpdateManager.updateMod(UpdateManager.kt:340)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at xyz.deathsgun.modmanager.update.UpdateManager.updateMod$default(UpdateManager.kt:329)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at xyz.deathsgun.modmanager.gui.ModProgressScreen.updateMod(ModProgressScreen.kt:137)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at xyz.deathsgun.modmanager.gui.ModProgressScreen.access$updateMod(ModProgressScreen.kt:39)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at xyz.deathsgun.modmanager.gui.ModProgressScreen$init$2.invokeSuspend(ModProgressScreen.kt:69)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
[19:00:08] [DefaultDispatcher-worker-8/INFO]: [STDERR]: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
[19:00:08] [DefaultDispatcher-worker-8/ERROR]: modmanager.error.unknown.update

Konglomneshued avatar Apr 23 '22 19:04 Konglomneshued

This is cloudflare https://discord.com/channels/734077874708938864/783153806531100673/964609895947178005 blocking the ModManager user agent which should normally be allowed.

DeathsGun avatar Apr 23 '22 19:04 DeathsGun

Cloudflare on my end

This is cloudflare https://discord.com/channels/734077874708938864/783153806531100673/964609895947178005 blocking the ModManager user agent which should normally be allowed. Cloudflare on my end?

Konglomneshued avatar Apr 24 '22 00:04 Konglomneshued

This is cloudflare https://discord.com/channels/734077874708938864/783153806531100673/964609895947178005 blocking the ModManager user agent which should normally be allowed.

I don't have Cloudflare (in fact I didn't know what that is until now) but I still have the same problem. Edit: The problem auto-solved itself.

MKK4559 avatar May 05 '22 17:05 MKK4559

Will be fixed with Core#1

DeathsGun avatar May 28 '22 16:05 DeathsGun