Displaying 2 results from an estimated 2 matches for "my_secret_key".
2012 May 25
1
Connect reset by peer error
...ms[:code]
url = URI.parse(''access token request url'')
req = Net::HTTP::Post.new(url.path)
req.set_form_data({''auth_code'' => @code, ''client_id''=>''my_client_id'', ''client_secret''=>''my_secret_key''}, '';'')
res = Net::HTTP.new(url.host, url.port).start { |http| http.request(req) }
case res
when Net::HTTPSuccess, Net::HTTPRedirection
# OK
else
# res.error!
end
render :text => @code.inspect
end
I get a valid authorization code but...
2013 Jun 28
1
[HELP PLEASE!] attachment_fu and aws-s3
...''145x145>'',
:normal => ''480x360>''
}
validates_as_attachment
amazon_s3.yml
development:
bucket_name: ''mybucket''
access_key_id: ''my_access_key''
secret_access_key: ''my_secret_key''
test:
bucket_name:
access_key_id:
secret_access_key:
production:
bucket_name:
access_key_id:
secret_access_key:
Im getting this error:
AWS::S3::PermanentRedirect in PhotoController#create
The bucket you are attempting to access must be addressed using the
specified endpoi...