{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio/issues/1007","labels_url":"https://api.github.com/repos/minio/minio/issues/1007/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio/issues/1007/comments","events_url":"https://api.github.com/repos/minio/minio/issues/1007/events","html_url":"https://github.com/minio/minio/issues/1007","id":122560863,"number":1007,"title":"AWS SDK - Auth error","user":{"login":"rafaelsisweb","id":7429379,"avatar_url":"https://avatars.githubusercontent.com/u/7429379?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelsisweb","html_url":"https://github.com/rafaelsisweb","followers_url":"https://api.github.com/users/rafaelsisweb/followers","following_url":"https://api.github.com/users/rafaelsisweb/following{/other_user}","gists_url":"https://api.github.com/users/rafaelsisweb/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelsisweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelsisweb/subscriptions","organizations_url":"https://api.github.com/users/rafaelsisweb/orgs","repos_url":"https://api.github.com/users/rafaelsisweb/repos","events_url":"https://api.github.com/users/rafaelsisweb/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelsisweb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minio/minio/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/minio/minio/labels/in%20progress","name":"in progress","color":"c7def8"},{"url":"https://api.github.com/repos/minio/minio/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-12-16T17:30:02Z","updated_at":"2015-12-18T00:17:08Z","closed_at":null,"body":"Hi, I'm tring to use oficial java sdk but minio return an auth error:\r\n\r\nERRO[1132] Initializing signature v4 failed.             Error={Cause:Missing fields in auth header Type:*errors.errorString CallTrace:[{Line:46 Filename:api-signature.go Function:main.getCredentialsFromAuth Env:map[]} {Line:77 Filename:api-signature.go Function:main.isValidRegion Env:map[]} {Line:89 Filename:api-signature.go Function:main.stripAccessKeyID Env:map[]} {Line:108 Filename:api-signature.go Function:main.initSignatureV4 Env:map[]} {Line:92 Filename:signature-handler.go Function:main.signatureHandler.ServeHTTP Env:map[]}] SysInfo:map[host.name:chupacabra host.lang:go1.5.1 mem.heap.used:1.2MB host.arch:amd64 host.cpus:4 mem.used:1.2MB mem.total:5.5MB mem.heap.total:2.7MB host.os:linux]}\r\n\r\n\r\nAws sample code\r\n```\r\nAWSCredentials credentials = new BasicAWSCredentials(\"KL5HT9MO4UFV91V2UH3L\", \"6/WVA8WrkYyKHSi4hmQfaU/zR3nQcj5LDGG7CqUM\");\r\nAmazonS3 s3Client = new AmazonS3Client(credentials);\r\n//s3Client.setRegion(Region.getRegion(Regions.US_EAST_1));\r\ns3Client.setEndpoint(\"http://minioHOST:PORT\");\r\ns3Client.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true));\r\ns3Client.listBuckets().forEach((bucket) -> {\r\n    System.out.println(bucket.getName());\r\n});\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/minio/minio/issues/comments/165622105","html_url":"https://github.com/minio/minio/issues/1007#issuecomment-165622105","issue_url":"https://api.github.com/repos/minio/minio/issues/1007","id":165622105,"user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T00:17:08Z","updated_at":"2015-12-18T00:17:08Z","body":"Not sure why the Content-MD5 mismatches. for Java alone and not Golang. "}}