-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
bugSomething isn't workingSomething isn't working
Description
UPDATE
This is the issue https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/feature/s3/manager@v1.20.1#hdr-Pre_computed_Checksums-Uploader
We have seen a weird behaviour when trying to upload some artifacts to a S3 bucket. Some artifacts report the following:
$ chainloop artifact upload --file ~/Downloads/chainloop-linux-amd64
INF uploading chainloop-linux-amd64 - sha256:44c7fa3a3545c29c8c990699c3209aeaef1d71f3773a0b53d7a5ca9d3910f56b
... done! [89.84MB in 7.713s; 11.65MB/s]
ERR server error
The error on the CAS side is something like:
{"level":"error","ts":1762342756.7378519,"component":"service","msg":"failed to upload to bucket: upload multipart failed, upload id: THE-ID, cause: operation error S3: CompleteMultipartUpload, https response error StatusCode: 400, RequestID: OTHER-ID, HostID: HOST-ID, api error BadDigest: The sha256 you specified did not match the calculated checksum."...Uploading to OCI seems to work fine:
$ chainloop artifact upload --file ~/Downloads/chainloop-linux-amd64
... done! [89.84MB in 10.1s; 8.90MB/s]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working