Open fryorcraken opened 5 months ago
wheel of death I am referring to:
- If we know that we are connected to 0 peers (from node management tab), why aren't we showing a banner?
Actually I see a banner now. Not sure if it's me or random. Will test more.
Redid a test around 17:12 and the reconnection was almost instantaneous.
logs:
@fryorcraken Do you still see this issue? If not, we can close this.
I reported quite a few things in there. Will check again.
Problem
Doing some basic tests to understand Waku Relay disconnect/connection behaviour.
Around this time:
Resume connectivity
new peer in 7s, 5 peers in 23 s, looks fine.
Send message, looks fine.
Then tried again, 27s to 0 peers (16:09)
spammed retry button (ignore that, I forgot to resume connectiviity
Resume connectiivty
1min to get 1 peer around 16:13:35.
Send message, looks sent fine.
Disconnected again and sent messages as soon as disconnected, before peers drop to 0:
Message not marked as failed at first. But then marked as failed when peer number reaches 0.
I also noticed that a message sent just before the disconnection was marked as "not sent".
Note, all messages were sent in chat group (ie, with MVDS).
Learnings
I did few more tests, it takes 20 to 40 s to go to 0 peers from internet loss.
Interesting that a message I sent before disconnection was not sent. What is the delay between clicking enter and message over the wire?
Note that no banner ever opens when we know relay is disconnected (0 peers), but we have banners for external services.
Questions
app_20240606_160439.log geth.log