411 Length required when auto uploading backups to Google Cloud Storage (S3)
The server is logging the below error while trying to upload the backups to Google Cloud Storage. Some are succeeding, but most are failing:
[2022-01-02 01:43:21 +0000] info [cpbackup_transporter] Upload attempt #3 starting for /backup/2022-01-02/accounts/*******.tar.gz to /weekly/2022-01-02/accounts/******.tar.gz for destination: Google Cloud Storage
[2022-01-02 01:43:21 +0000] warn [cpbackup_transporter] Upload attempt failed: Failure in initiate_multipart_upload: Amazon::S3: Amazon responded with 411 Length Required
at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Amazon/S3/Bucket.pm line 99.
at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 27
I think length header is not being sent while doing a multipart upload for a larger site or something.
-
HI You must provide the Content-Length HTTP header Regards HostNoc 0 -
That is apparently obvious. However the thing is that it is the cpanel backup script that is doing the backup, so it must provide the content length header when it encounters any backup that is more than one part. And apparently it is not doing that. Im using the standard cpanel features, this is not a custom feature. 0 -
Hello! It looks like there could be various issues happening here. Would you be able to open a ticket using the link in my signature and update me once done? 0 -
Were you able to get this resolved?
Nope. It turned out that there is no way to use Google Storage with cPanel backup. It just doesn't work.0 -
I'm sorry to hear that; thank you for the update. 0
Please sign in to leave a comment.
Comments
7 comments