Git RPC failed

今天早上使用git clone时出现的莫名错误:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

《Git RPC failed》 错误截图

在网上找了半天的解决方法终于搞定:

You could experiment with disabling this feature by editing /etc/gitlab/gitlab.rb and running sudo gitlab-ctl reconfigure:

在/etc/gitlab/gitlab.rb直接添加下面👇一行命令然后sudo gitlab-ctl reconfigure。

nginx[‘custom_gitlab_server_config’] = ‘proxy_buffering off;’

    原文作者:atTry
    原文地址: https://www.jianshu.com/p/a4094de8aa32
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞