You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a start when connecting to the fleet, sometimes js-chat does not receive any messages but is able to send messages. This is only happen when connecting to a remote node, e.g.:
npm run chat:start --scripts-prepend-node-path=auto -- --staticNode /ip4/134.209.139.210/tcp/30303/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ --listenAddr /ip4/0.0.0.0/tcp/55123
Details
A sleep seems to have help (TODO: paste link) as it may be due to timing issues when starting the node.
A possible scenario could be:
chat dials remote node
Remote node subscribe to default waku topic before identify protocol is finished, chat drop subscription because it does not know remote node support waku relay protocol *
identify protocol finishes
chat sends subscription to remote node but remote node does not graft chat node to mesh topic
Remote node does not forward messages to chat node
If it does, investigate step 2 to understand why chat node does not add remote node to fanout map when receiving this subscribe (by having remote node in fanout map then chat should add remote node to mesh when doing step 4).
The text was updated successfully, but these errors were encountered:
Problem
After a start when connecting to the fleet, sometimes js-chat does not receive any messages but is able to send messages. This is only happen when connecting to a remote node, e.g.:
npm run chat:start --scripts-prepend-node-path=auto -- --staticNode /ip4/134.209.139.210/tcp/30303/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ --listenAddr /ip4/0.0.0.0/tcp/55123
Details
A
sleep
seems to have help (TODO: paste link) as it may be due to timing issues when starting the node.A possible scenario could be:
The reason of 4 could be due to:
wakurelay
, and underlyinggossipsub
, is never started nwaku#445Solution
wakurelay
, and underlyinggossipsub
, is never started nwaku#445 is resolvedThe text was updated successfully, but these errors were encountered: