Environment
MinIO running in gateway mode to AWS S3 on Ubuntu 22.04 VM (systemd), object store region us-east-1, gateway configured with custom multipart_part_size=16MB; clients download via HTTP(S) through nginx reverse proxy.
Symptoms
Clients downloading objects larger than ~64MB get a 'checksum mismatch' or truncated file; small objects (<multipart_part_size) download fine. Some clients receive 200 OK with corrupted payload.
Observations
MinIO logs show entries 'checksum mismatch assembling multipart object' during GET; nginx access logs show 200/206 responses; aws s3 console lists object with expected size and ETag; tcpdump on MinIO host shows repeated ranged GETs and reassembled responses; no network packet errors captured.
Already attempted
Restarted MinIO and nginx, reverted multipart_part_size to default and restarted, re-uploaded the object via aws cli (multipart upload), cleared nginx proxy_cache, re-tried downloads from multiple clients — issue persists for some objects indexed before configuration change.
Question
Why are large multipart GETs returning checksum mismatches after part_size reconfiguration and how can I recover/serve intact objects without data loss or full reupload of large archive?
Verified community troubleshooting
First, confirm whether the gateway or an intermediary is changing byte ranges: bypass nginx and curl the object directly from MinIO with a single-range and a set of Range headers. Compare the downloaded bytes to aws s3 cp of the same key (or to a freshly uploaded copy). If a direct GET still fails, stop MinIO and move its multipart/temp cache directory aside, then restart and retry (this is reversible). If that fixes it, corrupted temp parts were likely. If direct GETs work but proxyed GETs fail, reconfigure nginx to pass-through Range headers and disable chunked transfer encoding. If those checks don't help, capture MinIO debug logs during a failing download and open a support ticket with MinIO including the logs and tcpdump; avoid deleting original objects until you have a verified recovery path.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags