505 error and connection refused

asked 2014-05-02 11:52:57 -0500

blazesurfer gravatar image

updated 2014-05-03 16:57:46 -0500

9lives gravatar image

hi all haveing issues where i get the following error in /var/log/messages

ERROR with Account server 127.0.0.1:6012/sdd1 connection refused as well as 505 error.

also getting this error in there that seems odd.

 proxy-server Error: int() argument must be a string or a number, not 'NoneType': #012Traceback (most recent call last):#012  File "/usr/lib64/python2.6/site-packages/swift/common/middleware/catch_errors.py", line 36, in handle_request#012    resp = self._app_call(env)#012  File "/usr/lib64/python2.6/site-packages/swift/common/wsgi.py", line 275, in _app_call#012    resp = self.app(env, self._start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/middleware/healthcheck.py", line 57, in __call__#012    return self.app(env, start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/middleware/proxy_logging.py", line 243, in __call__#012    iterable = self.app(env, my_start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/middleware/memcache.py", line 65, in __call__#012    return self.app(env, start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/swob.py", line 1077, in _wsgify_self#012    return func(self, Request(env))(env, start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/middleware/ratelimit.py", line 235, in __call__#012    return self.app(env, start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/middleware/tempauth.py", line 191, in __call__#012    return self.app(env, start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/swob.py", line 1077, in _wsgify_self#012    return func(self, Request(env))(env, start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/swob.py", line 1077, in _wsgify_self#012    return func(self, Request(env))(env, start_response)#012  File "/usr/lib64/python2.6/site-packages/swift/common/middleware/account_quotas.py", line 70, in __call__#012    new_size = int(account_info['bytes']) + (request.content_length or 0)#012TypeError: int() argument must be a string or a number, not 'NoneType' (txn: tx5bee4a35720849bdb4d56de139f48b5e)

any thoughts? or direction would be appreciated

edit retag flag offensive close merge delete

Comments

this could have been to do with logs as well trying to turn logging on last night.. or a corrupt conf file.

have rebuilt all the conf files today and also set the log_address = /dev/log

it was log_address = /dev/log/swift I believe previously when getting these errors.

not a definitive answer though what i have found so far.

blazesurfer gravatar imageblazesurfer ( 2014-05-04 01:48:40 -0500 )edit