我经常在这里看到这个问题,但我的问题似乎更复杂。我无法同时克隆和使用市场。我必须在Native和Manual Settings之间切换。 这是我的代理设置之间的差异:
手册:
当我把它添加到eclipse.ini
时-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
这是个例外:
org.eclipse.jgit.api.errors.TransportException: https://XXX.XXX.XXX/scm/Test/testprof.git: cannot open git-upload-pack
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:221)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:100)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:341)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
没有它:
java.lang.Exception: org.eclipse.jgit.api.errors.TransportException: https://XXX.XX.XX/scm/XXX/XXX.git: not authorized
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:882)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3305)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3248)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4469)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
本机:
当我把它添加到eclipse.ini
时-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
这种情况发生了:
org.eclipse.core.runtime.CoreException: Cannot install remote marketplace locations: Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
at org.eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand.execute(MarketplaceWizardCommand.java:106)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
and without it:
Failed to stream using org.eclipse.epp.internal.mpc.core.transport.httpclient.HttpClientTransport@1e8c67f7 - falling back to org.eclipse.epp.internal.mpc.core.util.TransportFactory$1@7592008d: Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
一些信息:
是的,我的凭据是正确的。
是的,我的代理设置正确
git configs中的ssl.verify是= false
Windows 7
Egit版本4.4.1(我也试过4.6)
Eclipse之外的克隆工作也是如此
感谢您的帮助......如果我错过了一些信息,请询问......
答案 0 :(得分:1)
解决方案是清除网络设置中的HTTPS字段并切换回手动。 市场运作和克隆。