作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我已经尝试了 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 服务器(也许这是我的问题,哈哈)
我尝试过的事情:
关于错误消息的有趣之处: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/
我是一名优秀的程序员,十分优秀!