Support

Akeeba Backup for Joomla!

#25975 Backups to Amazon S3 work, can't download to desktop due to signature issue

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by jderrick on Tuesday, 30 August 2016 08:05 CDT

jderrick
Hello,

Akeeba Backup Pro is set to automatically backup to my Amazon S3 instance nightly for my client's website. This works absolutely wonderfully and has done for some time.

However, for some reason the most recent backups will not download to desktop when clicking 'Manage remotely stored files' and then the 'Download to your desktop' button. 'Fetch back to your server' works fine.

When clicking 'Download to your desktop' I get this signature mismatch error (actual website details replaced with xxxx):

SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.AKIAIUAXU7VOMBZCAGPQAWS4-HMAC-SHA256 20160825T130022Z 20160825/eu-central-1/s3/aws4_request 18cac161fe2915ab2c9f29b5a6756f218da8fd3d585eebe8ec54ddc15462dc51622b1750032475cd670af41594ff17c612c7740aec2a72a85149b7f79e81010b41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 31 36 30 38 32 35 54 31 33 30 30 32 32 5a 0a 32 30 31 36 30 38 32 35 2f 65 75 2d 63 65 6e 74 72 61 6c 2d 31 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 31 38 63 61 63 31 36 31 66 65 32 39 31 35 61 62 32 63 39 66 32 39 62 35 61 36 37 35 36 66 32 31 38 64 61 38 66 64 33 64 35 38 35 65 65 62 65 38 65 63 35 34 64 64 63 31 35 34 36 32 64 63 35 31GET /xxxx/site-www.xxxx.com-20160824-220011.jpa X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIUAXU7VOMBZCAGPQ%2F20160825%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20160825T130022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host host:s3-eu-central-1.amazonaws.com host UNSIGNED-PAYLOAD47 45 54 0a 2f 73 69 6d 70 6c 79 65 6e 64 6f 2f 73 69 74 65 2d 77 77 77 2e 73 69 6d 70 6c 79 65 6e 64 6f 2e 63 6f 6d 2d 32 30 31 36 30 38 32 34 2d 32 32 30 30 31 31 2e 6a 70 61 0a 58 2d 41 6d 7a 2d 41 6c 67 6f 72 69 74 68 6d 3d 41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 26 58 2d 41 6d 7a 2d 43 72 65 64 65 6e 74 69 61 6c 3d 41 4b 49 41 49 55 41 58 55 37 56 4f 4d 42 5a 43 41 47 50 51 25 32 46 32 30 31 36 30 38 32 35 25 32 46 65 75 2d 63 65 6e 74 72 61 6c 2d 31 25 32 46 73 33 25 32 46 61 77 73 34 5f 72 65 71 75 65 73 74 26 58 2d 41 6d 7a 2d 44 61 74 65 3d 32 30 31 36 30 38 32 35 54 31 33 30 30 32 32 5a 26 58 2d 41 6d 7a 2d 45 78 70 69 72 65 73 3d 31 30 26 58 2d 41 6d 7a 2d 53 69 67 6e 65 64 48 65 61 64 65 72 73 3d 68 6f 73 74 0a 68 6f 73 74 3a 73 33 2d 65 75 2d 63 65 6e 74 72 61 6c 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73 2e 63 6f 6d 0a 0a 68 6f 73 74 0a 55 4e 53 49 47 4e 45 44 2d 50 41 59 4c 4f 41 442811F7A24D74292Dw6NmzgT3HPAZAJIAbzdi+hVhPXaqfHAqGJxi14xwghodpzPSWroHxQyNOdEtvg/l/WWPoVFl2w0=

What might the issue be please?

jderrick
By the way, I have logged directly in to Amazon S3 and have been able to download and restore the backup's no trouble.

nicholas
Akeeba Staff
Manager
This was indeed a bug due to some misleading information in Amazon's documentation. It only happens if you use the v4 signature method (v2 is not affected).

I managed to figure out what Amazon S3 really expects us to do, as opposed to what they documented they expect us to do, and made a fix for this issue. Please download the latest development version of Akeeba Backup from https://www.akeebabackup.com/download/developer-releases/akeebapro/rev6212994.html and install it on your site. The download to browser should now work just fine.

Thank you in advance for your feedback!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

jderrick
Great stuff thanks for this!

To be honest I'll hold off from installing the dev version and wait for the next general release. I can live with the issue until then.

Jamie

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!