[issue21447] Intermittent asyncio.open_connection / futures.InvalidStateError
Ryder Lewis
report at bugs.python.org
Tue May 6 21:00:33 CEST 2014
Ryder Lewis added the comment:
Another run raised a different exception,
again running ./example.py http://www.yahoo.com/
Timed out with 0.05-second timeout
HTTP header> HTTP/1.0 301 Redirect
HTTP header> Date: Tue, 06 May 2014 18:58:53 GMT
HTTP header> Connection: close
HTTP header> Via: http/1.1 ir38.fp.bf1.yahoo.com (ApacheTrafficServer/4.0.2)
HTTP header> Server: ATS
HTTP header> Cache-Control: no-store
HTTP header> Content-Type: text/html; charset=utf-8
HTTP header> Content-Language: en
HTTP header> Location: https://www.yahoo.com/
HTTP header> Content-Length: 214
Success with 0.04-second timeout
HTTP header> HTTP/1.0 301 Redirect
HTTP header> Date: Tue, 06 May 2014 18:58:53 GMT
HTTP header> Connection: close
HTTP header> Via: http/1.1 ir45.fp.bf1.yahoo.com (ApacheTrafficServer/4.0.2)
HTTP header> Server: ATS
HTTP header> Cache-Control: no-store
HTTP header> Content-Type: text/html; charset=utf-8
HTTP header> Content-Language: en
HTTP header> Location: https://www.yahoo.com/
HTTP header> Content-Length: 214
Success with 0.03-second timeout
Timed out with 0.02-second timeout
Timed out with 0.01-second timeout
exception calling callback for <Future at 0x7f24e43aa710 state=finished returned list>
Traceback (most recent call last):
File "/opt/python3/lib/python3.4/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
File "/opt/python3/lib/python3.4/asyncio/futures.py", line 370, in <lambda>
new_future._copy_state, fut))
File "/opt/python3/lib/python3.4/asyncio/base_events.py", line 285, in call_soon_threadsafe
self._write_to_self()
File "/opt/python3/lib/python3.4/asyncio/selector_events.py", line 91, in _write_to_self
self._csock.send(b'x')
AttributeError: 'NoneType' object has no attribute 'send'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21447>
_______________________________________
More information about the Python-bugs-list
mailing list