freenet-mobile / app

Access Freenet from the palm of your hand
https://git.io/freenet-mobile
GNU General Public License v3.0
131 stars 15 forks source link

Upon restart no seeds/peers are found #55

Open desyncr opened 3 years ago

desyncr commented 3 years ago

This behaviour can be observed when the node is shutdown for a long period of time (say, a month). It could be that the opennet peers are not responding / online and the node doesn't tries to announce itself.

This is how the logs look like when the node is bootstrapped into the network (e.g. has opennet peers):

I/System.out: Read 7 opennet peers from /data/user/0/org.freenetproject.mobile/app_data/openpeers-41027
I/System.out: Read 0 old-opennet-peers from /data/user/0/org.freenetproject.mobile/app_data/openpeers-old-41027
I/System.out: Not attempting immediate announcement: dark peers=0 open peers=7 old open peers=0 - will wait 1 minute...

Otherwise it will report as follows:

I/System.out: Attempting announcement to seednodes...

Related code:

desyncr commented 3 years ago

Could not reproduce it anymore. I'm close this for now.

desyncr commented 3 years ago

Was able to reproduce. Continuing investigation.