-
Notifications
You must be signed in to change notification settings - Fork 19
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
AWS CLI uses streaming trailer chunked requests on newer versions #89
Labels
Comments
halkyon
changed the title
Support STREAMING-UNSIGNED-PAYLOAD-TRAILER
Support streaming trailer requests
Jan 21, 2025
halkyon
changed the title
Support streaming trailer requests
AWS CLI seems to use streaming trailer chunked requests on newer versions
Jan 21, 2025
halkyon
changed the title
AWS CLI seems to use streaming trailer chunked requests on newer versions
AWS CLI uses streaming trailer chunked requests on newer versions
Jan 21, 2025
https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst
Maybe this was the change? |
Artur and I discovered it changed in |
Related: aws/aws-cli#9214 |
we also need to support the new checksum types, minio fixed this upstream here: minio/minio@827004c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I upgraded AWS CLI client and started getting
MissingContentLength
errors. Debugging the request, it seems like it's usingSTREAMING-UNSIGNED-PAYLOAD-TRAILER
orSTREAMING-AWS4-HMAC-SHA256-PAYLOAD-TRAILER
requests, but we don't support these.AWS CLI version:
aws-cli/2.23.2 Python/3.12.6 Linux/6.8.0-51-generic exe/x86_64.ubuntu.24
.I downgraded the client to the previous version (
aws-cli/2.15.21 Python/3.11.6 Linux/6.8.0-51-generic exe/x86_64.ubuntu.24 prompt/off
) and it worked again. I guess AWS CLI decides to use the streaming payload trailer on newer versions. I couldn't find a workaround to turn it off, short of downgrading the client.Test command:
aws s3 --endpoint https://gateway.storjshare.io cp /tmp/testfile.dat s3://test-files/testfile.dat
(1M file), and no config changes in~/.aws/config
. It seems any size file it tries to stream, and also the same for multi-part uploads.References:
The text was updated successfully, but these errors were encountered: