tlrc: Cannot update cache
- Install
winget install tldr-pages.tlrc tldr --updateGet error :
info: downloading 'tldr.sha256sums'... FAILED
error: https://github.com/tldr-pages/tldr/releases/latest/download/tldr.sha256sums: Connection Failed: tls connection init failed: 远程主机强迫关闭了一个现有的连接。 (os error 10054)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (5 by maintainers)
Commits related to this issue
- add workaround for `tldr --update` ( tlrc ) issue: "error: io: invalid peer certificate: UnknownIssuer" error message: ```bash $ tldr --update info: downloading 'tldr.sha256sums'... FAILED error: io:... — committed to marslo/dotfiles by marslo 2 years ago
- Actually enable rustls-platform-verifier By default ureq uses webpki-roots, even if the platform-verifier feature is enabled. Hopefully the certs will load from the OS store correctly now. relevant i... — committed to tldr-pages/tlrc by acuteenvy 2 years ago
- Run cargo update ureq -> v3.0.11, this should fix the proxy issue described in #111. — committed to tldr-pages/tlrc by acuteenvy 2 years ago
- Run cargo update ureq -> v3.0.11, this should fix the proxy issue described in #111. — committed to kahlstrm/tlrc by acuteenvy 2 years ago
I installed tlrc using
cargo install tlrc, but encountered an error when trying to update the cache withtldr -u:I’ve configured a proxy for accessing GitHub and confirmed it’s set correctly:
When I manually test the URL using curl, it works fine:
So the proxy appears to be working. Is there a way to make tlrc respect the system proxy settings, or is there a recommended workaround to successfully update the cache?
@marslo could you try upgrading with
brew upgrade --fetch-HEAD tlrc? 6e8ee38b4e52698fb75e8c7bc28aac4dfaacaa4c should hopefully fix this.