I can successfully perform S3 backups to a bucket in the S3 “US Standard” region, but when I try to point Discourse at my bucket in the “Ireland” region (aka eu-west-1?) I get the following failure:
[2014-07-07 13:41:08] Creating empty archive... [2014-07-07 13:41:08] Archiving metadata... [2014-07-07 13:41:08] Archiving data dump... [2014-07-07 13:41:08] Archiving uploads... [2014-07-07 13:41:09] Gzipping archive... [2014-07-07 13:41:11] Executing the after_create_hook for the backup [2014-07-07 13:41:20] EXCEPTION: Connection reset by peer (Errno::ECONNRESET) [2014-07-07 13:41:20] /usr/local/lib/ruby/2.0.0/openssl/buffering.rb:376:in `syswrite_nonblock' /usr/local/lib/ruby/2.0.0/openssl/buffering.rb:376:in `write_nonblock'
This fails every time I use a bucket created in S3 region of Ireland, and a Discourse setting of eu-west-1. (Why are these labeled differently?) If I keep all other settings the same, but use the us-east-1 setting in Discourse and an S3 region of US Standard, things work fine.
I’d prefer to keep my backups in Europe, as is the server running my Discourse instance. Any ideas how to get S3 backups to Ireland working, or how to troubleshoot the error further?
BTW: There is a line in the logs at the end of the failed backup process saying a (Discourse) notification will be sent to me, but it never arrives.