{"action":"created","issue":{"url":"https://api.github.com/repos/rusoto/rusoto/issues/167","repository_url":"https://api.github.com/repos/rusoto/rusoto","labels_url":"https://api.github.com/repos/rusoto/rusoto/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/rusoto/rusoto/issues/167/comments","events_url":"https://api.github.com/repos/rusoto/rusoto/issues/167/events","html_url":"https://github.com/rusoto/rusoto/issues/167","id":128347103,"number":167,"title":"SQS: credential sourcing errors not bubbling up correctly?","user":{"login":"matthewkmayer","id":4998189,"avatar_url":"https://avatars.githubusercontent.com/u/4998189?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewkmayer","html_url":"https://github.com/matthewkmayer","followers_url":"https://api.github.com/users/matthewkmayer/followers","following_url":"https://api.github.com/users/matthewkmayer/following{/other_user}","gists_url":"https://api.github.com/users/matthewkmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewkmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewkmayer/subscriptions","organizations_url":"https://api.github.com/users/matthewkmayer/orgs","repos_url":"https://api.github.com/users/matthewkmayer/repos","events_url":"https://api.github.com/users/matthewkmayer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewkmayer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-23T19:19:28Z","updated_at":"2016-03-28T18:59:36Z","closed_at":null,"body":"As seen in https://github.com/rusoto/rusoto/pull/165 when the credentials provider is returning errors it causes Bad Things to happen in a stack overflow rather than the expected behavior of returning errors up to the callers until someone handles it.\r\n\r\nHopefully a small, self-contained example can be put together to see this in action."},"comment":{"url":"https://api.github.com/repos/rusoto/rusoto/issues/comments/202529854","html_url":"https://github.com/rusoto/rusoto/issues/167#issuecomment-202529854","issue_url":"https://api.github.com/repos/rusoto/rusoto/issues/167","id":202529854,"user":{"login":"e-oz","id":526352,"avatar_url":"https://avatars.githubusercontent.com/u/526352?v=3","gravatar_id":"","url":"https://api.github.com/users/e-oz","html_url":"https://github.com/e-oz","followers_url":"https://api.github.com/users/e-oz/followers","following_url":"https://api.github.com/users/e-oz/following{/other_user}","gists_url":"https://api.github.com/users/e-oz/gists{/gist_id}","starred_url":"https://api.github.com/users/e-oz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-oz/subscriptions","organizations_url":"https://api.github.com/users/e-oz/orgs","repos_url":"https://api.github.com/users/e-oz/repos","events_url":"https://api.github.com/users/e-oz/events{/privacy}","received_events_url":"https://api.github.com/users/e-oz/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T18:59:36Z","updated_at":"2016-03-28T18:59:36Z","body":"Same with S3.\r\n\r\n```\r\nError: Status code was 403\r\nError response body: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>4BB241505082B</RequestId><HostId>KYSNmk26zq7loG7wNshgYxUtaaym1mfBrFvZP3kek2nWZ016VvvLVYqeSAkv7tPAMVc=</HostId></Error>\r\n\r\nthread '<unknown>' has overflowed its stack\r\nfatal runtime error: stack overflow\r\nAn unknown error occurred\r\n```\r\nDidn't expect it from rust crate."}}