Author nikratio
Recipients Cybjit, benjamin.peterson, cameron, ethan.furman, martin.panter, nikratio, orsenthil, python-dev
Date 2014-05-09.22:23:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <536D5551.2040402@rath.org>
In-reply-to <1399669336.51.0.808023904281.issue7776@psf.upfronthosting.co.za>
Content
On 05/09/2014 02:02 PM, Cybjit wrote:
> C:\Python34\Scripts>pip -v install simplejson
> Downloading/unpacking simplejson
>   Could not fetch URL https://pypi.python.org/simple/simplejson/: connection err
> or: hostname 'openwrt.lan' doesn't match either of '*.c.ssl.fastly.net', 'c.ssl.

This looks as if pip tries to match the hostname in the certificate from
pypi.python.org against the hostname of the local proxy. Looking at the
code, I don't see why it would do that though. HTTPSConnection.connect
definitely tries to match against the final hostname.

Is pip maybe doing its own certificate check, and relying on
HTTPSConnection.host to contain the final hostname rather than the proxy?
History
Date User Action Args
2014-05-09 22:23:16nikratiosetrecipients: + nikratio, orsenthil, benjamin.peterson, cameron, ethan.furman, python-dev, martin.panter, Cybjit
2014-05-09 22:23:16nikratiolinkissue7776 messages
2014-05-09 22:23:16nikratiocreate