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

Bug 344676

Summary: Clone hangs during fetch via SSH
Product: [Technology] JGit Reporter: Robin Stocker <robin>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: critical    
Priority: P3 CC: wolf
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Stack trace of Eclipse when it hangs none

Description Robin Stocker CLA 2011-05-04 05:25:24 EDT
Build Identifier: dce5f96c1ee38c7e50584eac61adb6abdd38aca4

Cloning of a specific repository via SSH hangs in the fetch phase in Eclipse. The problem only occurs on Windows, with a specific repository and JGit. It works with msysgit. It also works with Linux and Mac OS X using JGit.

Reproducible: Always
Comment 1 Robin Stocker CLA 2011-05-04 05:30:14 EDT
Created attachment 194685 [details]
Stack trace of Eclipse when it hangs

Here are two numbers that may be of interest: in org.eclipse.jgit.transport.PackParser$InflaterStream, actualSize is 385024 and expectedSize is 1289200.
Comment 2 Robin Stocker CLA 2011-05-04 05:39:26 EDT
When I clone using C git, here's the contents of the pack directory:

% du -b objects/pack/*     
217932	objects/pack/pack-9590201c20e1b55fdb94cfaeb845f658762142ee.idx
10636195	objects/pack/pack-9590201c20e1b55fdb94cfaeb845f658762142ee.pack
Comment 3 Robin Stocker CLA 2011-05-04 11:57:56 EDT
Sorry, it looks like an internal SOCKS proxy was the problem (which should have been disabled for the git server hostname).