使用IE7的Windows机器上无法访问Eclipse Helios / Galileo更新站点 [英] Eclipse Helios/Galileo Update sites cannot be accessed on Windows machine with IE7
问题描述
开始更新时,会显示以下错误:
When starting the update, the following error is displayed:
搜索过程中遇到网络连接问题。
无法访问 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
Network connection problems encountered during search. Unable to access "http://download.eclipse.org/releases/helios". Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd] Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd] Server returned HTTP response code: 503 for 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 (因为它的加载太频繁)。我可以使用
w3.org blocks IE calls to http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd (as it is loading it much too frequently). I was able to load the DTD by setting a different UserAgent for IE7 using
%windir%\System32\cmd.exe / k%windir%\System32\\为IE7设置不同的UserAgent来加载DTD \\ reg.exe ADDHKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent/ v Version / dOpera / 9.2.1/ f
%windir%\System32\cmd.exe /k %windir%\System32\reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent" /v Version /d "Opera/9.2.1" /f
我试图-D覆盖建议:
无效。我认为eclipse不遵循由IE7设置的User-Agent ...
to no avail. I think eclipse does not follow the User-Agent set by IE7 ...
有没有其他方法来覆盖Eclipse的User-Agent?
Is there an other way to override the User-Agent for Eclipse?
感谢
推荐答案
这似乎与Helios使用经典更新更新站点,如
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
这篇关于使用IE7的Windows机器上无法访问Eclipse Helios / Galileo更新站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!