Status 500 Internal Server Errors when doing Gradle Publish with Maven
This morning, when doing the manual gradle publish
command to upload assets to a Maven repository on GitLab, I started receiving status code 500 (Internal server error). Yesterday it was working fine, I didn't modify my repository's settings or the build.gradle
file. In particular, the upload gets stuck at a .pom.md5
file.
I'm trying to identify if the issue is on my side or on GitLab.com's side. Visiting status.gitlab.com seems to indicate all systems are operational. Does anyone else have this issue at this time?
LOG:
Task :publishReleasePublicationToMavenRepository in txtful Starting
Caching disabled for task ':publishReleasePublicationToMavenRepository' because:
Build cache is disabled
Task ':publishReleasePublicationToMavenRepository' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Publishing to repository 'maven' (https://gitlab.com/api/v4/projects/<REDACTED PROJECT ID>/packages/maven)
Uploading AndroidKotlinEssentials-1.0.1-maventest1.pom to /api/v4/projects/<REDACTED PROJECT ID>/packages/maven/com/txtful/KotlinEssentials/AndroidKotlinEssentials/1.0.1-maventest1/AndroidKotlinEssentials-1.0.1-maventest1.pom
Error in 'PUT https://gitlab.com/api/v4/projects/<REDACTED PROJECT ID>/packages/maven/com/txtful/KotlinEssentials/AndroidKotlinEssentials/1.0.1-maventest1/AndroidKotlinEssentials-1.0.1-maventest1.pom.md5'. Waiting 1000ms before next retry, 2 retries left
Error in 'PUT https://gitlab.com/api/v4/projects/<REDACTED PROJECT ID>/packages/maven/com/txtful/KotlinEssentials/AndroidKotlinEssentials/1.0.1-maventest1/AndroidKotlinEssentials-1.0.1-maventest1.pom.md5'. Waiting 2000ms before next retry, 1 retries left
Task :publishReleasePublicationToMavenRepository in txtful Finished
> Task :publishReleasePublicationToMavenRepository FAILED
:publishReleasePublicationToMavenRepository (Thread[Execution worker for ':',5,main]) completed. Took 11.219 secs.
Edited by Félix Léger