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

Bug 329631

Summary: egit clone of github repository fails
Product: [Technology] EGit Reporter: Andrew Ross <aross>
Component: CoreAssignee: Matthias Sohn <matthias.sohn>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: christian.halstrick
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Image of error when attempting to clone a github repositry none

Description Andrew Ross CLA 2010-11-07 11:19:41 EST
Created attachment 182573 [details]
Image of error when attempting to clone a github repositry

when attempting to clone a github repository using egit and ssh, I receive an error "Git repository clone failed" (see attached image snapshot9.png)

When attempting to clone using the git protocol, I get further and it lists the branches. Then I get this error when attempting to clone:
Git repository clone failed.
Packfile corruption detected: Unknown zlib error.

My system is Fedora 14, 64 bit. I am running Helios with egit 0.9.3.

I have been unsuccessful cloning multiple repositories. In addition, I have no trouble cloning them with git directly from the command line in any choice of protocols (http, ssh, git).
Comment 1 Matthias Sohn CLA 2011-02-10 18:13:10 EST
- Could you retry with latest nightly build of egit ?
- What JVM implementation are you using ?
- Could you retry with a different JVM implementation ?
Comment 2 Andrew Ross CLA 2011-02-18 11:00:56 EST
Thanks for the response.

Tried with version 0.11.1 after having better luck on another system.

Cloning from github with git protocol, got this error this time:
Git repository clone failed.
org.eclipse.jgit.errors.TransportException

This was with:
java --version
java version "1.5.0"
gij (GNU libgcj) version 4.5.1 20100924 (Red Hat 4.5.1-4)

The system I have that's working well runs:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.6) (fedora-50.1.8.6.fc13-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

I'll move to a newer version and confirm it's happy.
Comment 3 Andrew Ross CLA 2011-02-18 11:30:57 EST
yum install java-1.6.0-openjdk

And it's working now. Thank you kindly.