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全局代理

相关推荐
楼兰公子11 小时前
buildroot 在编译rust时裁剪平台类型数量的方法
开发语言·后端·rust
Rust研习社18 小时前
开源项目里的 deny.toml 是什么?
后端·rust·编程语言
铭毅天下1 天前
当搜索引擎遇上 Rust——深度解读下一代实时搜索引擎 INFINI Pizza
开发语言·后端·搜索引擎·rust
咸甜适中1 天前
rust语言学习笔记Trait之Default(默认值)
笔记·学习·rust
容智信息2 天前
AI Agent(智能体)的输出格式应该从 Markdown 转向 HTML吗?
前端·人工智能·rust·编辑器·html·prompt
Rust研习社2 天前
Rust Clippy 实用指南:写出更优雅、安全的 Rust 代码
后端·rust·编程语言
yangyongdehao302 天前
两天用AI+rust撸了一款本地批量去水印软件,30MB,效果能打
ai作画·rust
nudt_qxx2 天前
NVIDIA 正式开源cuda-oxide!Rust 编写 CUDA 内核新范式!
rust
小杍随笔3 天前
【Rust桌面革命:Tauri×Dioxus——架构对决、实战拆解与2026选型杀招】
开发语言·架构·rust