Ziti Edge Tunnel doesn't connect to a service using another ER after the initial one went offline

Hello there!

I think I have encountered a bug with how ziti edge tunnel establishes connections.
Consider the following setup:

  • An online ER with circuits and terminators created and working
  • An offline ER

If you stop the online ER and immediately bring up the second ER that was offline prior to the shutdown of the first(online) one - ziti edge tunnel would be unable to dial a service using the newly brought up ER.

The issue is resolved if ziti-edge-tunnel is reloaded.

asciinema: untitled - asciinema.org
Here you could see at the top a demo echo server running. Right below it goes two edge routers, one is online, and the second being offline. Below it you could find the ziti-edge-tunnel running and at the bottom is where my curling happening.

Alright, it seems like its unrelated to the current stable version, but rather to the HA state that I've been testing. Made an appropriate issue on gh.

Could be closed.

Thanks for the report. We'll follow on in the GitHub Issue.