Swisscom上的S3 Dynamic Storage

时间:2016-05-11 14:43:38

标签: ruby amazon-s3 emc object-storage swisscomdev

我尝试使用S3 Dynamic Storage作为AWS S3的替代品。我通过Ruby使用carrierwave-aws来使用它。

我做的唯一改变是使用不同的凭据(我从Swisscom Developer Console获得密钥和秘密)和https://ds31s3.swisscom.com作为端点。

现在无法从carrierwave获取Access Denied错误消息,虽然我可以从日志中看到正确的请求:

[httplog] Connecting: documents.ds31s3.swisscom.com:443
[httplog] Sending: PUT http://documents.ds31s3.swisscom.com:443/uploads/financial_information/document/3/17/erd.pdf
[httplog] Header: content-type: application/pdf
[httplog] Header: accept-encoding:
[httplog] Header: user-agent: aws-sdk-ruby2/2.1.29 ruby/2.2.3 x86_64-darwin15 resources
[httplog] Header: x-amz-acl: public-read
[httplog] Header: expect: 100-continue
[httplog] Header: content-md5: 3j2Km8Dc2/50bZyh4a1Qyw==
[httplog] Header: date: Wed, 11 May 2016 14:21:56 GMT
[httplog] Header: authorization: AWS _REDACTED_MY_SECRETS_
[httplog] Header: content-length: 62556
[httplog] Header: accept: */*
[httplog] Status: 403
[httplog] Benchmark: 1.3060949619975872 seconds
[httplog] Header: date: Wed, 11 May 2016 14:21:57 GMT
[httplog] Header: server: Apache
[httplog] Header: content-length: 110
[httplog] Header: content-type: application/xml
[httplog] Response: (not available yet)

任何人都知道那是什么意思?

0 个答案:

没有答案