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

Hey!

 

Found the issue. For some reason it won’t accept my DSA key anymore. I generated a fresh RSA key and it works... This is not so cool, as we have dozens of DSA keys around :( Still I understand that this is not a JGit issue, so thanks and bye ;)

 

Cheers,

Markus

 

Von: egit-dev-bounces@xxxxxxxxxxx [mailto:egit-dev-bounces@xxxxxxxxxxx] Im Auftrag von Duft Markus
Gesendet: Dienstag, 23. September 2014 07:14
An: Matthias Sohn
Cc: EGit developer discussion (egit-dev@xxxxxxxxxxx); JGit Developers list (jgit-dev@xxxxxxxxxxx)
Betreff: Re: [egit-dev] Java8 support

 

Hey!

 

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.

 

Cheers,

Markus

 

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:

Hey!

 

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(LsRemoteCommand.java:223)

                at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)

                at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)

                at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:324)

                at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Caused by: org.eclipse.jgit.errors.TransportException: ssh://wamas5.sources.salomon.at:2501/wamas5.git: Auth fail

                at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159)

                at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)

                at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:262)

                at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:161)

                at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:202)

                ... 4 more

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

                at com.jcraft.jsch.Session.connect(Session.java:512)

                at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)

                ... 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

 

--

Matthias 

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

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