setvisible / ArrowDL

ArrowDL (Arrow Downloader) is a download manager for Windows, MacOS and Linux
https://www.arrow-dl.com/
GNU Lesser General Public License v3.0
551 stars 30 forks source link

Torrent Error - Can't download metadata #85

Open RafaelLinux opened 1 year ago

RafaelLinux commented 1 year ago

Trying to download torrent from https://download.manjaro.org/kde/21.3.7/manjaro-kde-21.3.7-220816-linux515.iso.torrent with "Download torrent" button I got "Can't download metadata".

I'm behind an authenticated required HTTP proxy configured in DownZemAll, so regular downloads works fine (streams and http ones) but I tried to download that "torrent" and it didn't work.

Any suggestion?

setvisible commented 1 year ago

Hi,

Could you open the Preferences > Advanced, search for "torrent.global.proxy", and configure the torrent proxy settings?

The proxy settings under Preferences > Network are specific to direct file downloads, and the torrent.global.proxy is unrelated to them. They must be configured separately.

PS: the link works for me (the torrent is donwloaded), but it's not behind a proxy...

Regards

RafaelLinux commented 1 year ago

Hello

I'm sorry for writing late. Our proxy is "http://" type, but "torrent.global.proxy_type" is a numeric input, and I don't know if "0" is "http" or "socket". Do you know what's relation to each one?

Anyway, to set proxy that way is far away from secure, cause password is showed clearly. Did you consider to set it through same "Network" tab?

Thank you

setvisible commented 1 year ago

Hi, This interface is not implemented yet. It has been done in a quick-n-dirty way.

The numeric field is because the parameter is an integer in LibTorrent: https://www.libtorrent.org/reference-Settings.html#proxy_type_t

I agree that the interface could be improved, ideally the two "proxy" settings (direct download files proxy and torrent proxy) should be merged within the same setting page...

Regards

RafaelLinux commented 1 year ago

Thank you for take it into account