2017-01-31 2 views
0

Ich habe dieses Problem hier oft gesehen, aber mein Problem scheint komplexer zu sein. Ich bin nicht in der Lage, den Marktplatz gleichzeitig zu klonen und zu nutzen. Ich muss zwischen nativen und manuellen Einstellungen wechseln. Hier Der diffrence zwischen meinem Proxy-Einstellungen:Eclipse Fehler: git-upload-pack öffnen und nicht autorisiert (EGit)

Handbuch:

  1. Klonen ist nicht funktioniert
  2. Interne Internet-Browser ist Arbeits
  3. Markt arbeitet

Wenn ich dies in den die eclipse.ini

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 

Es ist diese Ausnahme:

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) 

und ohne es:

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) 

Nativ:

  1. Cloning wird
  2. Interne Brwoser arbeiten arbeitet
  3. Marktplatz nicht Arbeiten

Wenn ich hinzufügen, dies dem eclipse.ini

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 

dies geschieht:

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[email protected]1e8c67f7 - falling back to [email protected]8d: Connection failed 
     This is most often caused by a problem with your internet connection. Please check your internet connection and retry. 

Einige Informationen:

Ja, meine Anmeldeinformationen korrekt sind.

Ja, meine Proxy-Einstellungen korrekt

ssl.verify in git configs ist = false

Windows 7

Egit Version 4.4.1 (Ich habe auch versucht 4.6)

Cloning außerhalb von Eclipse funktioniert auch

Vielen Dank für Ihre Hilfe ... wenn ich einige Informationen vermisse, fragen Sie bitte ...

Antwort

0

Die Lösung ist, das HTTPS-Feld in den Netzwerkeinstellungen zu löschen und zurück zu Manual zu wechseln. Marktplatz funktioniert und klonen.