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

Unexpected response. Unable to upload chunk #150

Open
3 of 6 tasks
marknorgren opened this issue Dec 1, 2020 · 7 comments
Open
3 of 6 tasks

Unexpected response. Unable to upload chunk #150

marknorgren opened this issue Dec 1, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@marknorgren
Copy link

marknorgren commented Dec 1, 2020

Describe the bug
A clear and concise description of what the bug is.

Version

  • V1
  • V2

Environment

  • self-hosted
  • Linux
  • Windows
  • Mac

Run/Repo Url
Github Enterprise (private)

How to reproduce
Occurring every time

Additional context

The log file is .log text file and is about 156 MB

Run actions/upload-artifact@v2
  with:
    name: Logs
    path: build_logs/*.log
    if-no-files-found: warn
With the provided path, there will be 1 file(s) uploaded
##[error]Unexpected response. Unable to upload chunk to {URL REDACTED}
##### Begin Diagnostic HTTP information #####
Status Code: 400
Status Message: Bad Request
Header Information: {
  "date": "Tue, 01 Dec 2020 17:47:46 GMT",
  "content-type": "application/json; charset=utf-8",
  "server": "Kestrel",
  "content-length": "209",
  "cache-control": "no-store,no-cache",
  "pragma": "no-cache",
  "x-tfs-processid": "953c0095-ab08-4fe0-9373-90104e8467cb",
  "activityid": "6a35e6f5-d6c1-43aa-b8fc-245fad4b1c67",
  "x-tfs-session": "6a35e6f5-d6c1-43aa-b8fc-245fad4b1c67",
  "x-vss-e2eid": "6a35e6f5-d6c1-43aa-b8fc-245fad4b1c67",
  "x-vss-senderdeploymentid": "f35052cf-ad24-9ee1-cbd0-f2ab6489a449",
  "x-frame-options": "SAMEORIGIN"
}
###### End Diagnostic HTTP information ######
@marknorgren marknorgren added the bug Something isn't working label Dec 1, 2020
@abemedia
Copy link

I'm getting the same. For a specific file it happens every single time. For others just sporadically:

Error: Unexpected response. Unable to upload chunk to https://pipelines.actions.githubusercontent.com/[...]/_apis/resources/Containers/[...]?itemPath=terraform-plan%2Fenv%2Fprod
##### Begin Diagnostic HTTP information #####
Status Code: 400
Status Message: Bad Request
Header Information: {
  "cache-control": "no-store,no-cache",
  "pragma": "no-cache",
  "transfer-encoding": "chunked",
  "content-type": "application/json; charset=utf-8",
  "strict-transport-security": "max-age=2592000",
  "x-tfs-processid": "cd04f4ae-260a-48f2-85bd-8848d8620611",
  "activityid": "dded2146-f0eb-493e-aa8b-e37ddd991dea",
  "x-tfs-session": "dded2146-f0eb-493e-aa8b-e37ddd991dea",
  "x-vss-e2eid": "dded2146-f0eb-493e-aa8b-e37ddd991dea",
  "x-vss-senderdeploymentid": "193695a0-0dcd-ade4-f810-b10ad24a9829",
  "x-frame-options": "SAMEORIGIN",
  "x-cache": "CONFIG_NOCACHE",
  "x-msedge-ref": "Ref A: D0B1E70EB52445C1A1ACF52397B35F07 Ref B: SN1EDGE2016 Ref C: 2021-08-12T21:20:56Z",
  "date": "Thu, 12 Aug 2021 21:20:56 GMT"
}
###### End Diagnostic HTTP information ######
Warning: Aborting upload for /tmp/WmIrsC/env/prod due to failure

@Msanzdelrio
Copy link

Any updates on this topic? I'm suffering the same issue

@hesenger
Copy link

hesenger commented Dec 8, 2021

@Msanzdelrio Looks like a problem with empty files. I solved this by filling in a file used to keep folders in git.

@sgallou
Copy link

sgallou commented Dec 9, 2021

The same since yesterday, like @Msanzdelrio ...

@mjohn
Copy link

mjohn commented Dec 9, 2021

@Msanzdelrio Looks like a problem with empty files. I solved this by filling in a file used to keep folders in git.

same here, this works.

@krassowski
Copy link

This issue only shows up on Windows now, but it seems that the following workaround solved it for me:

- name: Find and remove empty files
  run: find ./my-path -empty -delete
  shell: bash

- name: Publish browser test output
  uses: actions/upload-artifact@v2
  with:
    name: My name
    path: ./my-path

@krassowski
Copy link

Which is now tracked in #281 as it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants