作者:mobiledu2502879827 | 来源:互联网 | 2023-05-18 20:08
当执行gitclonehttp:xxxxxxxxx时,报:error:RPCfailed;result18,HTTPcode200fatal:Theremoteend
当执行git clone http://xxxxxxxxx 时,报:
error: RPC failed; result=18, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
是因为gitlab HTTP 下载数据是有限制的;
解决这个问题的办法是:
修改 git/config/unicorn.yml 中设置 timeout 到 240, 默认是 30,
修改保存后 重启 gitab