未知主机错误尝试连接时连接到Eclipse插件库 [英] Unknown Host error when attempting to connect to connect to Eclipse plugin repository

查看:542
本文介绍了未知主机错误尝试连接时连接到Eclipse插件库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Ubuntu 9.10,我试图从我公司创建的存储库安装Eclipse 3.5的插件。这个工作在过去这个linux盒子,也可以在我的笔记本电脑上安装了Windows XP。



我在Eclipse中得到的确切的错误消息是:

 未知主机:<存储库的位置> 

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

任何想法可能导致以前不工作的东西?



谢谢!



编辑:另外,知道我可以连接到其他eclipse插件库可能是有用的;似乎只有我公司的内部问题才是问题。

解决方案

通常是由于Eclipse使用的代理,它应该



尝试将代理设置为直接(因为根本没有选择任何代理条目)

 首选项>一般>网络连接,



(所以从Native或Manual切换到Direct)


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.

解决方案

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

这篇关于未知主机错误尝试连接时连接到Eclipse插件库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆