Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot update cache #111

Open
xky0007 opened this issue Jan 6, 2025 · 4 comments
Open

Cannot update cache #111

xky0007 opened this issue Jan 6, 2025 · 4 comments

Comments

@xky0007
Copy link

xky0007 commented Jan 6, 2025

  1. Install winget install tldr-pages.tlrc
  2. tldr --update Get 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)
@acuteenvy
Copy link
Member

Does it always happen? I can't reproduce this.

What about other tools? Try curl -L https://github.com/tldr-pages/tldr/releases/latest/download/tldr.sha256sums, does it return the same error?

@xky0007
Copy link
Author

xky0007 commented Jan 8, 2025

Probably the internet problem. Does tldr --update use system proxy?

@acuteenvy
Copy link
Member

acuteenvy commented Jan 9, 2025

Does tldr --update use system proxy?

It does, if you set the appropriate environment variable. What kind of proxy do you have (HTTP(S), SOCKS)?

Does this error occur only in tlrc?

@xky0007
Copy link
Author

xky0007 commented Jan 13, 2025

Does tldr --update use system proxy?

It does, if you set the appropriate environment variable. What kind of proxy do you have (HTTP(S), SOCKS)?

Does this error occur only in tlrc?

Yes, this only occured in tlrc. I have two pc with same system proxy software. If I use tldr-python, it can update correctly.

tldr 3.3.0 (Client Specification 2.2)

vs

tldr --version
tlrc v1.9.3 (implementing the tldr client specification v2.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants