First time here? Check out the FAQ!
![]() | 1 | initial version |
thank you so much for your answer.
I spend yesterday afternoon, with a problem of connexion when i put : "curl -v -H 'X-Storage-User: admin:admin' -H 'X-Storage-Pass: admin' http://127.0.0.1:8080/auth/v1.0" i got : connexion refused...i was connected to Internet, but what i noticed is that the apache server wasn't installed ! but in the tutorial they didn't speak at all about the webserver (Swift was supposed using wich web server to connect to http://127.0.0.1:8080 ?)
After verification with a colleague, and doing some modifications (i didn't understand all xD ), todayand miraculously when put the first command ; it's connected and i got :
after that for the second cmmand i do : curl -v -H 'X-Auth-Token: tk64169e6bedb34452b56c5226c17c499b' http://127.0.0.1:8080/v1/AUTH_admin
i got :
"About to connect() to 127.0.0.1 port 8080 (#0) * Trying 127.0.0.1... connected
GET /v1/AUTH_admin 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 Host: 127.0.0.1:8080 Accept: / X-Auth-Token: tk64169e6bedb34452b56c5226c17c499b
< HTTP/1.1 401 Unauthorized < Content-Length: 131 < Content-Type: text/html; charset=UTF-8 < Date: Tue, 30 Apr 2013 09:44:03 GMT < * Connection #0 to host 127.0.0.1 left intact * Closing connection #0"
and
This server could not verify that you are authorized to access the document you requested
what do you think about ?? sorry for the disturbance :/