Stream wrapper fails on file_get_contents() due to non-seekable stream (Tigris) - Tigris
Stream wrapper fails on file_get_contents() due to non-seekable stream (Tigris)
Hey guys, I was trying to use Tigris for a Drupal site using the s3fs module and I get the following issue:
https://www.drupal.org/project/s3fs/issues/3573338
As you can see when I patch the module to allow me to pass by the response_checksum_validation option to aws-sdk-php, my error goes away.
Is this some kind of compatibility issue with the Tigris service?
Currently, I am using this module in a site with the locale module active, and I am getting this warning: User warning: Stream is not seekable in Aws\S3\StreamWrapper->triggerError() (line 788 of /var/www/html/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php). Error message Warning: file_get_contents(public://languages/es_VDvIBCKufkGMU2tQ1_KFvYXnRgrAosuv...
Solution
Hello, we are looking into this. I can confirm that turning off checksum validation is a valid workaround, we will investigate it more.
Follow-up
pboros_ • 2/20/26, 1:12 PM
Hello, we are looking into this. I can confirm that turning off checksum validation is a valid workaround, we will investigate it more.
Tigris
All things Tigris: the Globally Distributed S3-Compatible Object Storage.