401 Unauthorized
I am using a tutoriel :http://
I'm currently trying to create a swift environment for some test, but got the following error when getting an X-Storage-Url and X-Auth-Token using test command.
root@dtv-
* About to connect() to 192.168.3.20 port 8080 (#0)
* Trying 192.168.3.20... connected
* Connected to 192.168.3.20 (192.168.3.20) port 8080 (#0)
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-
> Host: 192.168.3.20:8080
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 200 OK
< X-Storage-Url: http://
< X-Storage-Token: AUTH_tk6196b8a2
< X-Auth-Token: AUTH_tk6196b8a2
< Content-Length: 0
< Date: Mon, 08 Aug 2011 10:43:38 GMT
<
* Connection #0 to host 192.168.3.20 left intact
+++++++
root@dtv-
* About to connect() to 192.168.3.20 port 8080 (#0)
* Trying 192.168.3.20... connected
* Connected to 192.168.3.20 (192.168.3.20) port 8080 (#0)
> GET /v1/AUTH_test HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-
> Host: 192.168.3.20:8080
> Accept: */*
> X-Auth-Token: AUTH_tk4944cfe2
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 358
< Content-Type: text/html; charset=UTF-8
< Date: Mon, 08 Aug 2011 10:45:44 GMT
<
<html>
<head>
<title>401 Unauthorized<
</head>
<body>
<h1>401 Unauthorized</h1>
This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.<br /><br />
</body>
* Connection #0 to host 192.168.3.20 left intact
* Closing connection #0
+++++++
I modified the file memcached.conf through ip address of my server
these are the log of the proxy
Aug 8 12:46:31 dtv-110702 proxy-server STDOUT: ERROR:root:Error connecting to memcached: 127.0.0.
+++++++
configuration the file proxy-server.conf
[DEFAULT]
bind_port = 8080
user = root
log_facility = LOG_LOCAL1
[pipeline:main]
pipeline = healthcheck cache tempauth proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_
[filter:tempauth]
use = egg:swift#tempauth
user_admin_admin = admin .admin .reseller_admin
user_test_tester = testing .admin
user_test2_tester2 = testing2 .admin
user_test_tester3 = testing3
[filter:
use = egg:swift#
[filter:cache]
use = egg:swift#memcache
+++++++
root@dtv-
Account HEAD failed: http://
root@dtv-
+++++++
can you help me please
Question information
- Language:
- Chinese (Simplified) Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask moubariksiham for more information if necessary.