Skip to contentSkip to conversation

Bizarre problem cloning repo from Codeplex

DISCUSSION Jeremy Morton 4 participants 6 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

I'm trying to clone the following repository from Codeplex:

https://git01.codeplex.com/entityframework.git

git downloads all the objects, creates the directory "entityframework", then displays "error: RPC failed; result=56, HTTP code = 200" and immediately deletes the directory.

I can clone other HTTPS repos with this git installation, for example from Bitbucket and Github. It's git 1.7.10.4 on Debian. I can also clone this codeplex repo OK on my windows git installation (1.7.11.msysgit.1). I'm totally perplexed; anyone have any idea what is going wrong with the Debian git installation here?

Signature · 2 lines
Best regards,
Jeremy Morton (Jez)
#1 lore raw
Quoted 5 lines

I'm trying to clone the following repository from Codeplex:

https://git01.codeplex.com/entityframework.git

Quoted 7 lines

git downloads all the objects, creates the directory "entityframework",
then displays "error: RPC failed; result=56, HTTP code = 200" and immediately deletes the directory.

I can clone other HTTPS repos with this git installation, for example from Bitbucket and Github. It's git 1.7.10.4 on Debian.

reproduced it on Ubuntu precise, git-1.7.9.5

When starting with an empty repo, adding the url as remote and calling git remote update origin:

Quoted 9 lines

Fetching origin
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-5cWq1d/pkcs11: No such file or directory
remote: Counting objects: 21339, done.
remote: Compressing objects: 100% (3778/3778), done.
remote: Total 21339 (delta 17180), reused 21339 (delta 17180)
Receiving objects: 100% (21339/21339), 11.24 MiB | 1.04 MiB/s, done.
error: RPC failed; result=56, HTTP code = 200
Resolving deltas: 100% (17180/17180), done.
error: Could not fetch origin

But: refs/remotes/origin/master is added and looks sane (git fsck shows no errors).

Subsequent 'git remote update' calls look good:

Quoted 1 line

Fetching origin

Even after manually removing the ref and re-running update, everything look fine:

Quoted 4 lines

Fetching origin
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-5cWq1d/pkcs11: No such file or directory From https://git01.codeplex.com/entityframework
* [new branch] master -> origin/master

Their webserver seems to be configured quite restrictively (eg. cannot access files like 'packed-refs').

Is there a way to trace the actual HTTP calls ?

cu

Signature · 11 lines
Mit freundlichen Grüßen / Kind regards 

Enrico Weigelt 
VNC - Virtual Network Consult GmbH 
Head Of Development 

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

[email protected]; www.vnc.de 
#2 lore raw

On Sat, Nov 10, 2012 at 2:49 AM, Enrico Weigelt <[email protected]> wrote:
[snip]

Quoted 4 lines

Their webserver seems to be configured quite restrictively (eg. cannot access files like 'packed-refs').

Is there a way to trace the actual HTTP calls ?

Try GIT_CURL_VERBOSE=1. GIT_TRACE_PACKET=1 can be helpful too.

-John

PS Sorry for the duplicate. I meant to respond to the list as well.

#3 lore raw
In reply to Enrico Weigelt
Quoted 2 lines · Enrico Weigelt

Their webserver seems to be configured quite restrictively (eg. cannot access files like 'packed-refs').

Probably it just doesn't exist.

Andreas.

Signature · 3 lines
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
#4 lore raw
Quoted 4 lines
Quoted 2 lines

Their webserver seems to be configured quite restrictively (eg. cannot access files like 'packed-refs').

Probably it just doesn't exist.

Aren' these files requied ?

cu

Signature · 11 lines
Mit freundlichen Grüßen / Kind regards 

Enrico Weigelt 
VNC - Virtual Network Consult GmbH 
Head Of Development 

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

[email protected]; www.vnc.de 
#5 lore raw
Quoted 6 lines · Enrico Weigelt
Quoted 4 lines
Quoted 2 lines

Their webserver seems to be configured quite restrictively (eg. cannot access files like 'packed-refs').

Probably it just doesn't exist.

Aren' these files requied ?

No. If you've never run git pack-refs it's never created.

Andreas.

Signature · 3 lines
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."