action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

'Error: Headers Timeout Error' when releasing

Open Michael-Gunther-KPM opened this issue 1 year ago • 4 comments

This is a new error in version 2. Files are uploaded and released fine, but the action fails with the above error-> i.e. everything works fine but I get an error anyway that I'd like to not be there

Of note:

  • Occurs in only one repository
  • Files uploaded are large 0.8 GB and 1.7 GB for the first two files
  • Uploaded to a GitHub enterprise
  • Same code works in V1

Code used:

- name: Release  
      uses: softprops/action-gh-release@v2  
      id: create_release  
      with:  
        draft: false  
        prerelease: false
        tag_name: measura-v${{inputs.version}}
        # body_path: CHANGELOG.md
        token: ${{ secrets.RELEASE_TOKEN }}
        files: |
          ./out/measura_core_installer_${{inputs.version}}.exe
          ./out/measura_suite_installer_${{inputs.version}}.exe
          ./measura-guid.json

Michael-Gunther-KPM avatar Dec 02 '24 19:12 Michael-Gunther-KPM

:+1: Also having this issue. Is there a workaround? For me the uploads are not correctly attached to the release.

petewasher-flybrid avatar Dec 05 '24 14:12 petewasher-flybrid

Reverting to V1 was the only solution I found. If I had to guess, the size of the files have something to do with this, because it does not happen when I release smaller files in another repo. Is this the same thing you are seeing?

Michael-Gunther-KPM avatar Dec 05 '24 17:12 Michael-Gunther-KPM

Yes, same situation. My release files are tarballs of ~1.5GB and ~400MB each, plus a small json file similar to you.

When I get a chance I will try with v1.

petewasher-flybrid avatar Dec 06 '24 10:12 petewasher-flybrid

I have the same problem. Looks like the timeout for upload is set for 5 minutes. All of my failing uploading steps run 5m1s.

dbabokin avatar Dec 10 '24 06:12 dbabokin