tldr-pages / tlrc

A tldr client written in Rust
http://tldr.sh/tlrc/
MIT License
232 stars 9 forks source link

Download error when using a SOCKS proxy #71

Closed immadolf closed 2 months ago

immadolf commented 2 months ago

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?

acuteenvy commented 2 months ago

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?

immadolf commented 2 months ago

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?

acuteenvy commented 2 months ago

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.

immadolf commented 2 months ago

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.

kbdharun commented 2 months ago

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)

acuteenvy commented 2 months ago

Fixed in https://github.com/tldr-pages/tlrc/commit/9abe507f85a76d121ccf428108fc1d9e85d443f9.