It's seem as region eu-central-1 doesn't supported AWS sign V2.
在 2015/4/18 2:46, Andrew Gaul 写道: > > @zhaojin0 <https://github.com/zhaojin0> I am testing this and see many > errors of the form: > > |org.jclouds.aws.AWSResponseException: request GET > https://gaul-blobstore3760643340725640912-v4-only.s3-eu-central-1.amazonaws.com/ > HTTP/1.1 failed with code 400, error: AWSError{requestId='0F84681CE6013127', > requestToken='THXHcOkpHKTdN7DedbIb8qCj7/MuvvvGyu31O42h6BjkTFSvHdKNggDL/aQ6Mm1IGROwsAO58fw=', > code='InvalidRequest', message='The authorization mechanism you have > provided is not supported. Please use AWS4-HMAC-SHA256.', > context='{HostId=THXHcOkpHKTdN7DedbIb8qCj7/MuvvvGyu31O42h6BjkTFSvHdKNggDL/aQ6Mm1IGROwsAO58fw=}'} > | > > when deleting items in the container between runs. Any suggestions on > this? Also do all the integration tests pass for you? I see a few errors: > > | > AWSS3ContainerIntegrationLiveTest>BaseContainerIntegrationTest.deleteContainerIfEmptyWithoutContents:315 > expected [true] but found [false] > > AWSS3ContainerLiveTest>BaseContainerLiveTest.testPublicAccessInNonDefaultLocationWithBigBlob:112->BaseContainerLiveTest.runCreateContainerInLocation:124->BaseBlobStoreIntegrationTest.assertConsistencyAwareContainerExists:361->BaseBlobStoreIntegrationTest.assertConsistencyAware:248->BaseBlobStoreIntegrationTest.assertConsistencyAware:235 > » HttpResponse > > AWSS3ServiceIntegrationLiveTest>BaseServiceIntegrationTest.testAllLocations:52->BaseBlobStoreIntegrationTest.assertConsistencyAware:248->BaseBlobStoreIntegrationTest.assertConsistencyAware:235 > » HttpResponse > > AWSS3ServiceIntegrationLiveTest>BaseServiceIntegrationTest.testGetAssignableLocations:93 > {scope=REGION, id=eu-central-1, description=eu-central-1, parent=aws-s3, > iso3166Codes=[DE-HE]} ||{scope=PROVIDER, id=aws-s3, > description=https://s3.amazonaws.com, iso3166Codes=[US, US-CA, US-OR, BR-SP, > IE, SG, AU-NSW, JP-13]} > > Tests run: 99, Failures: 4, Errors: 0, Skipped: 1 > | > > — > Reply to this email directly or view it on GitHub > <https://github.com/jclouds/jclouds/pull/678#issuecomment-94050351>. > -- 赵金 Zhao Jin 18610722868 北京优创联动科技有限公司 北京市 海淀区 学清路38号 金码大厦16层 100083 --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/678#issuecomment-94248352
