Proxy settings not passed to Bandersnatch when syncing PyPi
When setting up a remote with a proxy, the settings are not being passed to Bandersnatch. When syncing there are errors in journalctl like:
Connection timeout to host https://pypi.org/pypi
gerrod> hey ByteSore, I'm looking into your issue https://pulp.plan.io/issues/7864, and I was wondering if you have HTTP_PROXY or HTTPS_PROXY environment variables set to anything?
- Yes, I did try with those environment vars. Also the all_proxy. But none of these worked out.
I've changed file site-packages/bandersnatch/master.py:81 to:
socks_connector = ProxyConnector.from_url("<proxy_url">)
Which bypasses self._check_for_socks_proxy()
Please register to edit this issue