git Error code: 128 stderr: error: RPC failed

ZHUWEI
2023-09-11 17:10:28
2 赞(0) 踩(0)

RuntimeError:Couldn'tfetchStableDiffusionXL.Command:git-Cxxxxxxx\generative-modelsfetchErrorcode:128

RuntimeError: Couldn't fetch Stable Diffusion XL.
Command: "git" -C "xxxxxxx\generative-models" fetch
Error code: 128
stderr: error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054

fatal: expected flush after ref listing


此为GIT请求时SSL验证错误,若是出现了 后面Stable Diffusion扩展安装时也会经常出错,让人苦不堪言

---------------------------------------------

具体解决办法:

打开GIT命令窗口,

输入命令:git config --global http.sslVerify "false"

然后回车,搞定收工

---------------------------------------

单单这样恐怕还是不行,当你科学上网时,还需要设置一下GIT代理,才能开心快乐

#设置代理
git config --global https.proxy https://127.0.0.1:xxxx

#检查代理
git config --global --get https.proxy

↑TOP