Closed evandrojr closed 1 month ago
It sounds like Go's DNS resolution isn't working as expected on Android. I think this is specific to Go, there might be an environment flag or something you can pass to tell it what to use as a resolver, in the case of Android it might not be trivial.
Running this locally on macOS and it's fine.
you could try and look at what I did https://github.com/sweetbbak/tget (which is just wget for torrents) I just tested it again on my Android Pixel 8 and it worked well. I downloaded and seeded a pretty sizeable torrent.
You may have to disable IPV6 in the client config or maybe consider updating the anacrolix/torrent dependency. It wasn't working for a while on Android but the latest versions seem to work without any extra configuration.
for your specific torrent, I did get some errors though
tget --info -t "magnet:?xt=urn:btih:...2Ftorrents%2Fbig-buck-bunny.torrent"
[2024-09-02 23:42:18 +0000 ERR github.com/anacrolix/upnp upnp.go:89]
Listing network interfaces: route ip+net: netlinkrib: permission denied
SUCCESS Got torrent info!
[263.6MiB] Big Buck Bunny
Files:
000 | Big Buck Bunny.en.srt
001 | Big Buck Bunny.mp4
002 | poster.jpg
[2024-09-02 23:42:19 +0000 WRN github.com/anacrolix/torrent torrent.go:1711]
error in initial announce to "wss://tracker.btorrent.xyz": write AnnounceRequest: *webtorrent.TrackerClient closed
[2024-09-02 23:42:19 +0000 WRN github.com/anacrolix/torrent/webtorrent transport.go:73]
tracker client for "wss://tracker.btorrent.xyz": webrtc PeerConnection state changed to closed
[2024-09-02 23:42:19 +0000 WRN github.com/anacrolix/torrent torrent.go:1711]
error in initial announce to "wss://tracker.fastcast.nz": write AnnounceRequest: *webtorrent.TrackerClient closed
[2024-09-02 23:42:19 +0000 WRN github.com/anacrolix/torrent/webtorrent transport.go:73]
tracker client for "wss://tracker.fastcast.nz": webrtc PeerConnection state changed to closed
[2024-09-02 23:42:19 +0000 WRN github.com/anacrolix/torrent torrent.go:1711]
error in initial announce to "wss://tracker.openwebtorrent.com": write AnnounceRequest: *webtorrent.TrackerClient closed
[2024-09-02 23:42:19 +0000 WRN github.com/anacrolix/torrent/webtorrent transport.go:73]
tracker client for "wss://tracker.openwebtorrent.com": webrtc PeerConnection state changed to closed
maybe something to do with WebRTC?
I would guess it's no problem at all, just unnecessarily noisy logging.
I have success with linux arm7 binaries on Android 4.4
I'm not sure what else I can do here.
I am getting this error all the time and nothing downloads
Command:
Any clue, please?
It is not working with rain torrent either. I tried to ping to the trackers and the addresses resolved. Thanks!