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

remove --refresh-dependencies to avoid Premature end of Content-Length #14070

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Mar 13, 2025

to avoid Premature end of Content-Length delimited message body

> Could not get resource 'https://repo.grails.org/grails/core/org/grails/grails-async/7.0.0-SNAPSHOT/grails-async-7.0.0-20250313.020438-51.jar'.
                  > Premature end of Content-Length delimited message body (expected: 68,766; received: 12,994)

The theory behind this issue is that when we start a matrixed GitHub action it requests the dependencies over and over again from repo.grails.org (JFrog Artifactory) and it looks like a DOS attack from GitHub actions, which JFrog Artifactory is throttling/mitigating.

--refresh-dependencies was added to many GitHub workflows to force the workflow to pull the recently published -SNAPSHOT dependencies, which occurs often. The replacement for this approach is to delete all recently used GitHub actions cache and then rerun the action.

…h delimited message body

> Could not get resource 'https://repo.grails.org/grails/core/org/grails/grails-async/7.0.0-SNAPSHOT/grails-async-7.0.0-20250313.020438-51.jar'.
                  > Premature end of Content-Length delimited message body (expected: 68,766; received: 12,994)
@jamesfredley jamesfredley self-assigned this Mar 13, 2025
@jamesfredley jamesfredley moved this to In Progress in Grails 7 Mar 13, 2025
@jamesfredley jamesfredley added this to the grails:7.0.0-M4 milestone Mar 13, 2025
@jamesfredley jamesfredley merged commit 72ceb2d into 7.0.x Mar 14, 2025
26 checks passed
@jamesfredley jamesfredley deleted the remove-refresh-dependencies branch March 14, 2025 00:37
@github-project-automation github-project-automation bot moved this from In Progress to Done in Grails 7 Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants