Cargo check issue

% cargo check

Updating index

error: Unable to update registry crates-io

Caused by: failed to fetch

Caused by: process didn't exit successfully: git fetch --force --update-head-ok '' '+HEAD:refs/remotes/origin/HEAD' (exit status: 128) --- stderr fatal: unable to access 'GitHub - rust-lang/ Registry index for': Failed to connect to port 15732 after 3 ms: Connection refused

Do you have some kind of proxy setup for git that should run at localhost, but fails? You could try running git clone to see if it works.

yes, I have set proxy for git. I have delete the works. tks

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.