{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/86","repository_url":"https://api.github.com/repos/aws/aws-sdk-js","labels_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/86/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/86/events","html_url":"https://github.com/aws/aws-sdk-js/issues/86","id":12555739,"number":86,"title":" 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","user":{"login":"pilani","id":2989528,"avatar_url":"https://avatars.githubusercontent.com/u/2989528?v=3","gravatar_id":"","url":"https://api.github.com/users/pilani","html_url":"https://github.com/pilani","followers_url":"https://api.github.com/users/pilani/followers","following_url":"https://api.github.com/users/pilani/following{/other_user}","gists_url":"https://api.github.com/users/pilani/gists{/gist_id}","starred_url":"https://api.github.com/users/pilani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilani/subscriptions","organizations_url":"https://api.github.com/users/pilani/orgs","repos_url":"https://api.github.com/users/pilani/repos","events_url":"https://api.github.com/users/pilani/events{/privacy}","received_events_url":"https://api.github.com/users/pilani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-sdk-js/labels/Feedback%20Requested","name":"Feedback Requested","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2013-03-28T09:50:52Z","updated_at":"2016-06-28T00:30:52Z","closed_at":"2013-04-30T19:21:10Z","body":"I am using aws-sdk for node.js and making an API call to copyImage method using EC2 client from Singapore region to Tokyo.\r\nI have a about 26 AMIs that I need to copy so I have written a program and am initiating the copy process parallely for all.\r\nwhile copying i am getting this error\" 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\" for some AMI's.\r\nSuppose i run my program 3 times then its not necessary that this error will come for same AMI(source region) every run.\r\nIts coming randomly for some Images and for some its succeeding.\r\nPlease revert back on this issue.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/comments/228915785","html_url":"https://github.com/aws/aws-sdk-js/issues/86#issuecomment-228915785","issue_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/86","id":228915785,"user":{"login":"LiuJoyceC","id":12114318,"avatar_url":"https://avatars.githubusercontent.com/u/12114318?v=3","gravatar_id":"","url":"https://api.github.com/users/LiuJoyceC","html_url":"https://github.com/LiuJoyceC","followers_url":"https://api.github.com/users/LiuJoyceC/followers","following_url":"https://api.github.com/users/LiuJoyceC/following{/other_user}","gists_url":"https://api.github.com/users/LiuJoyceC/gists{/gist_id}","starred_url":"https://api.github.com/users/LiuJoyceC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiuJoyceC/subscriptions","organizations_url":"https://api.github.com/users/LiuJoyceC/orgs","repos_url":"https://api.github.com/users/LiuJoyceC/repos","events_url":"https://api.github.com/users/LiuJoyceC/events{/privacy}","received_events_url":"https://api.github.com/users/LiuJoyceC/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T00:30:52Z","updated_at":"2016-06-28T00:30:52Z","body":"Hi @filipegmiranda \r\nSince you are getting a signature mismatch error, can you provide the signature version you are using (v2 or v4)? What version of the AWS SDK are you using? How are you instantiating the S3 service object? What options are you passing in to the S3 constructor when you instantiate it?\r\nNote that the endpoints configured on an S3 service object is determined when you instantiate it, so changing the region on it later (`s3.region = \"eu-west-1\"`) won't correct the endpoint to the right region. You'll need to pass in the region as an option to the S3 constructor when instantiating it. The latest version of the SDK supports redirecting the endpoint to the right region for Amazon S3 but is not able to override custom endpoints if you are using a 3rd party S3 clone."}}
{"actor":{"display_login":"LiuJoyceC"}}