Unknown Host error when attempting to connect to connect to Eclipse plugin repository

时间秒杀一切 提交于 2019-12-07 05:02:19

问题


I am running Ubuntu 9.10 and I'm attempting to install a plugin for Eclipse 3.5 from a repository that my company created. This worked in the past on this linux box and also works just fine on my laptop which has Windows XP installed.

The exact error message I'm getting in Eclipse is:

Unknown Host: <location of repository>

org.eclipse.equinox.internal.provisional.p2.core.ProvisionException

Any ideas what might be causing something that used to work not to work anymore?

Thanks!

EDIT: Also, it might be useful to know that I can connect to other eclipse plugin repositories fine; it seems that only my company's internal one is the problem.


回答1:


It is usually due to a proxy used by Eclipse where it shouldn't use it to access a local self-hosted repo.

Try to set the proxy to "Direct" (hence selecting no Proxy entries at all)

Preferences > General > Network Connections,

(so switch from "Native" or "Manual" to "Direct")




回答2:


Try other link. I got the same error while using link for "Paris, France - Europe". But than I tried with http://emonic.sourceforge.net/updatesite/nchc/site.xml "Tainan, Taiwan - Asia" and all worked just fine.




回答3:


It's probably this bug: https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/486215



来源:https://stackoverflow.com/questions/2241675/unknown-host-error-when-attempting-to-connect-to-connect-to-eclipse-plugin-repos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!