|OS type and version:||Ubuntu 18.04.6 LTS|
On just a single server we have an issue where S3 backups are failing to upload. Virtualmin only responds with:
Uploading archive to Amazon's S3 service .. .. upload failed! Invalid HTTP response : HTTP/1.1 400 Bad Request Backup failed! See the progress output above for the reason why.
Triple checked credentials and have tried with S3 encryption on and off.
Using the aws cli tool on command line works fine, but fails through Virtualmin.
We enabled debug logging in Webmin and could see that there were multiple TCP connections to AWS but the logs didn’t give anything of use.
The backup file is just 4MB so filesize shouldn’t cause any issues.
file=/etc/webmin/virtual-server/backups/148880307532283 days=* parent=1 enabled=2 strftime=1 months=* key= onebyone=1 feature_all=0 increment=1 mins=0 hours=4 plan= kill=0 email@example.com fmt=1 special= mkdir=1 purge= doms= interval= exclude= email_err=1 all=1 email_doms= after= errors=0 weekdays=* before= id=148880307532283 virtualmin= features=mysql dest=s3://[redacted]@s3-bucket-name/Database/%Y-%m-%d.database ownrestore=0 compression= reseller= desc=