Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
EGit JGit未安装/Git未在Eclipse中工作_Git_Eclipse_Plugins_Vpn_Egit - Fatal编程技术网

EGit JGit未安装/Git未在Eclipse中工作

EGit JGit未安装/Git未在Eclipse中工作,git,eclipse,plugins,vpn,egit,Git,Eclipse,Plugins,Vpn,Egit,在eclipse中从站点安装egit-jgit插件时出错 Unable to connect to repository https://download.eclipse.org/egit/updates-5.8/content.xml Unable to connect to repository https://download.eclipse.org/egit/updates-5.8/content.xml Connect to download.eclipse.org:443 [down

在eclipse中从站点安装egit-jgit插件时出错

Unable to connect to repository https://download.eclipse.org/egit/updates-5.8/content.xml
Unable to connect to repository https://download.eclipse.org/egit/updates-5.8/content.xml
Connect to download.eclipse.org:443 [download.eclipse.org/198.41.30.199] failed: Connection refused: no further information

如果您连接到VPN或Cisco Connect,请尝试断开连接

要在EclipseGit存储库上工作,您需要断开与VPN网络的连接,因为客户端网络限制Git、Gmail和其他站点从该网络访问


如果本地PC/LP连接到办公网络,您将面临Git同步问题
获取操作失败Git eclipse
推送
拉送
操作问题。当VPN连接时,您也将面临操作问题。

您的问题和自我回答同时看起来有点可疑。建议安装EGit是没有意义的,因为Eclipse与EGit一起提供已经有好几年了。还请注意,Git存储库和p2存储库是两个不同的东西,您的答案(使用它的各种疑难解答)与您的问题(安装失败)并不匹配。@howlger Stackoverflow中没有回答我的问题。你的答案对我的答案是完全错误的。当我连接到VPN网络时,git同步或git更新不起作用。因此,我发布了正确答案。问题中提到的错误消息表示无法访问更新站点。如果您使用的是VPN,那么您处于不同的网络中,可以从该网络访问不同的网站、更新网站和Git存储库。在我的例子中,我需要通过VPN连接(使用Cisco AnyConnect)才能访问某些Git存储库和更新站点,这与您所说的相反。除此之外,剩下的就是
-Djava.net.preferIPv4Stack=true
,在我看来这是一个重复。我也不明白你为什么问一个你已经知道答案的问题。@howlger
-Djava.net.preferIPv4Stack=true
当连接到VPN(Cisco AnyConnect)时,仍然无法在本地PC上工作。我的客户限制git、Gmail、youtube和其他网站的安全性。我在SOF中搜索,没有找到与我的问题相关的答案,这就是为什么我发布了这个问题并自己回答了。一些公司可能会重启git和其他网站的访问权限。每当我断开连接时,我都能获得GIT更新。希望你能理解我的问题。