mercredi 1 avril 2015

Status code 500 Paperclip amazon s3 connection refused - (Connection refused - connect(2) for "nexhealth-images-test.s3.amazonaws.com" port 443

Paperclip can't seem to connect to my amazon s3 bucket instance it gives this error -



*** Exception Errno::ECONNREFUSED in Rack application object (Connection refused - connect(2) for "nexhealth-images-test.s3.amazonaws.com" port 443)

my production.rb is this
config.paperclip_defaults = {
:storage => :s3,
:s3_credentials => {
:bucket => 'nexhealth-images',
:access_key_id => 'accesskey',
:secret_access_key => 'seceretkey',
:host_name => 's3-website-us-east-1'
},
:default_url => "/missing.png",
:path => "/:attachment/:id/:style/:filename",
:url => "/:attachment/:id/:style/:filename"
}


paperclip version 4.2.0 aws-sdk version





Aucun commentaire:

Enregistrer un commentaire