Skip to content

Empty (zero byte) S3 file causes AMI to stop #254

@davidbasswwu

Description

@davidbasswwu

I was running an AMI ingest of 10k+ records (via AJAX/browser, not queued) and when it encountered an empty file in our Minio instance (S3), the AMI ingest stopped.

User warning: Error executing "GetObject" on "http://esmero-minio:9000/path/to/file/450.html"; AWS HTTP error: Client error: GET http://esmero-minio:9000/path/to/file/450.html resulted in a 416 Requested Range Not Satisfiable response (client): 416 Requested Range Not Satisfiable (Request-ID: 188936CEBE199F2F) - InvalidRangepath/to/file/450.htmlbucket-name-here/path/to/file/450.htmlrequest-id-herehost-id-here in Aws\S3\StreamWrapper->triggerError() (line 764 of /var/www/html/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php). =>

It turns out that file (450.html) was empty, which seems to have caused the AMI set to fail. In an ideal world, it would just flag that event and keep going.
Thanks!

Metadata

Metadata

Assignees

Labels

Can't reproducehappens once in a lifetime, on a full moon night of a past summerExternal BugIt is not my fault (anonymous Geologist)File processingEverything is a file, even me.ReportingErrors, Logs, etc.UIButtons and pixelsbugSomething isn't workingqueueFIFO

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions