{"action":"created","issue":{"url":"https://api.github.com/repos/s3tools/s3cmd/issues/491","labels_url":"https://api.github.com/repos/s3tools/s3cmd/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/s3tools/s3cmd/issues/491/comments","events_url":"https://api.github.com/repos/s3tools/s3cmd/issues/491/events","html_url":"https://github.com/s3tools/s3cmd/issues/491","id":60221881,"number":491,"title":"AmazonS3 Header Error: SignatureDoesNotMatch","user":{"login":"dsbcpas","id":1493043,"avatar_url":"https://avatars.githubusercontent.com/u/1493043?v=3","gravatar_id":"","url":"https://api.github.com/users/dsbcpas","html_url":"https://github.com/dsbcpas","followers_url":"https://api.github.com/users/dsbcpas/followers","following_url":"https://api.github.com/users/dsbcpas/following{/other_user}","gists_url":"https://api.github.com/users/dsbcpas/gists{/gist_id}","starred_url":"https://api.github.com/users/dsbcpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsbcpas/subscriptions","organizations_url":"https://api.github.com/users/dsbcpas/orgs","repos_url":"https://api.github.com/users/dsbcpas/repos","events_url":"https://api.github.com/users/dsbcpas/events{/privacy}","received_events_url":"https://api.github.com/users/dsbcpas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-07T20:00:43Z","updated_at":"2015-04-20T21:18:24Z","closed_at":null,"body":"s3cmd version 1.5.2 (from master branch on Feb 28th, 2015).\r\n1 small unusual file of 70,000 will not \"put\" nor \"sync\" and throws this error.  \r\nSeems to me that it's the content of the file and its suffix causing the problem.\r\n\r\nExcerpts of applicable debug statements indicates a content-type error? The file is too old to be xml as indicated. It's used in an older application.\r\n\r\nInterestingly:\r\n1. When the error is encountered during a sync, the entire sync is aborted, not just this file.\r\n2. If I specify --mime-type=image/jpeg it uploads without an error (it's not a jpeg file.)\r\n\r\nDEBUG: Response: {'status': 403, 'headers': {'x-amz-id-2': ' [coding deleted]', 'server': 'AmazonS3', 'transfer-encoding': 'chunked', 'connection': 'close', 'x-amz-request-id': '[coding deleted]', 'date': 'Sat, 07 Mar 2015 17:12:40 GMT', 'content-type': 'application/xml'}, 'reason': 'Forbidden', 'data': '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method."},"comment":{"url":"https://api.github.com/repos/s3tools/s3cmd/issues/comments/94571499","html_url":"https://github.com/s3tools/s3cmd/issues/491#issuecomment-94571499","issue_url":"https://api.github.com/repos/s3tools/s3cmd/issues/491","id":94571499,"user":{"login":"jamiejackson","id":479475,"avatar_url":"https://avatars.githubusercontent.com/u/479475?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiejackson","html_url":"https://github.com/jamiejackson","followers_url":"https://api.github.com/users/jamiejackson/followers","following_url":"https://api.github.com/users/jamiejackson/following{/other_user}","gists_url":"https://api.github.com/users/jamiejackson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiejackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiejackson/subscriptions","organizations_url":"https://api.github.com/users/jamiejackson/orgs","repos_url":"https://api.github.com/users/jamiejackson/repos","events_url":"https://api.github.com/users/jamiejackson/events{/privacy}","received_events_url":"https://api.github.com/users/jamiejackson/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T21:18:24Z","updated_at":"2015-04-20T21:18:24Z","body":"Maybe I'll try playing with `ConnMan.conn_max_counter`, if I can manage to reproduce the issue as consistently as I had been before."}}