-
Notifications
You must be signed in to change notification settings - Fork 933
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
download-droplet not working in v8 with S3 object store #2225
Comments
Is this on the roadmap? |
johha
added a commit
to cloudfoundry/capi-bara-tests
that referenced
this issue
Mar 28, 2024
`cf curl` or `cf download-droplet` can cause errors e.g. when using a GCP blobstore due to a issue with the content type. With using curl we can work around this issue. More details can be found here: cloudfoundry/cli#2225
@gururajsh should #2976 have resolved this? |
Yes, it should be resolved now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please fill out the issue checklist below and provide ALL the requested information.
CF_TRACE=1
to help debug the issue.Describe the bug and the command you saw an issue with
Due to the same root cause from #1165, the download-droplet command is not working in the v8 version of the CLI.
What happened
Using the download-droplet command using CLI v8 throws an error due to the Content-Type header included in the request.
Expected behavior
The download-droplet command should work to download the droplet from the object store.
Exact Steps To Reproduce
cf8 -v download-droplet appname
The request signature we calculated does not match the signature you provided
cf7 -v download-droplet appname
Provide more context
Relevant trace output:
v7.3.0:
REQUEST: [2021-10-28T14:56:11-07:00]
GET /v3/droplets/7514513a-e8b7-459c-a0f6-ad63b178f269/download HTTP/1.1
Host: api.domain.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
User-Agent: cf7.exe/7.3.0+645c3ce6a.2021-08-16 (go1.16.6; amd64 windows)
v8.0.0:
REQUEST: [2021-10-28T14:58:20-07:00]
GET /v3/droplets/7514513a-e8b7-459c-a0f6-ad63b178f269/download HTTP/1.1
Host: api.domain.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: cf8.exe/8.0.0+e8d41cf8e.2021-09-16 (go1.16.6; amd64 windows)
The added
Content-Type
header is causing the issue in v8.The text was updated successfully, but these errors were encountered: