您的位置:首页 > 科技 > 能源 > 南昌优化网站服务_夜间网址你会回来感谢我的_百度云电脑版网站入口_女教师遭网课入侵视频

南昌优化网站服务_夜间网址你会回来感谢我的_百度云电脑版网站入口_女教师遭网课入侵视频

2024/10/31 19:11:19 来源:https://blog.csdn.net/tianlangstudio/article/details/143358380  浏览:    关键词:南昌优化网站服务_夜间网址你会回来感谢我的_百度云电脑版网站入口_女教师遭网课入侵视频
南昌优化网站服务_夜间网址你会回来感谢我的_百度云电脑版网站入口_女教师遭网课入侵视频

问题描述:

昨天还可以正常使用的RustRover今天打开Rust项目一直报错:

warning: spurious network error (3 tries remaining): [7] Couldn't connect to server (Failed to connect to 127.0.0.1 port 51342 after 105750 ms: Couldn't connect to server)
warning: spurious network error (2 tries remaining): [7] Couldn't connect to server (Failed to connect to 127.0.0.1 port 51342 after 56959 ms: Couldn't connect to server)
warning: spurious network error (2 tries remaining): [7] Couldn't connect to server (Failed to connect to 127.0.0.1 port 51342 after 84397 ms: Couldn't connect to server)
warning: spurious network error (1 tries remaining): [7] Couldn't connect to server (Failed to connect to 127.0.0.1 port 51342 after 28482 ms: Couldn't connect to server)
error: failed to download from `https://crates-io.proxy.ustclug.org/api/v1/crates/futures-sink/0.3.31/download`

Caused by:
  [7] Couldn't connect to server (Failed to connect to 127.0.0.1 port 51342 after 29486 ms: Couldn't connect to server)

stderr: 

以为跟清理了AppData目录有关,就重新安装的RustRover问题依然没有解决。

从报错信息

  [7] Couldn't connect to server (Failed to connect to 127.0.0.1 port 51342 after 29486 ms: Couldn't connect to server)

上看应该是跟使用了网络代理有关,可并没有开启代理。

解决方法:

取消git 的全局代理,可能是以前为了加速为Git配置了全局代理。

可是在命令终端输入:

git config --global --unset https.proxy

取消git全局代理

可以先使用

git config --global http.proxy

确认配置的git全局代理

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com