Ruby on Rails
Friday, June 28, 2013
On Friday, June 28, 2013 3:50:39 AM UTC+1, Ruby-Forum.com User wrote:
Im getting this error:
AWS::S3::PermanentRedirect in PhotoController#create
The bucket you are attempting to access must be addressed using the
specified endpoint. Please send all future requests to this endpoint.
Amazon is telling you to correct to the endpoint for your region /bucket ( looks like bucketname.s3-eu-west-1.amazonaws.com for a bucket in eu-west-1)
It looks like with the s3 gem you are using you need to figure out that host and pass it as the :server option
Fred
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3b6fa74a-8ea7-4469-81af-933765a0ecfd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment