I know the sync server has it's occasional ups and downs, so I figured I'd
ask if anyone is seeing any issues at the moment? I've got a freshly-built
version of Denyhosts running on a freshly-built OpenBSD box and it's gotten
what I believe are the standard-looking timeout issue for the couple of
sync cycles that it's tried so far. It definitely could be something on my
box, but I figured I'd ask.
Here's what's in the log:
2014-03-10 14:35:37,072 - denyfileutil: INFO num entries purged: 0
2014-03-10 14:36:52,115 - sync : ERROR [Errno 60] Connection
timed out
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/DenyHosts/sync.py", line
117, in receive_new_hosts
self.__prefs.get("SYNC_DOWNLOAD_RESILIENCY"))
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1292, in single_request
self.send_content(h, request_body)
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1439, in send_content
connection.endheaders(request_body)
File "/usr/local/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/local/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/local/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/local/lib/python2.7/httplib.py", line 772, in connect
self.timeout, self.source_address)
File "/usr/local/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 60] Connection timed out
For what it's worth, running wget http://xmlrpc.denyhosts.net:9911 returns
(correctly, I believe) an index.html file that says "This is not a webpage"
so there's at least general connectivity from that box to the sync server.
Incidentally, I discovered (and didn't see where it was documented, maybe I
missed it) that you need to use a version of Python 2.x. Apparently there
are syntax differences starting in 3.0 that cause errors when trying to
install/run/etc. Once I replaced 3.3 with 2.7 (or whatever version it was)
everything worked fine.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Denyhosts-user mailing list
Denyhosts-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/denyhosts-user