On 07/02/2018 10:48 AM, Luiz Gustavo S. Costa wrote: > Hello, > > Is anyone else here having problems using Pip repository with ipv6? > > If I try to install something with pip, I get this: > > (python2) lgcosta:api/ $ pip install falcon > Collecting falcon Retrying (Retry(total=4, connect=None, read=None, > redirect=None, status=None)) after connection broken by > 'ProtocolError('Connection aborted.', error(104, 'Connection reset by > peer'))': /simple/falcon/ > > and it does not work ... but, I discovered this: > > (python2) lgcosta:api/ $ curl -I https://pypi.python.org/ > curl: (35) gnutls_handshake() failed: Error in the pull function. > > (python2) lgcosta:api/ $ host pypi.python.org > pypi.python.org is an alias for dualstack.python.map.fastly.net. > dualstack.python.map.fastly.net has address 151.101.16.223 > dualstack.python.map.fastly.net has IPv6 address 2a04:4e42:4::223 > > My default output is ipv6, so if I force it out by ipv4, it works: > > (python2) lgcosta:api/ $ curl -I -4 https://pypi.python.org/ > HTTP/1.1 301 Redirect to Primary Domain > Server: Varnish Retry-After: 0 > Location: https://pypi.org/ > Content-Type: text/html; charset=UTF-8 > Content-Length: 122 > .... > > output over ipv6, the repository does not work, only for ipv4. > > I did not find the option to force ipv4 on the pip. > > Does anyone have any notice or similar reports?
Given the lack of responses, probably you should try poking around the issue tracker for pip: https://github.com/pypa/pip/issues or some of the other resources listed on the main page there (click the Code tab from the Issue page to see) Best of luck! _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor