Closed avbasov closed 5 years ago
@anacrolix is the best person to dig into this.
Hi @avbasov . #254 and #283 are related to this. In the meanwhile, you'll have to manually reconnect to the seed peers. You might do this periodically, or when network conditions change, or when you get failed to find any peer in table
errors. In https://github.com/libp2p/go-libp2p-kad-dht/issues/254#issuecomment-468105273, I mention fallback nodes, I think this issue is sufficient to prompt a stand-alone issue for that feature.
I've proposed the fix in #295. I'll leave this issue open for a while for any questions you have about workarounds.
@anacrolix Thanks for the answer. The reconnection works.
Cheers.
I have a problem with a DHT peer. It stops working after network faults.
dht: error bootstrapping: failed to find any peer in table
.Could you, please, tell me what the proper way to restore connectivity is?
Here is a simplified code