Bug 764906 (GLUSTER-3174) - object-strorage: curl not working over windows
Summary: object-strorage: curl not working over windows
Keywords:
Status: CLOSED WONTFIX
Alias: GLUSTER-3174
Product: GlusterFS
Classification: Community
Component: object-storage
Version: pre-release
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gaurav
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-15 06:44 UTC by Saurabh
Modified: 2011-08-04 15:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Saurabh 2011-07-15 06:44:54 UTC
I am trying to access our setup of swift integration with glusterfs using curl,


curl is used in similar fashion as in windows as in linux.
as curl http://www.gluster.com gives similar output on both platforms,


but using curl for getting access to out swift integration fails with authentication problem.


< HTTP/1.1 401 Unauthorized
< Content-Length: 358
< Content-Type: text/html; charset=UTF-8
< Date: Fri, 15 Jul 2011 06:34:54 GMT
<
<html>
 <head>
  <title>401 Unauthorized</title>
 </head>
 <body>
  <h1>401 Unauthorized</h1>
  This server could not verify that you are authorized to access the document yo
u requested. Either you supplied the wrong credentials (e.g., bad password), or
your browser does not understand how to supply the credentials required.<br /><b
r />



 </body>
</html>* Connection #0 to host 10.1.12.25 left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):

C:\>


command used is this,
C:\>curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' https:
//10.1.12.25:443/auth/v1.0 -k


Note: please correct me if I am missing something here.

Comment 1 Gaurav 2011-07-16 09:07:33 UTC
Please try it once on swift, if its not working on swift also, then there could be issue with curl sending http request on windows.

Comment 2 Gaurav 2011-08-04 12:50:28 UTC
Its not even working with swift, so suspecting curl on windows..


Note You need to log in before you can comment on or make changes to this bug.