I have followed the following steps:
- Updated my cntlm.ini file with correct proxy information.
- Updated my cntlm.ini file with correct username, password and domain information.
Updated my Environmental Variables with the following:
setx -m HTTP_PROXY "http://127.0.0.1:3128"
setx -m HTTPS_PROXY "http://127.0.0.1:3128"
setx -m PATH "%PATH%;C:\Python34\Scripts"
Generated the correct hashes for my username, domain and password and updated the cntlm.ini file with them.
- Started the Cntlm service.
After doing all of this, I run the following code and get a HTTP OK Code: 302.
cntlm -c cntlm.ini -I -M http://www.google.co.za
Then, when I attempt to download a Python module using pip, I get the following error:
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )',))': /simple/sphinx/
I've checked and re-checked my details entered into cntlm.ini, any ideas what this could be?