S3 commands to swift via swift3 middleware unauthorized 401 Issues

asked 2015-05-21 02:16:00 -0500

Nilesh Khule gravatar image

/s3curl.pl --id=[friendly-name] -- http://s3.amazonaws.com/[bucket-name]

Map S3 commands to swift via swift3 middleware runs into an "unauthorized" issue (see below) when s3curl command (test for s3 command) is issued

When I use boto library to connect get connected shows the all container list from object storage, not able to access that container.

  • start date: 2014-05-02 21:55:31 GMT
  • expire date: 2016-05-04 21:43:32 GMT
  • issuer: C=US; O=GeoTrust, Inc.; CN=RapidSSL CA
  • SSL certificate verify ok. > GET /auth/v1.0/ HTTP/1.1 > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 > Accept: / > Date: Thu, 30 Apr 2015 13:47:53 +0000 > < HTTP/1.1 401 Unauthorized < Content-Length: 131 < Content-Type: text/html; charset=UTF-8 < Www-Authenticate: Swift realm="unknown" < X-Trans-Id: tx1593545e65874bbfb7a72-0055423279 < Date: Thu, 30 Apr 2015 13:47:37 GMT
edit retag flag offensive close merge delete