rakshasa / libtorrent

libTorrent BitTorrent library
http://rtorrent.net/downloads/
GNU General Public License v2.0
892 stars 209 forks source link

Failure to grab metadata using encryption=require #46

Open viric opened 10 years ago

viric commented 10 years ago

I'm using a magnet with two udp trackers (publicbt one of them), for the test. One seeder, and one leech.

I know that rtorrent doesn't allow seeding the meta. But I found that if I set "encryption=require", it fails to grab the meta too.

I've tried with both a transmission and rtorrent, always with encryption require. When both (seeder and leech) use rtorrent, it doesn't work. When one is rtorrent and the other transmission (no matter who), it doesn't work either. When both are transmission, all works (also requiring encryption).

When the seeder is transmission, and rtorrent is the leech, it works only if I disable encryption. With encryption=require, it fails to download the meta.

With rtorrent I could download meta torrents with encryption enabled, like those of ubuntu, but not when the file is in my transmission server.

So there seems to be some incompatibility a bit hard to debug. Can I take any traces or try some situation, to help solve this?

rakshasa commented 10 years ago

This is something I plan on fixing in the near future.