Cannot find any peers in table when host not previously connected #308
Labels
exp/wizard
Extensive knowledge (implications, ramifications) required
kind/bug
A bug in existing code (including security flaws)
kind/enhancement
A net-new feature or improvement to an existing feature
I have an rather annoying issue:
If I create an
IpfsDHT
on an emptyHost
, then I create a secondHost
and connect them, Bootstrapping the DHT does not seem to work (get things like `failed to find any peer in table).Bootstrapping only works if the Host was already connected to some other peer at the moment the DHT is created, and not at the moment it is asked to bootstrap (or runs a bootstrap round).
I would expect that running BootstrapOnce (or letting the default bootstrap ticker happen) would take into account the newly added peer connections after the DHT itself was created.
Let me know if I haven't explained myself clearly. Is there a workaround for this perhaps?
The text was updated successfully, but these errors were encountered: