Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344676 - Clone hangs during fetch via SSH
Summary: Clone hangs during fetch via SSH
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 05:25 EDT by Robin Stocker CLA
Modified: 2011-05-04 11:57 EDT (History)
1 user (show)

See Also:


Attachments
Stack trace of Eclipse when it hangs (5.55 KB, text/plain)
2011-05-04 05:30 EDT, Robin Stocker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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).