gpt4 book ai didi

Git RPC 失败; curl 18 传输关闭,剩余读取数据未完成

转载 作者:行者123 更新时间:2023-12-03 17:39:18 25 4
gpt4 key购买 nike

任何超过特定大小的 repo 的 git clone 都会在中途失败,我可以使用 ssh 方法,但是在这种情况下需要 http,因为它是 brew install 的一个次要操作。

$ brew cask install homebrew/cask-versions/adoptopenjdk8

==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 422119, done.
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
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-cask /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask` exited with 128.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/utils.rb:266:in `safe_system'
/usr/local/Homebrew/Library/Homebrew/tap.rb:273:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:157:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:103:in `<main>'

这是在一台全新的机器上,具有非常快的互联网连接(已验证 git clone 在其他机器上工作)。另外我增加了缓冲区大小
git config --global http.postBuffer 524288000

我在 http 和 ssh 方法中克隆小型 repos 没有问题。
我已经回顾了类似的堆栈问题,例如下面的问题,但它们没有涵盖这种情况。

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

最佳答案

事实证明,就我而言,它确实是一种我不知道的防病毒软件,Virgin Broadband ISP 使用内置 Virus Safe我不知道的未经我同意就被激活了。对于拥有此 isp 的用户,可以通过 https://my.virginmedia.com/my-apps/onlinesecurity/websafe/settings 停用它。

关于Git RPC 失败; curl 18 传输关闭,剩余读取数据未完成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60878838/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com