代码之家  ›  专栏  ›  技术社区  ›  Black

git pull:info/refs HTTP请求失败

git
  •  1
  • Black  · 技术社区  · 7 年前

    我刚在长时间休息后登录了我们的产品盒(CentOS),但我做不到 git pull 出于某种原因。

    这个repo的克隆似乎存在本地问题,因为我可以在其他机器上使用相同的凭据(以前从未有过这个repo的克隆)克隆和提取相同的repo。

    命令行消息是:

    [root@ft41 project_folder]# git pull
    Password: 
    error:  while accessing https://<myusername>@bitbucket.org/<myproject>/<myrepo>.git/info/refs
    
    fatal: HTTP request failed
    

    角括号中的部分已由我修订。 这是 info/refs 此请求的常用URL?本地克隆中的某些内容是否已损坏并导致此问题?

    如果有帮助:

    [root@ft41 project_folder]# git status
    # On branch master
    nothing added to commit 
    

    请注意-我已经完成了 GIT拉力 从这台PC/目录成功地运行了很多次。它支持HTTPS协议。

    1 回复  |  直到 7 年前
        1
  •  3
  •   VonC    7 年前

    可能是因为 very recent disabling of TLSv1 and TLSv1.1 由BitBucket完成( GitHub had done that in Feb. 2018 )

    AS mentioned here ,请升级nss、curl和libcurl(请参见 here for an example of curl upgrade on CentOS )

    sudo yum update -y nss curl libcurl