欢迎光临
我们一直在努力

RPC failed; result=18, HTTP code = 200

First Solution:

Try running the command below in the remote repository if error is fatal: index-pack failed

git repack -a -f -d –window=250 –depth=250

Second Solution:

Also try the below ones from the remote repository location if the above one didn’t work:

git gc –aggressive

git repack -a -f -d –window=250 –depth=250

Third Solution:

Try reducing the postBuffer size in the remote repository config. Follow the steps below

 

  1. Go to remote git repository directory
  2. Run the following command to reduce the size of postBuffer 

    git config http.postBuffer 24288000

  3. you can check this value by doing “git config –get http.postBuffer”
  4. Try cloning the repository now (back to where are you cloning)
  5. If failed with error: RPC failed; result=18, HTTP code = 200 try again by incresing the postBuffer ever further in the config. go to step 1.

 

赞(0) 打赏
转载请注明来源:IT技术资讯 » RPC failed; result=18, HTTP code = 200

评论 抢沙发

评论前必须登录!

 

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏