SOLVED [CPANEL-25926] Amazon S3 backups fail if the destination's folder name has spaces

Gareth Johnstone

Registered
Dec 7, 2017
4
0
1
Scottish Borders
cPanel Access Level
Root Administrator
I've had a backup to s3 setup for over a year now and its ran smooth as!

Recently I've started to notice 403 errors in the logs stating that the backup transport has failed!

When checking the destination in WHM i noticed that I'm getting the following error when re-validating the destination:

Code:
“Amazon S3” failed: Could not create path directory “/BACKUP_PATH_REMOVED_TO_HIDE_REAL_DESTINATION/”: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Nothing has changed on the AWS side of things (ie: auth, folder structures etc...)

Any ideas?
 

waheuler

Registered
Mar 2, 2019
1
0
0
California
cPanel Access Level
Root Administrator
I've had a backup to s3 setup for over a year now and its ran smooth as!

Recently I've started to notice 403 errors in the logs stating that the backup transport has failed!

When checking the destination in WHM i noticed that I'm getting the following error when re-validating the destination:

Code:
“Amazon S3” failed: Could not create path directory “/BACKUP_PATH_REMOVED_TO_HIDE_REAL_DESTINATION/”: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Nothing has changed on the AWS side of things (ie: auth, folder structures etc...)

Any ideas?
Did you get a resolution to this? I am getting the same error as of a week or so ago.

Thanks!
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

To update, internal case CPANEL-25926 was opened to report an issue where backups to Amazon S3 destinations fail if the destination's folder name includes a space. Here's an example of the error message:

Error: Validation for transport “test” failed: Could not create path directory “/folder with spaces/”: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
I'll monitor this case and update this thread with more information on it's status as it becomes available. In the meantime, the temporary workaround is to change the folder name to one that does not utilize a space character.

Thank you.