Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] [egit-dev] Java8 support



I also tried without Gerrit now, to go directly through a normal SSH server – no luck :( In this case it asks me for the password, so public key auth did obviously not work. This time using java8 and jgit 3.4.1 release.





Von: Matthias Sohn [mailto:matthias.sohn@xxxxxxxxx]
Gesendet: Montag, 22. September 2014 15:40
An: Duft Markus
Cc: EGit developer discussion (egit-dev@xxxxxxxxxxx)
Betreff: Re: [egit-dev] Java8 support


On Mon, Sep 22, 2014 at 11:22 AM, Duft Markus <Markus.Duft@xxxxxxxxxxxxxxxx> wrote:



I tried to switch to Java8 today, and I ran into some troubles with Git... We’re using public key authentication, and this does not work as soon as I switch from 7 to 8:


org.eclipse.jgit.api.errors.TransportException: ssh://xxx:2501/xxx.git: Auth fail

                at org.eclipse.jgit.api.LsRemoteCommand.execute(



                at org.eclipse.egit.ui.internal.clone.SourceBranchPage$

                at org.eclipse.jface.operation.ModalContext$

Caused by: org.eclipse.jgit.errors.TransportException: ssh:// Auth fail

                at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(

                at org.eclipse.jgit.transport.SshTransport.getSession(

                at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(

                at org.eclipse.jgit.transport.TransportGitSsh.openFetch(

                at org.eclipse.jgit.api.LsRemoteCommand.execute(

                ... 4 more

Caused by: com.jcraft.jsch.JSchException: Auth fail

                at com.jcraft.jsch.Session.connect(

                at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(

                ... 8 more


The other side is a Gerrit (2.8.1) server, client is Eclipse Luna 4.4 with EGit/JGit 3.5.0


Any Ideas, Hints, etc.? As soon as I switch back to jdk7 in eclipse.ini everything is working again.


I tried with Java 8 and EGit 3.5 on Mac with Eclipse Luna 4.4 and Mars 4.5 over ssh and https and it worked for me




Salomon Automation GmbH | Friesachstrasse 15 | 8114 Friesach bei Graz | Austria
Registered Office: Friesach bei Graz | Commercial Register: 49324 K | VAT no. ATU28654300
Commercial Court: Landesgericht für Zivilrechtssachen Graz

Back to the top