Hide Forgot
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.
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.
Its not even working with swift, so suspecting curl on windows..