ZeroTierOne icon indicating copy to clipboard operation
ZeroTierOne copied to clipboard

Route Update Fails if Swapped Quickly

Open DarkArc opened this issue 1 year ago • 2 comments

Steps to Reproduce

  • Create a route for <lan> via <ip A>
  • Wait for the route to populate in network
  • Create a route for <lan> via <ip B>
  • Delete the route for <lan> via <ip A>

Expected Behavior

The route <lan> via <ip A> no longer exists and the route <lan> via <ip B> is now present.

Actual Behavior

The route <lan> via <ip A> is never deleted.

Workaround

The workaround (which results in all routes being fixed almost immediately) is to first delete the route <lan> via <ip A>, wait a few seconds, and then add the new route.

DarkArc avatar Aug 06 '24 21:08 DarkArc

Thanks for writing. Just to double check, this is an issue with the web ui / configuration, not the zerotier-one client.

The network settings UI does need work.

laduke avatar Aug 06 '24 22:08 laduke

This is (AFAIK) an issue with the client. I waited several minutes for my client(s) to get the routing update (after the swap) but they never did. Once I went back to the web UI deleted the route I just added, waited for the route to drop on my client, and then readded it, all was well (almost instantly).

DarkArc avatar Aug 06 '24 22:08 DarkArc