CI - File could not be downloaded (HTTP/2 400) errors #200443
Replies: 7 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Related issue on the Composer issues board: composer/composer#12958 & http://github.com/composer/composer/issues/12956 |
Beta Was this translation helpful? Give feedback.
-
|
Adding another data point. Same The failure lands on a different random package each run — across attempts I've seen I've ruled out the obvious local causes: fetching the exact failing Representative log: PHP |
Beta Was this translation helpful? Give feedback.
-
|
I notice this happening to our CI (GitHub Actions) the first time on Saturday 2026-06-27. |
Beta Was this translation helpful? Give feedback.
-
With the same legacy.zip URL fetched |
Beta Was this translation helpful? Give feedback.
-
|
Hi @wiljanslofstra , thanks for posting in GitHub Discussions! The |
Beta Was this translation helpful? Give feedback.
-
|
I managed to get it under control in my CI by setting installed=0
for attempt in 1 2 3 4 5; do
if COMPOSER_MAX_PARALLEL_HTTP=1 composer install --prefer-dist --no-progress --no-ansi --no-interaction; then
installed=1
break
fi
echo "composer install failed. retry ${attempt}/5 ..."
done
if [ "$installed" -ne 1 ]; then
echo "composer install failed" >&2
exit 1
fi |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
Body
Since this morning we've had the issue that many of our CI tasks fail because of 400 errors from codeload.github.com.
We're using Gitlab CI (so not GitHub Actions), and we're using Composer (PHP) to install packages in CI.
Example error:
On every run, it fails on another package, so it's not consistent and/or a deleted version of a package.
For example, when retried, it fails on another package:
When accessing the URLs directly, they work fine.
Sometimes after retrying a few times everything succeeds.
No issues on Github Status, and I can't find many mentions on social media of the issue. On X, I found one other person having the same issue: https://x.com/BjarnBronsveld/status/2070818383822483820
Is anyone else having this issue, and/or does someone know if there's some issue with the service?
Beta Was this translation helpful? Give feedback.
All reactions