botocore: Warning about missing checksum

Describe the bug

We started seeing the following logs on Jan 27 after we upgraded from 1.35.99 to 1.36.7:

Skipping checksum validation. Response did not contain one of the following algorithms: ['crc32', 'sha1', 'sha256'].

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

No warnings like previous uses of boto3

Current Behavior

Logs being spammed about warnings of missing checksums from files that have them

Reproduction Steps

Call download_fileobj() from the s3 client

Possible Solution

No response

Additional Information/Context

No response

SDK version used

boto3 1.36.7

Environment details (OS name and version, etc.)

Python 3.9.21 and Python 3.13.1 on Debian Bookworm

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 18 (9 by maintainers)

Most upvoted comments

@talawahtech Unforunately there is not, the setting is only evaluated at client creation time and applied to all responses. We’ve released a change to move this log to debug with today’s release (1.36.18). That should minimize the noise in production as an immediate mitigation.

We’ll follow up on getting this behavior adjusted to only log when there are checksum headers in the response in a future release. I don’t think we have plans to toggle this per operation at this time.