modrinth / minotaur

Gradle plugin for deploying build artifacts to Modrinth.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timeout when uploading a large file.

CreativeMD opened this issue · comments

Describe the bug

If I upload a new version of my mod AmbientSounds (the file is usually around 80MB large) I get an exception:

* What went wrong:
Execution failed for task ':AmbientSounds:AmbientSounds:modrinth'.
> Failed to upload file to Modrinth! java.net.SocketTimeoutException: timeout

The file is still uploaded, but the task is stopped and the uploaded file stays locked.

Steps to reproduce

No response

Expected behavior

Wait till the file is uploaded and unlocks it for further use.
Does not stop the entire task.

Additional context

Gradle file can be found here: https://github.com/CreativeMD/AmbientSounds/blob/1.20/build.gradle

We have identified this as a backend issue when uploading a version to a project with a lot of followers. Thanks for reporting, this will soon be fixed.

This is still affecting regular publish workflows in GitHub, and I have to manually remediate. Any update on this issue?

I've just had pretty much three back-to-back timeouts when releasing new version. Unsure if you can see the run job: https://github.com/axieum/minecord/actions/runs/8137955859/job/22237612826
image
The files still upload successfully however.

Any update on this, automated publishes to Modrinth are still very unstable.

image

It reliably fails the :modrinth task now, no matter what I do, but, the version is successfully uploaded to Modrinth, how weird?

image