Amazon S3 back up failure

12 posts / 0 new
Last post
#1 Wed, 09/13/2017 - 15:02
cs10

Amazon S3 back up failure

Hi everyone. I'm using the latest version of webmin/virtualmin with all updates installed. I have this running on centos 7.

I have signed up for Amazon S3 and have created a bucket and configured this in virtualmin. I can't view the bucket in the Amazon S3 bucket bit of virtualmin.

I have just tried to run a backup, but right at the end where it tries to upload the backup, it fails as follows:

Uploading archive to Amazon's S3 service .. .. upload failed! Invalid HTTP response : HTTP/1.1 400 Bad Request

What can I do to sort this or work out what is failing?

Many thanks in advance. Craig

Thu, 09/14/2017 - 15:20
cs10

I've been playing around with this again this evening.

If I try to backup to a bucket in Europe (London or Frankfurt) it fails as above.

However, backing up to a bucket in US works fine.

Any suggestions?

Thanks. Craig

Sat, 03/03/2018 - 17:40
christefano

Just wanted to chime in and say I had the same error. I'd created an IAM account at Amazon AWS that only had the relevant S3FullAccess permissions, and Virtualmin was unable to transfer backups to S3.

Selecting the "Do strftime-style time substitutions on file or directory name" and "Create destination directory" options on Virtualmin's backup configuration page resolved the issue for me.

Thu, 04/12/2018 - 17:19
sebtombs

I am having the same problem as Craig in eu-west-2 (London). christefano's work-around does not resolve the issue for me.

Mon, 05/21/2018 - 12:32
havfrue
havfrue's picture

Got the same problem. We're using S3 in Ireland, which works, but Virtualmin still can't backup to the London S3 servers it seems.

All the log says is this: Uploading archive to Amazon's S3 service .. .. upload failed! Invalid HTTP response : HTTP/1.1 400 Bad Request

Mon, 08/13/2018 - 08:48
Pierrot

Hi Same error here to Paris region ... tried to install the aws client ... Did you solve your problem ? Pierre.

Sun, 10/14/2018 - 03:06
sandstonealan

Any updates anyone? I've just signed up for S3 and have hit exactly the same problem. Backing up to the US works, London doesn't.

Tue, 10/16/2018 - 00:42
havfrue
havfrue's picture

Ours works now. I'm not sure when it happened, but I just double-checked, and we are indeed running on the London S3 now.

Tue, 10/16/2018 - 02:13
sandstonealan

Thanks havfrue. I'll keep my fingers crossed that ours just needs time to settle in too! I appreciate knowing there is hope :)

Wed, 12/05/2018 - 19:59
havfrue
havfrue's picture

After the latest update, this problem is back. Now we're getting the error on S3/London again, but only London - Cali is fine for example. Uploading archive to Amazon's S3 service .. .. upload failed! Invalid HTTP response : HTTP/1.1 400 Bad Request

Sun, 12/23/2018 - 09:44
rorymercer

I think it's because these servers do not support version 2 signatures:

  • US East (Ohio) Region
  • Canada (Central) Region
  • Asia Pacific (Mumbai) Region
  • Asia Pacific (Seoul) Region
  • EU (Frankfurt) Region
  • EU (London) Region
  • China (Beijing) Region

https://docs.aws.amazon.com/general/latest/gr/signature-version-2.html

Another post suggested that I install the AWS command line interface as a package - this didn't help either. Temporarily I have created a bucket in Ireland which works fine.

Fri, 12/28/2018 - 13:12
havfrue
havfrue's picture

Well it works now again. I think the only thing that happened was a Perl update.

Topic locked