{"action":"created","issue":{"url":"https://api.github.com/repos/andrewgaul/s3proxy/issues/96","labels_url":"https://api.github.com/repos/andrewgaul/s3proxy/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/andrewgaul/s3proxy/issues/96/comments","events_url":"https://api.github.com/repos/andrewgaul/s3proxy/issues/96/events","html_url":"https://github.com/andrewgaul/s3proxy/issues/96","id":117695050,"number":96,"title":"[Azure] Upload file to a bucket ends in error","user":{"login":"ritazh","id":1856066,"avatar_url":"https://avatars.githubusercontent.com/u/1856066?v=3","gravatar_id":"","url":"https://api.github.com/users/ritazh","html_url":"https://github.com/ritazh","followers_url":"https://api.github.com/users/ritazh/followers","following_url":"https://api.github.com/users/ritazh/following{/other_user}","gists_url":"https://api.github.com/users/ritazh/gists{/gist_id}","starred_url":"https://api.github.com/users/ritazh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritazh/subscriptions","organizations_url":"https://api.github.com/users/ritazh/orgs","repos_url":"https://api.github.com/users/ritazh/repos","events_url":"https://api.github.com/users/ritazh/events{/privacy}","received_events_url":"https://api.github.com/users/ritazh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-18T22:19:18Z","updated_at":"2015-11-18T22:44:10Z","closed_at":null,"body":"Using this sample code here:\r\nhttps://github.com/aws/aws-sdk-java/blob/master/src/samples/AmazonS3/S3Sample.java#L119\r\n\r\nError:\r\nat com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1398): Input is expected to be encoded in multiple of 2 bytes but found: 17\r\n\r\nFile was uploaded successfully, but ends in exception.\r\n\r\nSame test runs successfully against AWS S3.\r\n\r\nI see this PR added etag support for AzureBlob. https://github.com/jclouds/jclouds/pull/716/files"},"comment":{"url":"https://api.github.com/repos/andrewgaul/s3proxy/issues/comments/157889040","html_url":"https://github.com/andrewgaul/s3proxy/issues/96#issuecomment-157889040","issue_url":"https://api.github.com/repos/andrewgaul/s3proxy/issues/96","id":157889040,"user":{"login":"ritazh","id":1856066,"avatar_url":"https://avatars.githubusercontent.com/u/1856066?v=3","gravatar_id":"","url":"https://api.github.com/users/ritazh","html_url":"https://github.com/ritazh","followers_url":"https://api.github.com/users/ritazh/followers","following_url":"https://api.github.com/users/ritazh/following{/other_user}","gists_url":"https://api.github.com/users/ritazh/gists{/gist_id}","starred_url":"https://api.github.com/users/ritazh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritazh/subscriptions","organizations_url":"https://api.github.com/users/ritazh/orgs","repos_url":"https://api.github.com/users/ritazh/repos","events_url":"https://api.github.com/users/ritazh/events{/privacy}","received_events_url":"https://api.github.com/users/ritazh/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T22:44:10Z","updated_at":"2015-11-18T22:44:10Z","body":"Adding more info, in `com.amazonaws.util`, `Base16Codec` is expecting an even length.\r\n\r\n```\r\npublic byte[] decode(byte[] src, final int length)\r\n    {\r\n        if (length % 2 != 0) {\r\n            throw new IllegalArgumentException(\r\n                \"Input is expected to be encoded in multiple of 2 bytes but found: \"\r\n                + length\r\n            );\r\n        }\r\n        final byte[] dest = new byte[length / 2];\r\n```"}}