PurpleI2P / i2pd

🛡 I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website
BSD 3-Clause "New" or "Revised" License
3.29k stars 424 forks source link

Loss of Yggdrasil-capable peers when in mesh-only mode #2089

Open vartiovaara opened 3 months ago

vartiovaara commented 3 months ago

In some instances when connection gets interrupted for a long period of time in mesh-only mode, I2Pd can not regain connection at default reseed threshold. This seems to be a symptom of the yggdrasil routers getting dropped, leaving the rest as known. This can result in a situation where >900 routers are known, but none can do yggdrasil and reseeding is not triggered resulting in a dead router. This was only fixed by setting the reseeding threshold above that of the currently known routers and restarting.

Vort commented 3 months ago

i2pd behaves wrong in cases of connection interruption, this is known problem. You can try adjusting limits.zombies option value.

As for Yggdrasil specific, maybe someone knows more.

orignal commented 3 months ago

Just drop netdb and reseed again.