407 Proxy Authentication Required
2007-08-22 11:08
417 查看
在公司里面,网络访问都是通过ISA Server的(Microsoft® Internet Security and Acceleration Server),在使用Windows的时候不会出现任何问题,可是前两天装了Ubuntu Linux,遇到了些问题。
我使用firefox访问网络没有问题,只需要设好代理服务器地址,浏览网站时输入相应的用户名和密码即可,但在console下面使用apt-get更新系统时有问题。
开始我觉得应该这样设置代理:
export http_proxy=http://domain/domainuser:password@proxy.corpnet.com:8080
可是总会出现这个错误:
407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
后来在网上搜索了一下,找到方法解决这个问题了:
Download ntlmaps-0.9.9.0.1 from here
$ tar -zxvf ntlmaps-0.9.9.0.1
$ vim ntlmaps-0.9.9.0.1/server.cfg
Edit PARENT_PROXY,PARENT_PROXY_PORT,USER,PASSWORD to match your preferences, then run main.py
$ ./ntlmaps-0.9.9.0.1/main.py &
$ export http_proxy="http://127.0.0.1:5865"
$ sudo apt-get update
Now, everything is OK.
参考:
http://www.faqs.org/docs/Linux-HOWTO/Web-Browsing-Behind-ISA-Server-HOWTO.html
http://www.ubuntuforums.org/showthread.php?t=20310
http://www.linuxquestions.org/questions/showthread.php?t=448387
http://kubuntuforums.net/forums/index.php?topic=7683.0
我使用firefox访问网络没有问题,只需要设好代理服务器地址,浏览网站时输入相应的用户名和密码即可,但在console下面使用apt-get更新系统时有问题。
开始我觉得应该这样设置代理:
export http_proxy=http://domain/domainuser:password@proxy.corpnet.com:8080
可是总会出现这个错误:
407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
后来在网上搜索了一下,找到方法解决这个问题了:
Download ntlmaps-0.9.9.0.1 from here
$ tar -zxvf ntlmaps-0.9.9.0.1
$ vim ntlmaps-0.9.9.0.1/server.cfg
Edit PARENT_PROXY,PARENT_PROXY_PORT,USER,PASSWORD to match your preferences, then run main.py
$ ./ntlmaps-0.9.9.0.1/main.py &
$ export http_proxy="http://127.0.0.1:5865"
$ sudo apt-get update
Now, everything is OK.
参考:
http://www.faqs.org/docs/Linux-HOWTO/Web-Browsing-Behind-ISA-Server-HOWTO.html
http://www.ubuntuforums.org/showthread.php?t=20310
http://www.linuxquestions.org/questions/showthread.php?t=448387
http://kubuntuforums.net/forums/index.php?topic=7683.0
相关文章推荐
- HttpWebRequest WebExcepton: The remote server returned an error: (407) Proxy Authentication Required.
- 407 Proxy Authentication Required
- pip install 出现407 proxy authentication required 解决方案(Windows)
- C# 调用 Web Service 时出现 : 407 Proxy Authentication Required错误的解决办法
- Proxy Authentication Required解决
- Disabling Apache Httpclient -- fix eclipse proxy bug -- "proxy authentication required"
- Authentication is required to set the network proxy used for downloading packages
- centos 6.3 使用 vnc xrdp 远程登陆 不断弹出对话框“ Authentication is required to set the network proxy used for downloading packages ”
- python 3 urllib Proxy Authentication Required
- Proxy Authentication Required解决
- 转WCF Proxy Authentication Required
- Proxy Authentication Required ( Forefront TMG
- Proxy Authentication Required解决
- 解决linux下非root用户频繁出现Authentication is required to set the network proxy used for downloading packages
- spring boot actuator 查看监控信息时报401错误 Full authentication is required to access this resource
- Redis服务停止报错解决方案[NOAUTH Authentication required]
- javax.mail.MessagingException: 553 authentication is required
- 163邮箱发送邮件碰到:System.Net.Mail.SmtpException: 不允许使用邮箱名称。 服务器响应为:authentication is required
- Remoting and Proxy Authentication(不懂的问题_需要研究)
- smtpClient发邮件错误:不允许使用邮箱名称。 服务器响应为: You are not authorized to send mail, authentication is required