This is the part of my network I’m having trouble with.
┌───────────────────┐
edge link│ │
┌─────┤ edge endpoint 5 │
│ │ #router1-policy │
│ └───────────────────┘
│
│
│edge listen
│10.11.12.253
┌───────▼────────────┐
│ │
│ private router 1 │
│ │
└───────────┬────────┘
│fabric link
│
│
│
│SNAT
─────────────────────────────────────▼─────────────────────────────────
│
│
│
internet │
│
│ ┌───────────────────┐
│ │ │
┌────────┴──────► public router 0 │
│ fabric listen│ │
│ 1.2.3.4└───────────────────┘
│
│
│
│
│
────────────────────────────▲──────────────────────────────────────────
│SNAT
│
│
│
│fabric link
┌──┴─────────────────┐
│ │
│ private router 2 │
│ │
└───────────▲────────┘
│edge listen
│192.168.0.253
│
│
│ ┌───────────────────┐
│ │ │
├────────┤ edge endpoint 5 │
│ │ #router2-policy │
│ └───────────────────┘
│
│
┌───────────────────┐ │
│ │ │
│ edge endpoint 4 ├───┘
│ #router2-policy │
└───────────────────┘
As soon as I changed the router policy to only allow edge endpoints to connect to the private router, instead of the public router’s edge listener, then I started to see this error duplicated on the private routers’ and the controller’s logs.
May 28 19:30:55 nc-kencloud1-kencloud-1652209281 ziti-controller[12874]: {"context":"ch{MPyreGPG3Y}-\u003eu{classic}-\u003ei{g0j9}","error":"exceeded maximum [3] retries creating circuit [c/ftbyH3PbS]: error creating route for [s/ftbyH3PbS] on [r/yjIbNyPG6] (error creating route for [c/ftbyH3PbS]: host for token 'd716c93c-2183-4b21-9c
b4-a9839a21235c' not found)","file":"github.com/openziti/edge@v0.21.127/controller/handler_edge_ctrl/common.go:78","func":"github.com/openziti/edge/controller/handler_edge_ctrl.(*baseRequestHandler).returnError","level":"error","msg":"responded with error","operation":"create.circuit","routerId":"MPyreGPG3Y","time":"2022-05-28T19:30:5
5.594Z","token":"a8569b16-f424-4297-883d-d7a116660aac"}
I suspect this is similar to a no terminators error based upon a quick glance at the Go context where this error occurs (link to “main” branch because the version tags in repo “edge” don’t match the semver)
$ ./ziti-router version
v0.25.2
I never figured out precisely what is this UUID that the router and controller (repeating?) that can’t be found: d716c93c-2183-4b21-9c b4-a9839a21235c
. It says “host for token … not found”.
The services still work if I allow the hosting edge endpoints to use the public router, and I verified the private edge listener is reachable on the underlay from the hosting edge endpoint.