the_requested_url_returned_error_en_git
Git error: The requested URL returned error: 400 Bad Request while accessing
Problema: No se puede clonar un determinado repositorio, la causa es el uso de versiones muy dispares de Git (cliente - servidor).
git clone --mirror http://dominio.com/scm/lnxadm/backup-tools.git Initialized empty Git repository in /root/backup-tools.git/ error: The requested URL returned error: 400 Bad Request while accessing http://dominio.com/scm/lnxadm/backup-tools.git/info/refs
Webserver logs.
10.0.190.188 - - [22/May/2014:11:54:23 +0200] GET /scm/lnxadm/backup-tools.git/info/refs?service=git-upload-pack HTTP/1.1 401" 0 "-" "git/1.7.1" "-" 10.0.190.188 - - [22/May/2014:11:54:23 +0200] GET /scm/lnxadm/backup-tools.git/info/refs HTTP/1.1 400" 93 "-" "git/1.7.1" "-"
Solución: Instalar un cliente Git más actual en el cliente.
En le caso de Centos 6.4 por defecto se instala client git 1.7.1
rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm yum remove git
yum --disablerepo=* --enablerepo=rpmforge-extras info git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * rpmforge-extras: ftp.nluug.nl Available Packages Name : git Arch : x86_64 Version : 1.7.12.4 Release : 1.el6.rfx Size : 7.6 M Repo : rpmforge-extras Summary : Git core and tools URL : http://git-scm.com/ License : GPL Description : GIT comes in two layers. The bottom layer is merely an extremely fast : and flexible filesystem-based database designed to store directory trees : with regard to their history. The top layer is a SCM-like tool which : enables human beings to work with the database in a manner to a degree : similar to other SCM tools (like CVS, BitKeeper or Monotone).
the_requested_url_returned_error_en_git.txt · Last modified: 2020/12/25 22:57 by 127.0.0.1