Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329631 - egit clone of github repository fails
Summary: egit clone of github repository fails
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 11:19 EST by Andrew Ross CLA
Modified: 2011-02-28 11:13 EST (History)
1 user (show)

See Also:


Attachments
Image of error when attempting to clone a github repositry (56.28 KB, image/png)
2010-11-07 11:19 EST, Andrew Ross CLA
no flags Details

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