/Library/Ruby/Gems/2.0.0/gems/aws-sdk-core-2.2.11/lib/seahorse/client/plugins/raise_response_errors.rb:15:in `call': The request signature we calculated does not match the signature you provided. Check your key and signing method. (Aws::S3::Errors::SignatureDoesNotMatch) from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-core-2.2.11/lib/aws-sdk-core/plugins/s3_sse_cpk.rb:18:in `call' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-core-2.2.11/lib/aws-sdk-core/plugins/param_converter.rb:20:in `call' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-core-2.2.11/lib/seahorse/client/plugins/response_target.rb:21:in `call' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-core-2.2.11/lib/seahorse/client/request.rb:70:in `send_request' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-core-2.2.11/lib/seahorse/client/base.rb:207:in `block (2 levels) in define_operation_methods' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.2.11/lib/aws-sdk-resources/services/s3/file_uploader.rb:42:in `block in put_object' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.2.11/lib/aws-sdk-resources/services/s3/file_uploader.rb:49:in `open_file' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.2.11/lib/aws-sdk-resources/services/s3/file_uploader.rb:41:in `put_object' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.2.11/lib/aws-sdk-resources/services/s3/file_uploader.rb:34:in `upload' from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.2.11/lib/aws-sdk-resources/services/s3/object.rb:231:in `upload_file' from build.rb:240:in `<main>'
위와 같은 에러가 발생하여 확인해보니
aws crediential을 설정하는 부분에 띄어쓰기 문자가 들어있었다. 띄어쓰기나 다른 들어가면 안되는 문자가 있는지 확인해보자
'Ruby' 카테고리의 다른 글
[Ruby] autoload (0) | 2016.01.04 |
---|---|
[Ruby] at_exit (0) | 2015.12.30 |
[Ruby] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) (2) | 2015.12.16 |
[Ruby] 로 jenkins & LINE 원격 환경 구성하기 (4) | 2015.12.07 |
[Ruby] binding_of_caller (0) | 2015.11.27 |