tldr-pages/tlrc

Download error when using a SOCKS proxy

immadolf opened this issue · 6 comments

i install tlrc by homebrew on macos. When i input tldr fd , it show

info: cache is empty, downloading...
info: downloading 'tldr.sha256sums'... error: https://github.com/tldr-pages/tldr/releases/latest/download/tldr.sha256sums: Connection Failed: Connect error: SOCKS feature disabled.

how can i fix it?

It seems like SOCKS support is disabled by default in the HTTP client used by tlrc. I'll try to fix this later in a new release.

How did you configure the proxy?

I executed the export command in the shell. I did not add it to the .zshrc file.

So do I need to download in a shell without proxy configuration?

So do I need to download in a shell without proxy configuration?

For now, this is the only way. I'll fix it in a new release.

So do I need to download in a shell without proxy configuration?

For now, this is the only way. I'll fix it in a new release.

thks.

Reopening the issue, as a reminder to fix it before the next release. (Note: It will be closed by the respective maintainer when committing the fix)

Fixed in 9abe507.