> You don't seem to have an S3 bucket defined (or is that defined in the
> amazon.yml?). That could be confusing RightAWS.
Thanks for the reply. The bucket is defined in my amazon.yml:
CREDENTIALS: &CREDENTIALS
access_key_id: ...
secret_access_key: ...
development:
bucket: st_andrews/development
<<: *CREDENTIALS
test:
bucket: st_andrews/test
<<: *CREDENTIALS
production:
bucket: st_andrews/production
<<: *CREDENTIALS
> Is it a problem that it's opening an HTTPS connection?
No, it's not a problem. It surprised me though and I thought it might
be a symptom of whatever's preventing this from working.
Regards,
Andy Stewart
> RightAws::AwsError (MissingContentLength: You must provide the
> Content-
> Length HTTP header.):
It seems S3 requires the Content-Length header on various operations,
such as bucket creation, and right_aws v1.10.0 doesn't implement this.
Happily Dilshod fixed this in November last year so I grabbed his
change, made a gem, and replaced RightScale's v1.10.0 with mine.
Everything now works.
http://github.com/airblade/right_aws/commit/e6cf18db65a4921615c88cdf52a14dafe94139d8
Regards,
Andy Stewart
------
http://airbladesoftware.com