I experimented with setting a very short timeout when creating the Launchpad object. Here's the error I got.
File "/home/leonardr/.buildout/eggs/httplib2-0.6.0-py2.6.egg/httplib2/__init__.py", line 901, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/home/leonardr/.buildout/eggs/lazr.restfulclient-0.9.14-py2.6.egg/lazr/restfulclient/_browser.py", line 166, in _conn_request
conn, request_uri, method, body, headers)
File "/home/leonardr/.buildout/eggs/httplib2-0.6.0-py2.6.egg/httplib2/__init__.py", line 871, in _conn_request
response = conn.getresponse()
File "/home/leonardr/bin/python/lib/python2.6/httplib.py", line 974, in getresponse
response.begin()
File "/home/leonardr/bin/python/lib/python2.6/httplib.py", line 391, in begin
version, status, reason = self._read_status()
File "/home/leonardr/bin/python/lib/python2.6/httplib.py", line 349, in _read_status
line = self.fp.readline()
File "/home/leonardr/bin/python/lib/python2.6/socket.py", line 397, in readline
data = recv(1)
File "/home/leonardr/bin/python/lib/python2.6/ssl.py", line 96, in <lambda>
self.recv = lambda buflen=1024, flags=0: SSLSocket.recv(self, buflen, flags)
File "/home/leonardr/bin/python/lib/python2.6/ssl.py", line 222, in recv
raise x
ssl.SSLError: The read operation timed out
Of course, this was during the read phase, not the write phase.
I experimented with setting a very short timeout when creating the Launchpad object. Here's the error I got.
File "/home/ leonardr/ .buildout/ eggs/httplib2- 0.6.0-py2. 6.egg/httplib2/ __init_ _.py", line 901, in _request request( conn, request_uri, method, body, headers) leonardr/ .buildout/ eggs/lazr. restfulclient- 0.9.14- py2.6.egg/ lazr/restfulcli ent/_browser. py", line 166, in _conn_request leonardr/ .buildout/ eggs/httplib2- 0.6.0-py2. 6.egg/httplib2/ __init_ _.py", line 871, in _conn_request leonardr/ bin/python/ lib/python2. 6/httplib. py", line 974, in getresponse begin() leonardr/ bin/python/ lib/python2. 6/httplib. py", line 391, in begin leonardr/ bin/python/ lib/python2. 6/httplib. py", line 349, in _read_status leonardr/ bin/python/ lib/python2. 6/socket. py", line 397, in readline leonardr/ bin/python/ lib/python2. 6/ssl.py" , line 96, in <lambda> recv(self, buflen, flags) leonardr/ bin/python/ lib/python2. 6/ssl.py" , line 222, in recv
(response, content) = self._conn_
File "/home/
conn, request_uri, method, body, headers)
File "/home/
response = conn.getresponse()
File "/home/
response.
File "/home/
version, status, reason = self._read_status()
File "/home/
line = self.fp.readline()
File "/home/
data = recv(1)
File "/home/
self.recv = lambda buflen=1024, flags=0: SSLSocket.
File "/home/
raise x
ssl.SSLError: The read operation timed out
Of course, this was during the read phase, not the write phase.