Eclipse 更新站点:需要 HTTP 代理身份验证错误 [英] eclipse update sites: HTTP Proxy Authentication Required error

查看:33
本文介绍了Eclipse 更新站点:需要 HTTP 代理身份验证错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我转到安装新软件并选择更新站点时,出现需要 HTTP 代理身份验证"错误.

when I go to Install new software and select an update site, I get a "HTTP Proxy Authentication Required" error.

我在网上搜索了很长时间,仍然没有得到答案.

I have searched the internets for quite some time, and I still did not get an answer.

事实:

  • 对于每个更新站点,我都会收到此错误.
  • 我可以在内部或外部浏览器中访问更新站点链接.
  • 我在 eclipse 网络设置中使用本机"代理.
  • eclipse 网络设置中的直接代理也不起作用.
  • 我们的帮助台告诉我,无法在 eclipse 网络设置中设置手动代理(或者他们不知道)
  • 我尝试手动插入代理服务器:在我发现的 proxy.pac 文件中找到的端口,但没有成功...
  • 我尝试重新安装 Eclipse、重新添加和/或重新加载存储库并删除存储库缓存目录
  • 我在 ini 文件中使用:-Djava.net.preferIPv4Stack=true
  • 我尝试使用这两种方法镜像存储库,但日志文件给出了相同的代理错误

我的系统:面向 PHP 开发人员的 Eclipse
版本:Luna Service Release 1a (4.4.1)
版本号:20150109-0600
Windows 7,64 位

My system: Eclipse for PHP Developers
Version: Luna Service Release 1a (4.4.1)
Build id: 20150109-0600
Windows 7, 64bit

推荐答案

只需在 eclipse.ini 末尾添加:

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4

就我而言,我还必须将代理设置为手动(应取消选中 SOCKS).但是,没有更多的麻烦.

In my case I had to set the proxy also to manual (SOCKS should be unchecked). But then, no more hassle.

它基本上禁用了默认的 Apache HTTP 客户端,并将使用基于 JRE URL 连接的 HTTP 客户端.请参阅:https://wiki.eclipse.org/Disabling_Apache_Httpclient

It basically disables the default Apache HTTP client and will use an HTTP client based on the JRE URL connection. See: https://wiki.eclipse.org/Disabling_Apache_Httpclient

有一个新的 Apache HTTP 客户端版本,其参数值已更改:

There is a new Apache HTTP client version for which the parameter value has changed:

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45

要禁用两者,请使用:

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45,org.eclipse.ecf.provider.filetransfer.httpclient4

这篇关于Eclipse 更新站点:需要 HTTP 代理身份验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆