header ‘x-amz-content-sha256’ missing
-
Hi,
I am in the process of setting up updraftplus for the first time. I am using the S3Generic provider — but I have modified line 12 of s3generic.php to be:
> protected $use_v4 = true;
As my provider and their location only support v4.
While performing a “Test S3 Settings” I receive the following error (in both ‘path-style’ and ‘virtual-host’ based modes):
“Delete failed: UpdraftPlus_S3::deleteObject(): [InvalidRequest] header ‘x-amz-content-sha256’ must be included in signature”
I had a look through updraftplus/includes/S3.php but it is not clear (to me), why this header would not be set when performing a delete.
[Note: I also see this error while trying a complete backup and upload.
UpdraftPlus_S3::initiateMultipartUpload(): [InvalidRequest] header ‘x-amz-content-sha256’ must be included in signature (line: 587, file: /home/redacted/wordpress/wp-content/plugins/updraftplus/includes/S3.php) ]
Debugging information from the host:
Memory limit: 512M PHP version: 7.4.24 - show PHP information (phpinfo) MySQL version: 10.1.48-MariaDB-0ubuntu0.18.04.1 Current SQL mode: NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION Curl version: 7.58.0 / SSL: OpenSSL/1.1.1j / libz: 1.2.11 OpenSSL version: OpenSSL 1.1.1 11 Sep 2018 MCrypt: No ZipArchive::addFile: Yes zip executable found: Yes: /usr/bin/zip
Thanks.
- The topic ‘header ‘x-amz-content-sha256’ missing’ is closed to new replies.