Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 458
BordrGuy108 Avatar asked Feb 11 '10 01:02

BordrGuy108


Video Answer


1 Answers

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")

like image 110
VonC Avatar answered Nov 15 '22 08:11

VonC