Bug 764906 (GLUSTER-3174)

Summary: object-strorage: curl not working over windows
Product: [Community] GlusterFS Reporter: Saurabh <saurabh>
Component: object-storageAssignee: Gaurav <ggangalw>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: pre-releaseCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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..