SSL errors with https proxy #52
Comments
Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco): This issue was initially reported here. |
Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco): @cmsj Please test setuptools 1.0b2 in your environment and let us know if it does or doesn't address the issue. |
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! |
Originally reported by: cmsj (Bitbucket: cmsj, GitHub: cmsj)
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.
The text was updated successfully, but these errors were encountered: