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

Error: Request body length does not match content-length header #556

Closed
qwerttvv opened this issue Dec 11, 2024 · 17 comments
Closed

Error: Request body length does not match content-length header #556

qwerttvv opened this issue Dec 11, 2024 · 17 comments

Comments

@qwerttvv
Copy link

    - name: Upload firmware to release
      uses: softprops/action-gh-release@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tag_name: ${{ steps.tag.outputs.release_tag }}
        body_path: release.txt
        files: ${{ env.FIRMWARE }}/*

full yml
https://github.com/qwerttvv/Router/blob/master/.github/workflows/M2-VIKINGYFY.yml

log

👩‍🏭 Creating new GitHub release for tag 2024.12.11-22.51_M2-VIKINGYFY...
⬆️ Uploading version.buildinfo...
⬆️ Uploading sha256sums...
⬆️ Uploading profiles.json...
⬆️ Uploading immortalwrt-qualcommax-ipq60xx-cmiot_ax18.manifest...
⬆️ Uploading immortalwrt-qualcommax-ipq60xx-cmiot_ax18-squashfs-sysupgrade.bin...
⬆️ Uploading immortalwrt-qualcommax-ipq60xx-cmiot_ax18-squashfs-factory.ubi...
⬆️ Uploading immortalwrt-qualcommax-ipq60xx-cmiot_ax18-initramfs-uImage.itb...
⬆️ Uploading feeds.buildinfo...
⬆️ Uploading config.buildinfo...
Error: Request body length does not match content-length header

good ver-last week
https://github.com/softprops/action-gh-release/tree/92bc83c4214f780e84c7d2a85464a2ca05ebc2f0

not good ver-nowsoftprops/action-gh-release@master
https://github.com/softprops/action-gh-release/tree/7b4da11513bf3f43f9999e90eabced41ab8bb048

@gtxaspec
Copy link

confirmed, the latest commits produce this error.

@wanansany
Copy link

Don't use master,use v2
uses: softprops/action-gh-release@v2

@qwerttvv
Copy link
Author

#555 smae issue

@VietND96
Copy link

Don't use master,use v2 uses: softprops/action-gh-release@v2

The same goes for me.
I saw the latest commit on master is releasing v2.2.0, so I am wondering why softprops/action-gh-release@v2 is able to work?

@qwerttvv
Copy link
Author

Don't use master,use v2 uses: softprops/action-gh-release@v2

The same goes for me. I saw the latest commit on master is releasing v2.2.0, so I am wondering why softprops/action-gh-release@v2 is able to work?

now, v2=v2.0.9
see this https://github.com/softprops/action-gh-release/tags

@VietND96
Copy link

Thanks for pointing. I assumed it always points to the latest, but need the author to bump it.

github-merge-queue bot pushed a commit to dfinity/ic that referenced this issue Dec 12, 2024
This change applies @nmattia's suggestion about using a default shell.
He also mentioned he believes that bash is the default but prior to this
I had to set the shell to bash so I'm not confident if that is true.

It also downgrades the release action due to
softprops/action-gh-release#556
papjul added a commit to breezy-weather/breezy-weather that referenced this issue Dec 12, 2024
bandoche added a commit to bandoche/GeoLite.mmdb that referenced this issue Dec 13, 2024
YummyBacon5 added a commit to likes-gay/Cave-of-Shadows that referenced this issue Dec 13, 2024
@brunoalr
Copy link

brunoalr pushed a commit to OpenImageDebugger/OpenImageDebugger that referenced this issue Dec 13, 2024
brunoalr pushed a commit to OpenImageDebugger/OpenImageDebugger that referenced this issue Dec 13, 2024
Nevuly added a commit to Nevuly/WSL2-Linux-Kernel-Rolling that referenced this issue Dec 15, 2024
Error Logs:
Run softprops/action-gh-release@master
Found release linux-wsl-stable-6.12.5 (with id=190802427)
⬆️ Uploading bzImage-x86_64-optional_install.tar.gz...
⬆️ Uploading bzImage-x86_64-modules_install.tar.gz...
⬆️ Uploading bzImage-x86_64...
⬆️ Uploading Image-arm64-optional_install.tar.gz...
⬆️ Uploading Image-arm64-modules_install.tar.gz...
⬆️ Uploading Image-arm64...
Error: Request body length does not match content-length header

 * `master` version of action-gh-release have problem to release packages. (softprops/action-gh-release#556)
 * So, I try to use `v2` version for avoid this problem.

Signed-off-by: Yang Jeong Hun <[email protected]>
Nevuly added a commit to Nevuly/WSL2-Linux-Kernel-Rolling-LTS that referenced this issue Dec 15, 2024
Error Logs:
Run softprops/action-gh-release@master
Found release linux-wsl-stable-6.12.5 (with id=190802427)
⬆️ Uploading bzImage-x86_64-optional_install.tar.gz...
⬆️ Uploading bzImage-x86_64-modules_install.tar.gz...
⬆️ Uploading bzImage-x86_64...
⬆️ Uploading Image-arm64-optional_install.tar.gz...
⬆️ Uploading Image-arm64-modules_install.tar.gz...
⬆️ Uploading Image-arm64...
Error: Request body length does not match content-length header

 * `master` version of action-gh-release have problem to release packages. (softprops/action-gh-release#556)
 * So, I try to use `v2` version for avoid this problem.

Signed-off-by: Yang Jeong Hun <[email protected]>
JanDeDobbeleer pushed a commit to JanDeDobbeleer/oh-my-posh that referenced this issue Dec 15, 2024
JuliusBairaktaris added a commit to JuliusBairaktaris/Qualcommax_NSS_Builder that referenced this issue Dec 16, 2024
Locietta added a commit to Locietta/xanmod-kernel-WSL2 that referenced this issue Dec 16, 2024
github-merge-queue bot pushed a commit to nim-works/nimskull that referenced this issue Dec 24, 2024
….2.0" (#1480)

## Summary

The most-recent version of the action has a
[bug](softprops/action-gh-release#556) that
results in big
file uploads (and thus the `publisher` workflow) failing.

Reverts #1479.
sorairolake added a commit to sorairolake/creative-commons-asciidoc that referenced this issue Dec 27, 2024
JP-Ellis added a commit to pact-foundation/pact-python that referenced this issue Dec 30, 2024
…2.0"

This reverts commit 15f61ca.

There's a bug in softprops 'action-gh-release' action which appears when
uploading larger assets. Reverting to an earlier version until fix is merged.

Ref: softprops/action-gh-release#562
Ref: softprops/action-gh-release#556
Signed-off-by: JP-Ellis <[email protected]>
JP-Ellis added a commit to pact-foundation/pact-python that referenced this issue Dec 30, 2024
…2.0"

This reverts commit 15f61ca.

There's a bug in softprops 'action-gh-release' action which appears when
uploading larger assets. Reverting to an earlier version until fix is merged.

Ref: softprops/action-gh-release#562
Ref: softprops/action-gh-release#556
Signed-off-by: JP-Ellis <[email protected]>
zhtengw added a commit to zhtengw/LEDE-Action-build that referenced this issue Jan 2, 2025
advoid "Error: Request body length does not match content-length header" when upload firmware to release, [refer](softprops/action-gh-release#556)
@mjiggidy
Copy link

mjiggidy commented Jan 5, 2025

Bruh

Wxh16144 added a commit to Wxh16144-forks/ant-design that referenced this issue Jan 6, 2025
grische added a commit to grische/site-ffm that referenced this issue Jan 6, 2025
grische added a commit to grische/site-ffm that referenced this issue Jan 6, 2025
Ansen added a commit to Ansen/Actions-OpenWrt that referenced this issue Jan 6, 2025
Billy99 added a commit to Billy99/bpfman that referenced this issue Jan 6, 2025
Revert softprops/action-gh-release from v2.2.0 to v2.1.0 due to
"Error: Request body length does not match content-length header"
See: softprops/action-gh-release#556

Signed-off-by: Billy McFall <[email protected]>
lcarva added a commit to lcarva/ec-cli that referenced this issue Jan 6, 2025
The v2.2.0 release of the action introduced a bug:
softprops/action-gh-release#555

This commit changes the version used to v2, instead of the more specific
v2.2.0 as suggested in another issue:
softprops/action-gh-release#556

Signed-off-by: Luiz Carvalho <[email protected]>
afc163 pushed a commit to ant-design/ant-design that referenced this issue Jan 6, 2025
Astisme pushed a commit to Astisme/again-why-salesforce that referenced this issue Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants