• Resolved haykayltduk

    (@haykayltduk)


    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.

Viewing 1 replies (of 1 total)
  • Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Apologies for the delay in replying.

    I’m afraid that this issue will need more information that can be shared on this forum.
    We would like to be able to implement a general solution, rather than for a specific setup. However, this would require more details to investigate.

    Please could you contact us via our paid support form (please enter 000000 in the ‘order number’ field)?
    In the description, please include the URL for this thread and ask for the ticket to be assigned to Dee.

Viewing 1 replies (of 1 total)
  • The topic ‘header ‘x-amz-content-sha256’ missing’ is closed to new replies.