RustRover加载Rust项目报错

问题描述:

昨天还可以正常使用的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全局代理

相关推荐
离歌漠13 小时前
《我用 Tauri 做了一个本地开发工具箱》
rust·typescript·vue
小小龙学IT17 小时前
Python Polars 高性能数据处理引擎深度解析
开发语言·python·rust·1024程序员节
zzu123zsw19 小时前
为什么 Python 做 Agent 总在并发中崩溃?拆解 Blockcell 在 Rust 下的 Host-Cell 隔离与自愈状态机
开发语言·python·rust·大模型·ai agent
hsg7721 小时前
简述:基于Ubuntu24编译发布rust开发的html+web后端服务的方法
rust·1024程序员节
zzu123zsw1 天前
当 GPU 加速渲染遇上无头组件:拆解 Yororen UI 在 GPUI 生态下的状态解耦与 XML 模板实践
xml·ui·rust·gui·gpui
传奇开心果编程1 天前
【Rust入门练中学】第6课:结构体与方法
开发语言·rust·结构体·编程语言理论·结构体方法·编程通用语言
本地化文档1 天前
cutile-rs-book-l10n
rust·gpu·nvidia·cuda·sphinx·crowdin
qq_406981031 天前
大白话rust系列09 函数调用两次有什么错?
开发语言·python·rust
康小旺1 天前
TypeScript 编译器开始卷 Rust 了:Cloudflare 的 tsrs 到底想干嘛?
rust·typescript
Norna1 天前
时间轮的 +1,为什么最后只留在顶层
rust