Backup to S3 fails periodically with "Missing Location header"

The scheduled backup to S3 (Europe) fails about half of the time with no particular pattern.

I am running Virtualmin 3.65 Pro

Example error email:

Creating backup for virtual server xxxxxxx.com ..

Copying virtual server configuration ..
.. done

Backing up Cron jobs ..
.. none defined.

Creating TAR file of home directory ..
.. done

Copying Apache virtual host configuration ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database annecharnock ..
.. done

Backing up AWstats configuration file ..
.. done

Creating backup for virtual server xxxxxxxxx.co.uk ..

Copying virtual server configuration ..
.. done

Backing up Cron jobs ..
.. done

Creating TAR file of home directory ..
.. done

Copying Apache virtual host configuration ..
.. done

Copying Webalizer configuration files ..
.. done

Copying SSL Apache virtual host configuration and certificate ..
.. done

Copying Logrotate configuration ..
.. no log rotation configuration found!

Backing up AWstats configuration file ..
.. done

Creating backup for virtual server xxxxxxx.com ..

Copying virtual server configuration ..
.. done

Backing up Cron jobs ..
.. none defined.

Creating TAR file of home directory ..
.. done

Copying Apache virtual host configuration ..
.. done

Copying Webalizer configuration files ..
.. done

Copying Logrotate configuration ..
.. done

Backing up Webmin ACL files ..
.. done

Backing up AWstats configuration file ..
.. done

Backing up bootup actions ..
.. none found

Creating backup for virtual server xxxxxxxxx.co.uk ..

Copying virtual server configuration ..
.. done

Backing up Cron jobs ..
.. none defined.

Creating TAR file of home directory ..
.. done

Copying Apache virtual host configuration ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database goingcarbonneutral ..
.. done

Backing up AWstats configuration file ..
.. done

Creating backup for virtual server xxxxxxxxx.com ..

Copying virtual server configuration ..
.. done

Backing up Cron jobs ..
.. none defined.

Creating TAR file of home directory ..
.. done

Copying Apache virtual host configuration ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database oilfieldreview ..
.. done

Backing up Webmin ACL files ..
.. done

Backing up AWstats configuration file ..
.. done

Backing up bootup actions ..
.. none found

Creating backup for virtual server xxxxxxxxxxx.org ..

Copying virtual server configuration ..
.. done

Backing up Cron jobs ..
.. none defined.

Creating TAR file of home directory ..
.. done

Copying Apache virtual host configuration ..
.. done

Copying Webalizer configuration files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database carbonleapfrog ..
.. done

Backing up AWstats configuration file ..
.. done

Backing up Virtualmin settings (Module configuration, Server templates, Reseller accounts, New mailbox email messages, Custom fields, links and shells, Third-party script installers, Third-party content styles, Scheduled Virtualmin backups) ..
.. done

Creating final backup archive ..
.. done

Uploading archive to Amazon's S3 service ..
.. upload failed! Missing Location header

Backup failed! See the progress output above for the reason why. Total backup time was 15 minutes, 41 seconds.

Sent by Virtualmin at: https://MYSITE.COM:10000

Status: 
Closed (fixed)