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

相关推荐
析数塔4 小时前
编译两分钟,修改五秒钟:Zig构建系统重构解决的老问题
程序员·rust
Kapaseker5 小时前
Rust 是如何干掉空指针的
rust·kotlin
特立独行的猫a5 小时前
OHOS (OpenHarmony) 鸿蒙的Rust 交叉编译环境搭建指南
华为·rust·harmonyos·鸿蒙pc
Rust研习社6 小时前
从 LaunchBadge 到 transact-rs:SQLx 社区迈出可持续治理的第一步
开发语言·后端·rust
techdashen1 天前
你想在 Rust 中实现动态库热重载?
开发语言·chrome·rust
只会写bug的靓仔1 天前
我把 Electron+Go 的 LOL 战绩工具重写成 Tauri+Rust,安装包从 128 MB 砍到 5 MB
golang·rust·electron
本地化文档1 天前
sphinxcontrib-rust-docs-l10n
python·rust·github·gitcode·sphinx
韦胖漫谈IT1 天前
选语言不是站队,是选适合问题的工具
java·python·ai·rust·go·技术落地
特立独行的猫a1 天前
鸿蒙 PC 平台 Rust 语言第三方库与应用移植全景指南
华为·rust·harmonyos·三方库·鸿蒙pc
红尘散仙2 天前
我把终端小说阅读器接上了 AI Agent:TRNovel 现在能用 skill 生成书源了
人工智能·后端·rust