git checkout fails with http, https and git protocol Topic is solved

How to use TestDisk to recover lost partition
Locked
Message
Author
krichter
Posts: 4
Joined: 25 Nov 2014, 21:13

git checkout fails with http, https and git protocol

#1 Post by krichter » 25 Nov 2014, 21:41

Hi,
I tried the following methods to clone the `testdisk` source code with `git` 2.1.0 and got the associated results:

$ LANG=C git clone http://git.cgsecurity.org/testdisk.git
Cloning into 'testdisk'...
error: Recv failure: Connection reset by peer (curl_result = 56, http_code = 0, sha1 = 93663c818d08188ce7828205453362c786ce93b2)
error: Unable to find 93663c818d08188ce7828205453362c786ce93b2 under http://git.cgsecurity.org/testdisk.git
Cannot obtain needed tree 93663c818d08188ce7828205453362c786ce93b2
while processing commit 990c9a93918675323855ee61a95a03ddd36c4f2e.
error: fetch failed.

$ LANG=C git clone https://git.cgsecurity.org/testdisk.git
Cloning into 'testdisk'...
fatal: unable to access 'https://git.cgsecurity.org/testdisk.git/': Failed to connect to git.cgsecurity.org port 443: Connection timed out

$ LANG=C git clone git://git.cgsecurity.org/testdisk.git
Cloning into 'testdisk'...
fatal: unable to connect to git.cgsecurity.org:
git.cgsecurity.org[0: 193.168.50.120]: errno=Connection timed out

My internet connection isn't under heavy load and works for other git checkouts, e.g. `https://github.com/GNOME/nautilus.git`

Any help is appreciated.

-Kalle

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3619
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: git checkout fails with http, https and git protocol  Topic is solved

#2 Post by cgrenier » 26 Nov 2014, 12:07

I have run a
git gc
on my end. Can you try again

Code: Select all

LANG=C git clone http://git.cgsecurity.org/testdisk.git
?

krichter
Posts: 4
Joined: 25 Nov 2014, 21:13

Re: git checkout fails with http, https and git protocol

#3 Post by krichter » 26 Nov 2014, 14:32

Great, now it works :), thank you!

Locked

Who is online

Users browsing this forum: No registered users and 0 guests