Hello Roland, many thanks for this detailed report! On Tue, 12 Jul 2016 08:05:57 +0200 Roland Hieber <[email protected]> wrote: > Package: python-requests > Followup-For: Bug #830839 > > Huh. It seems that every other get() call fails: > > >>> r = session.get(url) > >>> r = session.get(url) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 477, in get > return self.request('GET', url, **kwargs) > File > "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request > resp = self.send(prep, **send_kwargs) > File > "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send > r = adapter.send(request, **kwargs) > File > "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 415, in send > raise ConnectionError(err, request=request) > requests.exceptions.ConnectionError: ('Connection aborted.', ResponseNotReady())
Unfortunately I was not able to reproduce it on testing. I used the infinite
loop and I stopped it after 20 seconds because I did not want to waste your
resources.
> >>> r = session.get(url)
> >>> r.headers
> {'content-encoding': 'gzip', 'transfer-encoding': 'chunked', 'strict-
transport-security': 'max-age=30758400', 'server': 'nginx/1.6.2', 'last-
modified': 'Sat, 02 Jul 2016 21:32:16 GMT', 'connection': 'keep-alive',
'date': 'Tue, 12 Jul 2016 05:51:14 GMT', 'content-type': 'text/html'}
> >>> r = session.get(url)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File
> "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line
477, in get
> return self.request('GET', url, **kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line
465, in request
> resp = self.send(prep, **send_kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line
573, in send
> r = adapter.send(request, **kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line
415, in send
> raise ConnectionError(err, request=request)
> requests.exceptions.ConnectionError: ('Connection aborted.',
ResponseNotReady())
> >>> r = session.get(url)
> >>> r = session.get(url)
Also this is working right now for me.
I'm sure you tried several time, but please can you try again? Also including
a pool of destinations to be sure to exclude network issues?
I will investigate this more deeply, and I will repeat tests in a clean chroot
to be sure.
Kind regards,
--
Daniele Tricoli 'eriol'
https://mornie.org
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

