Git RPC falló; resultado = 22, código HTTP = 400

He leído todo sobre StackOverflow y encontré situaciones similares a las mías, pero ninguna lo suficientemente cercana como para que descubriera qué debería intentar hacer a continuación. Estoy tratando de get nuevas copys de las bibliotecas necesarias para build un proyecto en el que estoy trabajando (git clone).

Estoy emitiendo el siguiente command (habilitando GIT_CURL_VERBOSE para get más información) y obteniendo los siguientes datos:

[thexfactor@THISISMYSERVER ~]$ GIT_CURL_VERBOSE=1 git clone http://github.com/symfony/symfony.git Cloning into 'symfony'... * Couldn't find host github.com in the .netrc file, using defaults * About to connect() to github.com port 80 * Trying 192.30.252.129... * connected * Connected to github.com (192.30.252.129) port 80 > GET /symfony/symfony.git/info/refs?service=git-upload-pack HTTP/1.1 User-Agent: git/1.8.2.1 Host: github.com Accept: */* Accept-Encoding: gzip Pragma: no-cache < HTTP/1.1 301 Moved Permanently < Content-length: 0 < Location: https://github.com/symfony/symfony.git/info/refs?service=git-upload-pack < Connection: close * Closing connection #0 * Issue another request to this URL: 'https://github.com/symfony/symfony.git/info/refs?service=git-upload-pack' * Couldn't find host github.com in the .netrc file, using defaults * About to connect() to github.com port 443 * Trying 192.30.252.129... * connected * Connected to github.com (192.30.252.129) port 443 * successfully set certificate verify locations: * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL connection using RC4-SHA * Server certificate: * subject: /2.5.4.15=Private Organization/1.3.6.1.4.1.311.60.2.1.3=US/1.3.6.1.4.1.311.60.2.1.2=Delaware/serialNumber=5157550/streetAddress=548 4th Street/postalCode=94107/C=US/ST=California/L=San Francisco/O=GitHub, Inc./CN=github.com * start date: 2013-06-10 00:00:00 GMT * expire date: 2015-09-02 12:00:00 GMT * subjectAltName: github.com matched * issuer: /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV CA-1 * SSL certificate verify ok. > GET /symfony/symfony.git/info/refs?service=git-upload-pack HTTP/1.1 User-Agent: git/1.8.2.1 Host: github.com Accept: */* Accept-Encoding: gzip Pragma: no-cache < HTTP/1.1 200 OK < Server: GitHub.com < Date: Wed, 25 Sep 2013 13:37:05 GMT < Content-Type: application/x-git-upload-pack-advertisement < Transfer-Encoding: chunked < Expires: Fri, 01 Jan 1980 00:00:00 GMT < Pragma: no-cache < Cache-Control: no-cache, max-age=0, must-revalidate < Vary: Accept-Encoding * Connection #0 to host github.com left intact * Couldn't find host github.com in the .netrc file, using defaults * About to connect() to github.com port 80 * Trying 192.30.252.129... * connected * Connected to github.com (192.30.252.129) port 80 > POST /symfony/symfony.git/git-upload-pack HTTP/1.1 User-Agent: git/1.8.2.1 Host: github.com Accept-Encoding: gzip Content-Type: application/x-git-upload-pack-request Accept: application/x-git-upload-pack-result Content-Encoding: gzip Content-Length: 1474 < HTTP/1.1 301 Moved Permanently < Content-length: 0 < Location: https://github.com/symfony/symfony.git/git-upload-pack < Connection: close * Closing connection #1 * Issue another request to this URL: 'https://github.com/symfony/symfony.git/git-upload-pack' * Violate RFC 2616/10.3.2 and switch from POST to GET * Couldn't find host github.com in the .netrc file, using defaults * Re-using existing connection! (#0) with host github.com * Connected to github.com (192.30.252.129) port 443 > GET /symfony/symfony.git/git-upload-pack HTTP/1.1 User-Agent: git/1.8.2.1 Host: github.com Accept: */* Accept-Encoding: gzip Content-Type: application/x-git-upload-pack-request Accept: application/x-git-upload-pack-result Content-Encoding: gzip * The requested URL returned error: 400 * Closing connection #0 error: RPC failed; result=22, HTTP code = 400 fatal: The remote end hung up unexpectedly 

La emisión de un command para http * s *: //github.com/symfony/symfony.git funciona. Esa no es la pregunta. La obtención de Symfony es una biblioteca en un set grande de libs que forman parte de un file de compositor para una biblioteca que bash include.

Sin la información adicional, la respuesta es simple:

 error: RPC failed; result=22, HTTP code = 400 fatal: The remote end hung up unexpectedly 

Todas las requestes de libs a través de HTTPS funcionan, ninguna a través de HTTP. Prefiero entender por qué esto me funcionaba ayer y por qué tengo que cambiar todo a HTTPS ahora. No puedo modificar el file del compositor y contribuir de nuevo, y preferiría una solución a una solución alternativa.

¿Alguien bueno para analizar los encabezados de respuesta, para descubrir qué podría estar pasando?

¡cambie http, https a ssh, será un trabajo!

 # origin git clonie http://github.com/gmarik/vundle.git # new git clone git@github.com:gmarik/vundle.git 

Tuve un problema similar, se resolvió de inmediato cuando actualicé a git versión 1.8.x