swift proxy server - connection reset error by peer
I have installed swift 1.4.5 on a single server and have configured proxy server with the following settings:-
root@ubuntu-
Package: swift
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 308
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Version: 1.4.5~20111202.
I have followed steps mentioned here
http://
proxy-server.conf
-------
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_ip=10.2.3.86
bind_port = 8080
workers = 1
user = swift
group = swift
log_facility = LOG_LOCAL0
log_level = DEBUG
log_name = swift-p
log_requests = true
setup_console_
[pipeline:main]
pipeline = healthcheck cache tempauth proxy-server
[app:proxy-server]
use = egg:swift#proxy
account_autocreate = true
set log_name = proxy-server
set log_facility = LOG_LOCAL0
set log_level = DEBUG
set access_log_name = proxy-server
set access_log_facility = LOG_LOCAL0
set access_log_level = DEBUG
set log_requests = true
[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
memcache_servers = 10.2.3.86:11211
Now if I try to send curl command to get the x-auth-token, it look likes the request is sent but the proxy server doesn't send any response. After few minutes it gives an error message "Connection reset by Peer"
root@ubuntu-
* About to connect() to 10.2.3.86 port 8080 (#0)
* Trying 10.2.3.86... connected
* Connected to 10.2.3.86 (10.2.3.86) port 8080 (#0)
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.21.0 (x86_64-
> Host: 10.2.3.86:8080
> Accept: */*
> x-auth-user: test:tester
> x-auth-key: testing
There are no logs in the /var/log/messages. so I don't have any clue what is happening.
Any assistance will be greatly appreciated.
Question information
- Language:
- English 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 Tushar Patil for more information if necessary.