0

开始更新时,显示以下错误:

搜索过程中遇到网络连接问题。无法访问“ http://download.eclipse.org/releases/helios ”。访问站点流时出错。[服务器返回 HTTP 响应代码:503 用于 URL:http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ] 服务器返回 HTTP 响应代码:503 用于 URL:http://www.w3 .org/TR/xhtml1/DTD/xhtml1-transitional.dtd 访问站点流时出错。[服务器返回 HTTP 响应代码:503 用于 URL:http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ] 服务器返回 HTTP 响应代码:503 用于 URL:http://www.w3 .org/TR/xhtml1/DTD/xhtml1-transitional.dtd

如所述

http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic http://www.outofcontrol.ca/2009/02/20/w3org-dtdxhtml1-strictdtd-blocks-windows-ie-users /

w3.org 阻止 IE 对http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd的调用(因为它加载得太频繁了)。我能够通过使用为 IE7 设置不同的 UserAgent 来加载 DTD

%windir%\System32\cmd.exe /k %windir%\System32\reg.exe 添加 "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent" /v 版本 /d "Opera/9.2. 1" /f

我尝试在以下位置建议 -D 覆盖:

在 Eclipse 3.5 中更改用户代理以安装新软件

无济于事。我认为eclipse不遵循IE7设置的User-Agent ...

是否有其他方法可以覆盖 Eclipse 的用户代理?

谢谢

4

3 回答 3

1

Eclipse 已经走向“市场”,加入了 Apple 的 AppStore 和 google 的 Marketplace。

从帮助菜单中,尝试使用Eclipse Marketplace而不是安装新软件来安装和更新您所需的插件

于 2010-07-13T12:19:38.687 回答
0

This seems to be related to using the "classic updater" against Helios update site as described at

https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=317957

于 2010-06-28T12:52:33.417 回答
0

我在 Galileo 和 Helios 以及 Windows 7 64 位上都遇到了同样的问题,但还没有找到解决方案(在更新站点 URL 的末尾添加“/”或删除“/”不起作用)。

至少在 Helios 中,我发现使用“Eclipse Marketplace”进行更新/插件确实有效。

于 2010-07-05T18:53:59.440 回答