【发布时间】:2013-09-29 06:57:42
【问题描述】:
我正在尝试在需要身份验证的代理服务器后面使用 Pip。我已经安装了 cntlm 并填写了散列密码。当我运行这个时:
cntlm -c cntlm.ini -I -M http://www.google.co.uk
我输入我的密码,然后得到这个结果:
Config profile 1/4... Auth not required (HTTP code: 200)
Config profile 2/4... Auth not required (HTTP code: 200)
Config profile 3/4... Auth not required (HTTP code: 200)
Config profile 4/4... Auth not required (HTTP code: 200)
Your proxy is open, you don't need another proxy.
但是,pip 不起作用,仍然给我一个超时。知道我不需要另一个代理一切都很好而且花花公子,但 pip 仍然超时。端口 3128 正在工作,因为我可以在该端口上 telnet,它显示为在 netstat 下侦听。那么我应该从这里做什么呢?
谢谢。
【问题讨论】:
-
我也有同样的问题。 Cntlm 适用于浏览和其他 stuufs,但对于 pip 它给了我一个错误。仅当我更改 pip 以直接连接到代理服务器而不使用 cntlm 时才有效。