arvidn / libtorrent

an efficient feature complete C++ bittorrent implementation

Home Page:http://libtorrent.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to receive any meta data for metadata_received_alert

jingliancui opened this issue · comments

commented

Please provide the following information

libtorrent version (or branch):
RC2

platform/architecture:
iOS

compiler and compiler version:
boost 1.82.0

please describe what symptom you see, what you would expect to see instead and
how to reproduce it.

I follow the example

https://github.com/arvidn/libtorrent/blob/RC_2_0/examples/magnet2torrent.cpp

but it looks like there are no trigger for data for metadata_received_alert.

logs here

2023-09-10 22:54:13.md

there are many reasons why this could happen. Do you manage to join the DHT? you can ask for the node count and the routing table.
If you do, perhaps this torrent doesn't exist on the DHT. Or perhaps there are so few peers that you may not find them in the first round of lookups. Or perhaps they're all behind NAT and you can't connect to them, and you have to wait for them to connect to you. Or perhaps you're also behind NAT, in which case nobody can connect to anybody else.