You have configuration which overrides the crates.io URL and replaces it with a mirror or proxy, but the proxy is broken, or blocked, or misconfigured.
Check .cargo/config.toml file for the correct source replacement URL, or delete the source replacement if you don't need it.