You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I update the github.com/aws/aws-sdk-go-v2/service/s3 dependency to v1.25.0 I get plenty of warnings:
...
SDK 2022/03/01 13:45:05 WARN Response has no supported checksum. Not validating response payload.
SDK 2022/03/01 13:45:05 WARN Response has no supported checksum. Not validating response payload.
SDK 2022/03/01 13:45:05 WARN Response has no supported checksum. Not validating response payload.
SDK 2022/03/01 13:45:05 WARN Response has no supported checksum. Not validating response payload.
...
In precedent version there is no such things.
There is no easy way to enable / disable checksum check
Expected behavior
I can download files from S3 bucket without having thousands of warnings.
Current behavior
When I try to download a file, I have thousands of warnings telling me there is no supported checksums to check.
...
SDK 2022/03/01 13:45:05 WARN Response has no supported checksum. Not validating response payload.
SDK 2022/03/01 13:45:05 WARN Response has no supported checksum. Not validating response payload.
SDK 2022/03/01 13:45:05 WARN Response has no supported checksum. Not validating response payload.
SDK 2022/03/01 13:45:05 WARN Response has no supported checksum. Not validating response payload.
...
Updates the SDK's checksum validation logic to require opt-in to output
response payload validation. The SDK was always preforming output
response payload checksum validation, not respecting the output
validation model option.
Fixesaws#1606
Thanks for reporting this issue @pommedeterresautee. I was able to reproduce this issue, and put out PR #1607 that addresses this bug in the SDK's handling of automatic validation of response payload checksums.
…1607)
Updates the SDK's checksum validation logic to require opt-in to output
response payload validation. The SDK was always preforming output
response payload checksum validation, not respecting the output
validation model option.
Fixes#1606
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Documentation
Describe the bug
When I update the
github.com/aws/aws-sdk-go-v2/service/s3
dependency tov1.25.0
I get plenty of warnings:In precedent version there is no such things.
There is no easy way to enable / disable checksum check
Expected behavior
I can download files from S3 bucket without having thousands of warnings.
Current behavior
When I try to download a file, I have thousands of warnings telling me there is no supported checksums to check.
Steps to Reproduce
My code to download a file from S3 bucket:
I tried below code but it didn't change anything:
Possible Solution
This is related to PR #1600 from
AWS Go SDK version used
1.25.0
Compiler and Version used
Go 1.16
Operating System and version
Ubuntu 21.04
The text was updated successfully, but these errors were encountered: