I have updated rustup to 1.22.0.
I think the update was successful. However, after that, rustup check, rustup self update, etc. caused a network error and stopped working.
Maybe it's because my environment is behind a proxy?
In any case, it worked correctly in 1.21.1, but no longer in 1.22.0.
Output in wsl environment (It was the same in the Windows environment)
$ rustup self update
info: checking for self-updates
error: could not download file from 'https://static.rust-lang.org/rustup/release-stable.toml' to '/tmp/rustup-updatehKAODH/release-stable.toml'
error: caused by: failed to make network request
error: caused by: error sending request for url (https://static.rust-lang.org/rustup/release-stable.toml): error trying to connect: tcp connect error: Connection refused (os error 111)
error: caused by: error trying to connect: tcp connect error: Connection refused (os error 111)
error: caused by: tcp connect error: Connection refused (os error 111)
error: caused by: Connection refused (os error 111)