Closed (fixed)
Project:
Git on Drupal.org
Component:
Git
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2011 at 10:32 UTC
Updated:
20 Apr 2012 at 12:44 UTC
Jump to comment: Most recent
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 unexpectedlyHowever, 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
Comment #1
lucuhb commentedThe problem is resolved when I run the command
git clone git://git.drupal.org/project/i18n.git i18nComment #2
kyle_mathews commentedI 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?
Comment #3
tr commentedgit clone http://git.drupal.org/project/i18n.gitworks 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")
Comment #4
sdboyer commentedWe 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. :( :(
Comment #5
cgreatbanks commentedEncountered 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
Comment #6
lucuhb commentedSet the 'ignore_expect_100' at 'on' in the squid proxy setup works for me too, thanks.
Comment #7
nnevill'ignore_expect_100 on' works for me to
thanx
Comment #8
eliza411 commentedI 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
Comment #9
Zgordan.VV commentedThank you, 'ignore_expect_100 on' helps!
Comment #10
elvis2 commentedI am on a windows box and had the same issue. I got rid of the issue by using the git:// protocol.