kiwix / container-images

9 stars 3 forks source link

torrent tracker not working via IPv6 #235

Open Popolechien opened 1 year ago

Popolechien commented 1 year ago

Reported by user:

It looks like IPv6 is broken Connecting to http://tracker.openzim.org ([http://tracker.openzim.org]> (https://t.co/QWCU3b9tiE))|51.159.30.163|:6969... connected. Connecting to http://tracker.openzim.org (http://tracker.openzim.org)|2001:bc8:6005:1a:dac4:97ff:fe2a:33d8|:6969... failed: Connection refused.

rgaudin commented 1 year ago

Looks like opentracker needs to be ran (and built) either for v6 or for v4. We'd need to run two trackers to support ipv4 and ipv6.

Do we want to?

http://erdgeist.org/gitweb/opentracker/tree/README_v6

signout commented 1 year ago

I reported this issue (via twitter) I really like IPv6, but understand if you don't want to maintain two different instances. If that's what you end up deciding then please remove the AAAA record so torrent clients can use the IPv4. rtorrent prefers IPv6 and doesn't use the v4 even if the v6 doesn't answer.

rgaudin commented 1 year ago

Ok I'll remove the record until we decide to act upon this. Thank you for the tip

signout commented 1 year ago

Thank you :)

rgaudin commented 1 year ago

Was a CNAME to another record which had both A and AAAA records. Replaced it with an A record. Please give it a try in like an hour from now and let me know if this works with your client.

kelson42 commented 1 year ago

I'm not sure we should not have two instances....