{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2151","repository_url":"https://api.github.com/repos/thoughtbot/paperclip","labels_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2151/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2151/comments","events_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2151/events","html_url":"https://github.com/thoughtbot/paperclip/issues/2151","id":143602162,"number":2151,"title":"S3: The bucket you are attempting to access must be addressed using the specified endpoint.","user":{"login":"aminariana","id":1071917,"avatar_url":"https://avatars.githubusercontent.com/u/1071917?v=3","gravatar_id":"","url":"https://api.github.com/users/aminariana","html_url":"https://github.com/aminariana","followers_url":"https://api.github.com/users/aminariana/followers","following_url":"https://api.github.com/users/aminariana/following{/other_user}","gists_url":"https://api.github.com/users/aminariana/gists{/gist_id}","starred_url":"https://api.github.com/users/aminariana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aminariana/subscriptions","organizations_url":"https://api.github.com/users/aminariana/orgs","repos_url":"https://api.github.com/users/aminariana/repos","events_url":"https://api.github.com/users/aminariana/events{/privacy}","received_events_url":"https://api.github.com/users/aminariana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-25T21:24:31Z","updated_at":"2016-03-29T13:14:53Z","closed_at":null,"body":"The S3 link generated for the images is incorrect. It needs to use a different endpoint format.\r\n\r\nActual:\r\n**s3.amazonaws.com/bucket** in:\r\n`https://s3.amazonaws.com/bucket/model/1/attachment/style.jpg`\r\n\r\nExpected:\r\n**bucket.s3.amazonaws.com** in response of GET requesting the URL above:\r\n`<Error>\r\n<Code>PermanentRedirect</Code>\r\n<Message>\r\nThe bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\r\n</Message>\r\n<Bucket>bucket</Bucket>\r\n<Endpoint>bucket.s3.amazonaws.com</Endpoint>\r\n<RequestId>...</RequestId>\r\n<HostId>\r\n...\r\n</HostId>\r\n</Error>\r\n`"},"comment":{"url":"https://api.github.com/repos/thoughtbot/paperclip/issues/comments/202887026","html_url":"https://github.com/thoughtbot/paperclip/issues/2151#issuecomment-202887026","issue_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2151","id":202887026,"user":{"login":"tute","id":54260,"avatar_url":"https://avatars.githubusercontent.com/u/54260?v=3","gravatar_id":"","url":"https://api.github.com/users/tute","html_url":"https://github.com/tute","followers_url":"https://api.github.com/users/tute/followers","following_url":"https://api.github.com/users/tute/following{/other_user}","gists_url":"https://api.github.com/users/tute/gists{/gist_id}","starred_url":"https://api.github.com/users/tute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tute/subscriptions","organizations_url":"https://api.github.com/users/tute/orgs","repos_url":"https://api.github.com/users/tute/repos","events_url":"https://api.github.com/users/tute/events{/privacy}","received_events_url":"https://api.github.com/users/tute/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T13:14:53Z","updated_at":"2016-03-29T13:14:53Z","body":"Should we drop the unsupported option?"}}