For some projects, I get an error when I clone the git repository.
It is the case for i18n projet and calendar. For others projects I tested, I didn't have problems to clone them.
Here is the command I run :
git clone http://git.drupal.org/project/i18n.git i18n
I obtain this message :

Cloning into i18n...
error: RPC failed; result=22, HTTP code = 417
fatal: The remote end hung up unexpectedly

However, when I go to http://drupalcode.org/project/i18n.git or http://drupalcode.org/project/calendar.git, the projects exist.
How can I clone theses git repositories ?

Comments

lucuhb’s picture

Status: Active » Closed (fixed)

The problem is resolved when I run the command git clone git://git.drupal.org/project/i18n.git i18n

kyle_mathews’s picture

Status: Closed (fixed) » Needs work

I keep running into this same problem. lucuhb's fix worked for me too. Is there anything that can be done to fix this problem? Perhaps add the alternative syntax to the git instructions tab?

tr’s picture

git clone http://git.drupal.org/project/i18n.git works for me.
I have never had a problem with git.drupal.org but I see an error if I download this project from drupalcode.org like you're doing.

(The error I get from drupalcode.org is "error: The requested URL returned error: 400 while accessing http://drupalcode.org/project/i18n.git/info/refs")

sdboyer’s picture

We have seen errors similar to this crop up, including eerily similar-looking ones over the SSH protocol, too. Not sure what's causing them, unfortunately. They do seem to be intermittent, at least. :( :(

cgreatbanks’s picture

Encountered this issue when passing through a squid proxy.

Fix from the following seemed to work if you have a similar squid proxy setup - http://drupal.org/node/1090560
echo "ignore_expect_100 on" | sudo tee -a /etc/squid3/squid.conf
sudo /etc/init.d/squid3 restart

lucuhb’s picture

Set the 'ignore_expect_100' at 'on' in the squid proxy setup works for me too, thanks.

nnevill’s picture

'ignore_expect_100 on' works for me to
thanx

eliza411’s picture

Status: Needs work » Closed (fixed)

I added this to the FAQ and am closing this as a support request since a solution has been posted. If that's not appropriate, please re-open.

FAQ: http://drupal.org/node/1101210

Zgordan.VV’s picture

Thank you, 'ignore_expect_100 on' helps!

elvis2’s picture

I am on a windows box and had the same issue. I got rid of the issue by using the git:// protocol.