#Sprucious network error...

57 messages ยท Page 1 of 1 (latest)

dull trench
#

Just wtf is that sh*t ? This bug was reported like 2 years ago nah???? Is Rust that annoying just to download a package? Or it's just me? I've found some tricks to do on google to get around this problem... But how come I have to do manips for something so basic? What sould I do? ...

> cargo add axum

    Updating crates.io index
warning: spurious network error (3 tries remaining): [35] SSL connect error (Recv failure: Connection was reset)
warning: spurious network error (2 tries remaining): [35] SSL connect error (Recv failure: Connection was reset)
sage yew
#

This indicates something wrong with your device and it's network

#

Stuff like anti virus and firewalls

#

Cargo was unable to establish an encrypted connection the the index server

dull trench
sage yew
#

Just by chance

dull trench
#

cargo 1.77.0 (3fe68eabf 2024-02-29)

#

I think it's the last version ?

sage yew
#

Yeah

sage yew
dense spindle
#

Connection was reset is a typical symptom of your router/ISP blocking a website

sage yew
#

(I believe the index is on that domain)

dull trench
dull trench
dense spindle
sage yew
dull trench
#

I'm with Bouygues Telecom (I'm based in France) ๐Ÿท ๐Ÿฅ– ๐Ÿ‡ซ๐Ÿ‡ท ferristhumbsup

sage yew
#

I believe traceroute will show a proxy (assuming you know what your normal network topology is)

dull trench
sage yew
dull trench
sage yew
#

Are you in wsl2 by chance?

dull trench
sage yew
#

Or a virtual machine of any type

dull trench
sage yew
dull trench
#

I'm going to try

dull trench
#

So it's seem to be good ?

sage yew
#

Just to check cargo still reports an error right?

#

Also this is the Linux version of cargo right?

dull trench
sage yew
#

Hmm do you have a .cargo/config.toml laying around somewhere?

dull trench
#

Should I ?

sage yew
#

Nah it's just some settings you could put in there could cause this

dull trench
sage yew
dull trench
#
Default host: x86_64-pc-windows-msvc
rustup home:  C:\Users\pacqu\.rustup

stable-x86_64-pc-windows-msvc (default)
rustc 1.77.0 (aedd173a2 2024-03-17)```
sage yew
#

Which should show where it's installed

#

Okay so it is the windows version of cargo so no wsl2 weirdness would be happening

#

Have you tried adding cargo to your windows firewall?

#

I know sometimes windows gets overly protective

dull trench
dull trench
sage yew
dull trench
#

Hummm I've the same error using windows's default terminal (powersell)

dull trench
sage yew
#

yeah

dull trench
# sage yew yeah

No nothing change ๐Ÿ˜ฆ

I'll be back in a few hours because I'm going to sleep now, as it's 3 a.m. in France! I'll get back to you tomorrow! Thank you so much already for your help. ferrisOwO

(And I will try on antoher PC as well !)
THANK YOUUU !!

dull trench
# sage yew yeah

Hello again! So, I tried on another computer and didn't encounter the error.... Do you have any idea what might be causing the issue on my other computer?

sage yew
#

I'm still thinking it's the windows firewall/defender somehow