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

BordrGuy108 picture BordrGuy108 · Feb 11, 2010 · Viewed 13.4k times · Source

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.

Answer

VonC picture VonC · Feb 11, 2010

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,

http://ftp.ntua.gr/eclipse/eclipse/downloads/drops/R-3.5-200906111540/images/proxy-settings-ui.png

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