Created
May 16, 2012 11:46
-
-
Save kbighorse/2709770 to your computer and use it in GitHub Desktop.
ses error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ruby-1.9.2-p180 :004 > AWS.config :access_key_id => ENV['AWS_SMTP_USERNAME'], :secret_access_key => ENV['AWS_SMTP_PASSWORD'] | |
| => <AWS::Core::Configuration> | |
| ruby-1.9.2-p180 :005 > ses = AWS::SimpleEmailService.new | |
| => <AWS::SimpleEmailService> | |
| ruby-1.9.2-p180 :006 > ses.send_email :subject => 'please work', :from => '[email protected]', :to => '[email protected]', :body_text => 'sample email text', :body_html => '<h1>sample email</h1>' | |
| AWS::SimpleEmailService::Errors::SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details. | |
| The Canonical String for this request should have been | |
| 'POST | |
| / | |
| content-type:application/x-www-form-urlencoded; charset=utf-8 | |
| host:email.us-east-1.amazonaws.com | |
| user-agent:aws-sdk-ruby/1.5.2 ruby/1.9.2 x86_64-darwin10.7.0 | |
| x-amz-date:20120516T114413Z | |
| content-type;host;user-agent;x-amz-date | |
| 5b06c98a6e75c323d98d28e97a82218932c42563eba28e53ba15f027b42d8fda' | |
| The String-to-Sign should have been | |
| 'AWS4-HMAC-SHA256 | |
| 20120516T114413Z | |
| 20120516/us-east-1/ses/aws4_request | |
| 6a04c6da8de4954dc93b849c0bada782c3cc93bc548cfddfe96429d003b379f1' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@tradingpost/gems/aws-sdk-1.5.2/lib/aws/core/client.rb:273:in `return_or_raise' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@tradingpost/gems/aws-sdk-1.5.2/lib/aws/core/client.rb:372:in `client_request' | |
| from (eval):3:in `send_email' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@tradingpost/gems/aws-sdk-1.5.2/lib/aws/simple_email_service.rb:281:in `send_email' | |
| from (irb):6 | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@tradingpost/gems/railties-3.1.4/lib/rails/commands/console.rb:45:in `start' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@tradingpost/gems/railties-3.1.4/lib/rails/commands/console.rb:8:in `start' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@tradingpost/gems/railties-3.1.4/lib/rails/commands.rb:40:in `<top (required)>' | |
| from script/rails:6:in `require' | |
| from script/rails:6:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment