{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/147","labels_url":"https://api.github.com/repos/docker/distribution/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/147/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/147/events","html_url":"https://github.com/docker/distribution/issues/147","id":56583692,"number":147,"title":"S3 driver cannot authenticate on Windows to run testsuite","user":{"login":"ahmetalpbalkan","id":159209,"avatar_url":"https://avatars.githubusercontent.com/u/159209?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetalpbalkan","html_url":"https://github.com/ahmetalpbalkan","followers_url":"https://api.github.com/users/ahmetalpbalkan/followers","following_url":"https://api.github.com/users/ahmetalpbalkan/following{/other_user}","gists_url":"https://api.github.com/users/ahmetalpbalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetalpbalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetalpbalkan/subscriptions","organizations_url":"https://api.github.com/users/ahmetalpbalkan/orgs","repos_url":"https://api.github.com/users/ahmetalpbalkan/repos","events_url":"https://api.github.com/users/ahmetalpbalkan/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetalpbalkan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/distribution/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/docker/distribution/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"BrianBland","id":2295742,"avatar_url":"https://avatars.githubusercontent.com/u/2295742?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBland","html_url":"https://github.com/BrianBland","followers_url":"https://api.github.com/users/BrianBland/followers","following_url":"https://api.github.com/users/BrianBland/following{/other_user}","gists_url":"https://api.github.com/users/BrianBland/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBland/subscriptions","organizations_url":"https://api.github.com/users/BrianBland/orgs","repos_url":"https://api.github.com/users/BrianBland/repos","events_url":"https://api.github.com/users/BrianBland/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBland/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-02-04T20:36:37Z","updated_at":"2015-07-24T01:02:49Z","closed_at":null,"body":"I'm using the same env vars on OS X/Windows and while tests are passing on OS X, they're failing with authentication errors on Windows. (details below) The time setting is correct on the Windows machine. I can't think of what else could be going wrong here. I double checked the credentials are correct.\r\n\r\nThis could be treated as a low-priority bug but others may start running into this once Windows containers are out.\r\n\r\n> Code:\"SignatureDoesNotMatch\", Message:\"The request signature we calculated does not match the signature you provided. Check your key and signing method.\"\r\n\r\n### Windows\r\n```\r\nc:\\gopath2\\src\\github.com\\docker\\distribution\\storagedriver\\s3>set AWS\r\nAWS_ACCESS_KEY=XXXXXXXX\r\nAWS_REGION=us-east-1\r\nAWS_SECRET_KEY=YYYYYYYY\r\n\r\nc:\\gopath2\\src\\github.com\\docker\\distribution\\storagedriver\\s3>set S3\r\nS3_BUCKET=mydockerregistry\r\nS3_ENCRYPT=false\r\n\r\nc:\\gopath2\\src\\github.com\\docker\\distribution\\storagedriver\\s3>go test -test.timeout=99h -test.short=true -check.vv -check.f TestStatCall\r\nSTART: c:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:95: DriverSuite.SetUpSuite\r\nPASS: c:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:95: DriverSuite.SetUpSuite   0.077s\r\n\r\nSTART: c:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:706: DriverSuite.TestStatCall\r\nc:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:726:\r\n    c.Assert(err, check.IsNil)\r\n... value *s3.Error = &s3.Error{StatusCode:403, Code:\"SignatureDoesNotMatch\", Message:\"The request signature we calculated does not match the signature you provided. Check your key and signing method.\", BucketName:\"\", Re\r\nquestId:\"5EEA14D5A0823277\", HostId:\"PIrLQjz8EwcEr2puH6XWJWJWwJzZtgZCVLfBD/qL26m++Oj7y09WpKkFDQ2zCNKo\"} (\"The request signature we calculated does not match the signature you provided. Check your key and signing method.\")\r\n\r\n\r\nSTART: c:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:115: DriverSuite.TearDownTest\r\nPASS: c:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:115: DriverSuite.TearDownTest        0.056s\r\n\r\nFAIL: c:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:706: DriverSuite.TestStatCall\r\n\r\nSTART: c:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:105: DriverSuite.TearDownSuite\r\nPASS: c:/gopath2/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:105: DriverSuite.TearDownSuite       0.000s\r\n\r\nOOPS: 0 passed, 1 FAILED\r\n--- FAIL: Test (0.35 seconds)\r\nFAIL\r\nexit status 1\r\nFAIL    github.com/docker/distribution/storagedriver/s3 0.487s\r\n```\r\n\r\n### OS X\r\n\r\n```\r\n$ env | grep AWS                                                                                                                                                                        [12:31:29]\r\nAWS_ACCESS_KEY=XXXXXXXXXX\r\nAWS_SECRET_KEY=YYYYYYYYYY\r\nAWS_REGION=us-east-1\r\n$ env | grep S3                                                                                                                                                                         [12:31:32]\r\nS3_BUCKET=mydockerregistry\r\nS3_ENCRYPT=false\r\n$ go test -test.timeout=99h -test.short=true -check.vv -check.f TestStatCall                                                                                                            [12:31:39]\r\nSTART: /Users/alp/workspace/gopath-docker-distribution/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:95: DriverSuite.SetUpSuite\r\nPASS: /Users/alp/workspace/gopath-docker-distribution/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:95: DriverSuite.SetUpSuite\t0.198s\r\n\r\nSTART: /Users/alp/workspace/gopath-docker-distribution/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:706: DriverSuite.TestStatCall\r\n\r\nSTART: /Users/alp/workspace/gopath-docker-distribution/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:115: DriverSuite.TearDownTest\r\nPASS: /Users/alp/workspace/gopath-docker-distribution/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:115: DriverSuite.TearDownTest\t0.044s\r\n\r\nPASS: /Users/alp/workspace/gopath-docker-distribution/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:706: DriverSuite.TestStatCall\t22.858s\r\n\r\nSTART: /Users/alp/workspace/gopath-docker-distribution/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:105: DriverSuite.TearDownSuite\r\nPASS: /Users/alp/workspace/gopath-docker-distribution/src/github.com/docker/distribution/storagedriver/testsuites/testsuites.go:105: DriverSuite.TearDownSuite\t0.000s\r\n\r\nOK: 1 passed\r\nPASS\r\nok  \tgithub.com/docker/distribution/storagedriver/s3\t23.112s\r\n```\r\ncc: @AndreyKostov @stevvooe "},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/124285187","html_url":"https://github.com/docker/distribution/issues/147#issuecomment-124285187","issue_url":"https://api.github.com/repos/docker/distribution/issues/147","id":124285187,"user":{"login":"dmp42","id":332946,"avatar_url":"https://avatars.githubusercontent.com/u/332946?v=3","gravatar_id":"","url":"https://api.github.com/users/dmp42","html_url":"https://github.com/dmp42","followers_url":"https://api.github.com/users/dmp42/followers","following_url":"https://api.github.com/users/dmp42/following{/other_user}","gists_url":"https://api.github.com/users/dmp42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmp42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmp42/subscriptions","organizations_url":"https://api.github.com/users/dmp42/orgs","repos_url":"https://api.github.com/users/dmp42/repos","events_url":"https://api.github.com/users/dmp42/events{/privacy}","received_events_url":"https://api.github.com/users/dmp42/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T01:02:49Z","updated_at":"2015-07-24T01:02:49Z","body":"@ahmetalpbalkan is this still a problem?"}}