appoxy / aws

Amazon Web Services (AWS) Ruby Gem
https://rubygems.org/gems/aws
236 stars 87 forks source link

Can't use EU, Tokyo, Singapore buckets in S3 since feb 23 #68

Closed tomandersen closed 13 years ago

tomandersen commented 13 years ago

There was a code change Feb 23, 2011, that killed many or all bucket listing, etc for any bucket that is not in the US classic region.

fetch_request_params now always uses a 'classic' old style path based url - which only works for US classic buckets, and nowhere else.

virtual - hosted style requests MUST be used on all EU, Tokyo, etc buckets.

http://docs.amazonwebservices.com/AmazonS3/latest/dev/

tomandersen commented 13 years ago

Bug #50 is related. Note that a fix like that suggested by goldmann looks better, as it would allow users of S3 clones to force the use of path style bucket access.

treeder commented 13 years ago

Is this good now?

tomandersen commented 13 years ago

I will have to look tomorrow.

I am not a gem expert - if I ask for 2.4.5 will I get the latest from git hub?

The fix looks ok, but it will be easy to test here, if I can type:

gem uninstall aws

then

gem install aws -v 2.4.5

Or is there some other way to get the current head as a gem installed?

Sorry about the newbie experience. I mostly program C and Objective - C

https://client.spotdocuments.com/ and click on test drive to see the aws gem at work...

--Tom

On 2011-04-19, at 4:41 PM, treeder wrote:

Is this good now?

Reply to this email directly or view it on GitHub: https://github.com/appoxy/aws/issues/68#comment_1029244

treeder commented 13 years ago

Looks cool! Nice work.

As for getting latest gem, it's not quite that easy so maybe you just want to wait until next release (soon).

On Tue, Apr 19, 2011 at 3:17 PM, tomandersen < reply@reply.github.com>wrote:

I will have to look tomorrow.

I am not a gem expert - if I ask for 2.4.5 will I get the latest from git hub?

The fix looks ok, but it will be easy to test here, if I can type:

gem uninstall aws

then

gem install aws -v 2.4.5

Or is there some other way to get the current head as a gem installed?

Sorry about the newbie experience. I mostly program C and Objective - C

https://client.spotdocuments.com/ and click on test drive to see the aws gem at work...

--Tom

On 2011-04-19, at 4:41 PM, treeder wrote:

Is this good now?

Reply to this email directly or view it on GitHub: https://github.com/appoxy/aws/issues/68#comment_1029244

Reply to this email directly or view it on GitHub: https://github.com/appoxy/aws/issues/68#comment_1029747