Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361847

Summary: Constant session timeouts and connection refused error messages trying to work with Git
Product: Community Reporter: Michael Rennie <Michael_Rennie>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2011-10-24 14:19:18 EDT
While trying to clone the new http://git.eclipse.org/c/platform/eclipse.platform.releng.maps.git/ repo today I have been getting constant timeouts and error messages about refused connections.

Example exception:

org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:145)
	at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:174)
	at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:118)
	at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:142)
	at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:306)
	at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:299)
	at org.eclipse.egit.ui.internal.clone.GitCloneWizard$5.run(GitCloneWizard.java:278)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.TransportException: Read timed out
	at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:291)
	at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:229)
	at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:225)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:151)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
	... 7 more
Caused by: java.io.InterruptedIOException: Read timed out
	at org.eclipse.jgit.util.io.TimeoutInputStream.readTimedOut(TimeoutInputStream.java:140)
	at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:113)
	at org.eclipse.jgit.transport.SideBandInputStream.read(SideBandInputStream.java:139)
	at org.eclipse.jgit.transport.PackParser.fill(PackParser.java:1080)
	at org.eclipse.jgit.transport.PackParser.access$000(PackParser.java:96)
	at org.eclipse.jgit.transport.PackParser$InflaterStream.read(PackParser.java:1605)
	at org.eclipse.jgit.util.IO.readFully(IO.java:216)
	at org.eclipse.jgit.transport.PackParser.inflateAndReturn(PackParser.java:1438)
	at org.eclipse.jgit.transport.PackParser.whole(PackParser.java:945)
	at org.eclipse.jgit.transport.PackParser.indexOneObject(PackParser.java:866)
	at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:469)
	at org.eclipse.jgit.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:178)
	at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:431)
	at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:672)
	at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:284)
	... 13 more

It seems to be any Git operation that is long running fails. Curtis is also experiencing the same issue (we work in the same office). Our IP address is 129.42.208.185 in case it is being detected as a false positive for intrusion detection.
Comment 1 Denis Roy CLA 2011-10-24 15:29:08 EDT
What is the complete URL of the repo you are trying to clone?
Comment 2 Michael Rennie CLA 2011-10-24 16:27:58 EDT
(In reply to comment #1)
> What is the complete URL of the repo you are trying to clone?

http://git.eclipse.org/c/platform/eclipse.platform.releng.maps.git/

I finally just managed to get it cloned.
Comment 3 Michael Rennie CLA 2011-10-24 16:28:31 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > What is the complete URL of the repo you are trying to clone?

erm I meant to paste: ssh://git.eclipse.org/gitroot/platform/eclipse.platform.releng.maps.git
Comment 4 Denis Roy CLA 2011-10-24 16:38:03 EDT
> 129.42.208.185 in case it is being detected as a false positive for intrusion
> detection.


That network has been on our white list since February 2007.  It will never be blocked by our intrusion detection.

(In reply to comment #3)
> ssh://git.eclipse.org/gitroot/platform/eclipse.platform.releng.maps.git

I could see how cloning from the web view URL (http://git.eclipse.org/c/.....) could cause problems since it's not using the smart http server, but SSH should not cause you any problems.


From where I sit, there's nothing on my side that should be causing you any problems...   *scratches head*
Comment 5 Michael Rennie CLA 2011-10-25 11:56:26 EDT
(In reply to comment #4)

> From where I sit, there's nothing on my side that should be causing you any
> problems...   *scratches head*

Seems today the problem has fixed itself, we are both no longer having issues.

Closing as worksforme.