gpt4 book ai didi

git - 致命 : The remote end hung up unexpectedly libcurl result = 7

转载 作者:太空狗 更新时间:2023-10-29 13:25:32 24 4
gpt4 key购买 nike

我已经尝试了 Stackoverflow 上的几乎所有答案,这就是我所看到的

Counting objects: 134, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (73/73), done.
Writing objects: 100% (79/79), 208.38 KiB | 0 bytes/s, done.
Total 79 (delta 37), reused 1 (delta 0)
efrror: RPC failed; result=7, HTTP code = 401
atal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

重要提示:我正在使用 TFS Git 服务器(也许这是我的问题,哈哈)

我尝试过的事情:

  • 使用 git remote -v 确保 url 正确(是的,一切都已检查)
  • 将全局 http.postBuffer 增加到 524288000

关于错误消息的有趣之处:RPC 失败; result=7 在堆栈溢出的大多数情况下很有趣,结果要么在 50 年代,要么在 20 年代,我认为错误来自 libcurl。如果是这种情况,那么我将从 TFS 获得 CURLE_COULDNT_CONNECT (7),我不知道为什么。还有其他人遇到过这个错误吗?或者知道解决我遇到的问题的方法吗?

Curl 的错误代码在这里 http://curl.haxx.se/libcurl/c/libcurl-errors.html

最佳答案

我不认为它来自 libcurl。因为……

HTTP code = 401

... 表示 libcurl 收到了 HTTP 响应,响应代码为 401。401 表示您未通过身份验证无法访问该资源。错误的用户名或密码或类似信息。

关于git - 致命 : The remote end hung up unexpectedly libcurl result = 7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30921723/

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