Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Error using JGIT CLONE(Cloning JGIT SSL connections not throttled)
Error using JGIT CLONE [message #1737282] Wed, 06 July 2016 21:21 Go to next message
Frank Myers is currently offline Frank MyersFriend
Messages: 1
Registered: July 2016
Junior Member
Hi,

I'm using jgit version 4.4.0.201605041135-m1.
I ran a "hgit clone" at the command line which resulted in :
Cloning into '/u/FOMYERS/usspfs2'...
org.eclipse.jgit.api.errors.TransportException: git@gitlabhost.rtp.raleigh.ibm.com:996945897/usspfs.git: connection is closed by foreign host
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:135)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:201)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135)
at org.eclipse.jgit.pgm.Clone.run(Clone.java:124)
at org.eclipse.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:199)
at org.eclipse.jgit.pgm.Main.execute(Main.java:246)
at org.eclipse.jgit.pgm.Main.run(Main.java:138)
at org.eclipse.jgit.pgm.Main.main(Main.java:110)
Caused by: org.eclipse.jgit.errors.TransportException: git@gitlabhost.rtp.raleigh.ibm.com:996945897/usspfs.git: connection is closed by foreign host
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:264)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
... 7 more
Caused by: com.jcraft.jsch.JSchException: connection is closed by foreign host
at com.jcraft.jsch.Session.connect(Session.java:269)
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
... 14 more


I suspect that the "connection is closed by foreign host" could be that I'm overloading the git server (too many SSL connections).
I tried the same using "git" rather than jgit, and it worked fine.
Has anyone seen this before? Any suggestions on how to get past this?

Frank
Re: Error using JGIT CLONE [message #1737409 is a reply to message #1737282] Thu, 07 July 2016 20:54 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
Ask an admin if your git server has an error log for your failed requests.
Previous Topic:eGit with old Eclipse version
Next Topic:Could not initialize class org.eclipse.jgit.util.FS
Goto Forum:
  


Current Time: Fri Apr 19 01:03:06 GMT 2024

Powered by FUDForum. Page generated in 0.01511 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top