Rtorrent is unable to establish HTTPS connection with tracker. There are timeouts for these connections. HTTP connections works properly. This problem occurred after package upgrade from 2017Q1 branch. I tried to find the problem by compiling rtorrent and dependencies from ports but it doesn't help. Also tried use rtorrent with curl without HTTP2 support but there was no difference and rtorrent still cannot connect with HTTPS. The debug log from rtorrent shows only timeouts for HTTPS connections: 1483660890 I XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX->tracker_list: Failed to connect to tracker url:'https://tracker.xxx/announce.php?xxxx' msg:'Timeout was reached'. FreeBSD version: 11.0-RELEASE-p6 Packages: curl-7.52.1 libtorrent-0.13.6_1 rtorrent-0.9.6_1 xmlrpc-c-1.39.11
Maintainer informed via mail
I downgraded curl to several previous versions. With these versions (and default port options) rtorrent handles HTTPS connections properly: - curl-7.50.3 (svn: 422575 / git: d2d82deb61cd3bcf01face4f6b9fff4b7d2f31ca) - curl-7.51.0 (svn: 425153 / git: d0cfcfa01eeb6beb3b9e0cd0ed5f25515bf8336e) - curl-7.51.0_5 (svn: 429171 / git: c120afc1ec8eedc18489206c010bb3b4cdcabf9f) With these versions rtorrent has the problems with HTTPS connections: - curl-7.52.0 (svn: 429173 / git: 13b92fbbf06d85422d02de4bb4bad5905e6ec628) - curl-7.52.1 (svn: 429314 / git: cfc83d2859bc1d9a809dbe2393b3c85580d99be5) It seems that the problem starts with curl 7.52.0 and newer.
The problem is related with recent versions of Curl (7.52.0 or newer). Created separated PR for curl and provided necessary patch here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215843
It should be fixed in r430779. Please update curl to 7.52.1_1 and try again. Thanks!
The r430779 solves this issue. Thanks!