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

Bug 465062

Summary: Timeout trying to pull from ssh://<username>@git.eclipse.org/gitroot/platform/eclipse.platform.ui.git
Product: Community Reporter: Sergey Prigogin <eclipse.sprigogin>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Sergey Prigogin CLA 2015-04-20 17:04:06 EDT
I'm getting constant timeout trying to pull from Timeout trying to pull from ssh://<username>@git.eclipse.org/gitroot/platform/eclipse.platform.ui.git. Other git repositories, for example ssh://<username>@git.eclipse.org/gitroot/platform/eclipse.platform.resources.git, work fine.

org.eclipse.jgit.api.errors.TransportException: Read timed out after 30,000 ms
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
	at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:261)
	at org.eclipse.egit.core.op.PullOperation$1.run(PullOperation.java:97)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
	at org.eclipse.egit.core.op.PullOperation.execute(PullOperation.java:128)
	at org.eclipse.egit.ui.internal.pull.PullOperationUI.execute(PullOperationUI.java:140)
	at org.eclipse.egit.ui.internal.pull.PullOperationUI$1.runInWorkspace(PullOperationUI.java:115)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.jgit.errors.TransportException: Read timed out after 30,000 ms
	at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefs(BasePackConnection.java:182)
	at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:283)
	at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:161)
	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:1138)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
	... 8 more
Caused by: java.io.InterruptedIOException: Read timed out after 30,000 ms
	at org.eclipse.jgit.util.io.TimeoutInputStream.readTimedOut(TimeoutInputStream.java:141)
	at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:114)
	at org.eclipse.jgit.util.IO.readFully(IO.java:246)
	at org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:186)
	at org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:138)
	at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefsImpl(BasePackConnection.java:195)
	at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefs(BasePackConnection.java:176)
	... 14 more
Comment 1 Denis Roy CLA 2015-04-21 09:54:55 EDT
Yesterday after you opened this bug, I was able to clone the repo in 55 seconds.  I wiped it then cloned again, and it took over 7 minutes.

This morning it's taking about 50-55 seconds to clone.  I'll keep an eye on it, but it could have been some transient congestion.
Comment 2 Sergey Prigogin CLA 2015-04-21 13:52:58 EDT
(In reply to Denis Roy from comment #1)
The problem doesn't happen with cloning and Fetch from Upstream but happens with Pull to a previously cloned repository. This happens even immediately after a successful Fetch from Upstream. Maybe its an EGit bug. I'm running the latest nightly EGit 4.0.0.201504202218, but the problem has been around for some time.
Comment 3 Denis Roy CLA 2015-05-27 15:17:08 EDT
Sergey are you still seeing this issue?  We could try a garbage collection on platform.ui since the repo is huge, but typically GCs only temporarily fix the issue.

I can git pull from the repo just fine.
Comment 4 Sergey Prigogin CLA 2015-05-27 16:29:59 EDT
The issue went away few days after it was reported.