Paperclip和amazon s3 - 连接被拒绝,端口443

时间:2015-02-13 14:30:35

标签: ruby-on-rails amazon-web-services amazon-s3 paperclip

我正在尝试使用s3设置回形针,但得到:

Connection refused - connect(2) for "bjjbase.com.s3-website-us-west-2.amazonaws.com" port 443

我的aws.yml:

development:
  access_key_id: xxxxxxxxxx
  secret_access_key: xxxxxxxxx

拥有这些令牌的IAM用户AmazonS3FullAccess

development.rb:

config.paperclip_defaults = {
  :storage => :s3,
  :s3_host_name => 'bjjbase.com.s3-website-us-west-2.amazonaws.com',
  :s3_credentials => {
    :bucket => 'bjjbase.com'
  }

不确定它是否重要,但我的机器在波兰华沙。

0 个答案:

没有答案