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

相关推荐
Flynt10 小时前
OpenAI把Codex底层从TS重写成Rust,我拆开看了下它的三层架构
rust·openai·agent
第一程序员11 小时前
AI 辅助编程的 7 个误区:把模型当高级搜索引擎是对它的最大浪费
python·rust·github
NutShell Wang15 小时前
Firecrawl anydoc 实战拆解:用一个 Rust 依赖吃下 14 种文档格式
性能优化·rust·vibe coding
DevHub16 小时前
probe-rs 教程:一行命令替代 OpenOCD 烧写调试 Cortex-M
arm开发·嵌入式硬件·mcu·rust
程序员爱钓鱼16 小时前
Rust const泛型详解:让常量也成为泛型参数
后端·面试·rust
k4m7v2pz17 小时前
ESP32-S3 + I2S 麦克风实时音频流静音问题排查:从网络到AGC的谬误溯源
rust·音频·esp32·agc·实时监听·静音排查
SomeB1oody18 小时前
【RustyML入门】7.4. 按需裁剪与模块化集成
开发语言·后端·机器学习·rust·教程
Source.Liu18 小时前
【A11】基于 PDF 渲染引擎的统一文档界面架构设计
rust·pdf
SomeB1oody1 天前
【RustyML入门】7.3. 性能调优与并行
开发语言·后端·机器学习·rust·教程
苏灿烤鱼1 天前
连庄+2,729,空降榜眼只+440
rust·openai·agent