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
When Zenoh runs on an offline computer, no locator are advertised when gossiping with peers. This leads to peer not connecting with each others and the router doing failover brokering.
To reproduce
Disconnect the computer from any network.
Run zenohd --listen tcp/0.0.0.0:7447
Run z_put --listen tcp/0.0.0.0:0 --connect tcp/127.0.0.1:7447
Run z_sub --listen tcp/0.0.0.0:0 --connect tcp/127.0.0.1:7447
If you look at the network or the trace logs, you can see the router is doing failover brokering.
Connect the computer to a network and locators (e.g. the private address 192.168.X.X) are advertised, and the peers can connect to each others.