opennode/opennode-management — Issue #144: sync func timeout
Author: mmikulicic
Created: 2012-03-01 16:05:45+00:00
State: open
Labels: bug

Deploy can raise this issue:

We cannot use async func because of twisted issues, but sync func can timeout

```

Command returned an unhandled error: ('socket.timeout', "(110, 'Operation timed out.')", ' File "build/bdist.linux-x86_64/egg/func/overlord/client.py", line 881, in process_server\n retval = getattr(conn, meth)(*args[:])\n File "/home/marko/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/xmlrpclib.py", line 1224, in __call__\n return self.__send(self.__name, args)\n File "/home/marko/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/xmlrpclib.py", line 1575, in __request\n verbose=self.__verbose\n File "/home/marko/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/xmlrpclib.py", line 1264, in request\n return self.single_request(host, handler, request_body, verbose)\n File "/home/marko/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/xmlrpclib.py", line 1294, in single_request\n response = h.getresponse(buffering=True)\n File "/home/marko/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/httplib.py", line 1027, in getresponse\n response.begin()\n File "/home/marko/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/httplib.py", line 407, in begin\n version, status, reason = self._read_status()\n File "/home/marko/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/httplib.py", line 365, in _read_status\n line = self.fp.readline()\n File "/home/marko/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/socket.py", line 447, in readline\n data = self._sock.recv(self._rbufsize)\n File "build/bdist.linux-x86_64/egg/certmaster/SSLConnection.py", line 135, in recv\n raise socket.timeout((110, "Operation timed out."))\n')
type last_error for more details
```