Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SSL errors with https proxy #52
From an image building script from diskimage-builder (part of OpenStack):
(the proxy URL is a very close to stock squid3 configuration on another machine on my LAN, which is used elsewhere in the building script to download OS images, etc, so is not believed to be the issue).
Reading through the setuptools code, I wondered if this is because the VerifyingHTTPSHandler inserted into the urllib2 opener chain, is trying to do direct socket connections. At the point it does that, I inserted a call to has_proxy() on the Request object and it returned False, which confused me as I would expect ProxyHandler to still be in the opener chain.
Original comment by lorens_kockum (Bitbucket: lorens_kockum, GitHub: Unknown):
@jaraco I'm not the reporter, but I experienced the same error, not with Openstack but a custom development using setuptools, installed with setuptools 0.9.8 provided by python-virtualenv.noarch 1.10.1-2.el7 on a brand new Centos 7.0.1406 behind a squid http+https proxy. I found this page by googling the error message, and applying the above <<cset 8102f944d6af>> manually fixed the issue perfectly. Thank you!