# Bizarre problem cloning repo from Codeplex

6 messages from 2012-10-26 to 2012-11-12. Participants: Jeremy Morton, Enrico Weigelt, John Szakmeister, Andreas Schwab.
Thread: https://gitlist.dev/t/31954

## Jeremy Morton, 2012-10-26 22:48

Subject: Bizarre problem cloning repo from Codeplex
Message-ID: <508B133D.3090300@game-point.net>
URL: https://gitlist.dev/e/508B133D.3090300%40game-point.net

```
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?

-- 
Best regards,
Jeremy Morton (Jez)

```

## Enrico Weigelt, 2012-11-10 07:49

Subject: Re: Bizarre problem cloning repo from Codeplex
Message-ID: <6c843260-6190-469a-aa53-243ac440b0fd@zcs>
URL: https://gitlist.dev/e/6c843260-6190-469a-aa53-243ac440b0fd%40zcs
In-Reply-To: <508B133D.3090300@game-point.net>

```

> 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.  

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:

> 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:

> Fetching origin

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

> 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
-- 
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

enrico.weigelt@vnc.biz; www.vnc.de 

```

## John Szakmeister, 2012-11-10 12:15

Subject: Re: Bizarre problem cloning repo from Codeplex
Message-ID: <CAEBDL5W0Y85dE5_vjuzBbJh6tm_ZNdKDBvsQyWJucAEhTU07Fw@mail.gmail.com>
URL: https://gitlist.dev/e/CAEBDL5W0Y85dE5_vjuzBbJh6tm_ZNdKDBvsQyWJucAEhTU07Fw%40mail.gmail.com
In-Reply-To: <6c843260-6190-469a-aa53-243ac440b0fd@zcs>

```
On Sat, Nov 10, 2012 at 2:49 AM, Enrico Weigelt <enrico.weigelt@vnc.biz> wrote:
[snip]
> 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.

```

## Andreas Schwab, 2012-11-10 15:23

Subject: Re: Bizarre problem cloning repo from Codeplex
Message-ID: <m2k3tteb2k.fsf@igel.home>
URL: https://gitlist.dev/e/m2k3tteb2k.fsf%40igel.home
In-Reply-To: <6c843260-6190-469a-aa53-243ac440b0fd@zcs>

```
Enrico Weigelt <enrico.weigelt@vnc.biz> writes:

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

Probably it just doesn't exist.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

```

## Enrico Weigelt, 2012-11-12 00:59

Subject: Re: Bizarre problem cloning repo from Codeplex
Message-ID: <09766c5a-faa0-48dc-8c0a-6551cf3b5db9@zcs>
URL: https://gitlist.dev/e/09766c5a-faa0-48dc-8c0a-6551cf3b5db9%40zcs
In-Reply-To: <m2k3tteb2k.fsf@igel.home>

```
> > 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
-- 
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

enrico.weigelt@vnc.biz; www.vnc.de 

```

## Andreas Schwab, 2012-11-12 07:44

Subject: Re: Bizarre problem cloning repo from Codeplex
Message-ID: <m2d2zj2rlc.fsf@linux-m68k.org>
URL: https://gitlist.dev/e/m2d2zj2rlc.fsf%40linux-m68k.org
In-Reply-To: <09766c5a-faa0-48dc-8c0a-6551cf3b5db9@zcs>

```
Enrico Weigelt <enrico.weigelt@vnc.biz> writes:

>> > 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.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

```
