-
Notifications
You must be signed in to change notification settings - Fork 137
[HttpError]: Request body length does not match content-length header #746
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
Comments
It's happening here too: https://github.com/containerbase/internal-tools/actions/runs/7010134649/job/19070117802
|
🤔 It's working fine here: https://github.com/renovatebot/base-image/actions/runs/7071996205/job/19250354610 |
I don't see anything obvious to suggest it is related, but it does look like there was a GitHub incident during the time of the workflow referenced by @viceice. https://www.githubstatus.com/incidents/66vhjmd266r9 |
an example of a successful release from using the default config, run with npx, without depending on semantic-release as a local dependency but letting npx install it as part of the release workflow. this is feeling like something happened on the github side of things for a certain period of time and has since resolved. otherwise i would expect this to be happening consistently with lots of reports. Are the failures youve seen clustered around a certain time period? Are you still seeing any of this sort of failure continuing? |
the only place where the i notice that the config for the project you linked to that is successfully releasing explicityly defines the assuming you dont intend to attach assets to the github release, could you try setting |
doesn't work 😕 https://github.com/containerbase/internal-tools/actions/runs/7099052428/job/19322390468 i think it's failing here: Line 81 in 30d7503
will add some debug code via pnpm patch to see what's going on |
I've now patched it to use https://github.com/containerbase/internal-tools/actions/runs/7099585179/job/19323925406 Will now try a newer |
really appreciate the additional investigation, @viceice if i'm understanding correctly, it sounds like you at least have a work around now with node-fetch, so that gives us an opportunity to try to figure this out properly without leaving you completely blocked, correct? i still dont see clear conditions that make this happen since it still seems like most workflows using this plugin are succeeding. are the failures that you are seeing limited to just that repo? you referenced another repo, but only mentioned a success, so am i understanding correctly that you havent seen failures related to this there? one detail that i notice in your output from failures is that the listed request headers dont even include a content-length header. maybe you already spotted that detail, but assuming that list of headers is correct, the error is even more strange. the api docs for creating a release dont seem to indicate that the content-length header is required, either. |
We've also been experiencing this lately. Error log:
Workflow file
We didn't make any changes to our CI. The error seems to have shown up out of nowhere. |
yes, pnpm patch is working for me until it's fixed upstream.
Yes, i only see this issue on that single repo since upgrading to node v20.
🤷♂️ Yeah that's really strange. Maybe undici is adding it implicit and wrong? |
came across this comment in the undici repo highlighting that the semantic-release looks at the anyway, this seems likely enough to give updating the |
@Manoj201 have you checked that the I'm assuming that this issue is resolved if you get that detail into a good state, pending more information to prove otherwise. my plan was to close this issue out, so additional information would be helpful if you are seeing something else. |
@travi Yeah, that was fixed now. everything working as expected. |
What is the solution? I'm still getting this error |
fix this url: |
we've added feedback for this situation so that it is hopefully easier to spot going forward:
thanks @babblebey 🎉 |
I am always receiving this error on first run and on rerunning this the error is gone in github actions. Any ideas?
The text was updated successfully, but these errors were encountered: