This time when I run the second edge router… the link failed when the second edge router attempts to dial the edge router on the server with the controller
Maybe I have something wrong in my thinking… as I am still learning how the fabric links work.
{"arch":"amd64","build-date":"2022-07-19T20:09:36Z","configFile":"/home/opc/.ziti/remote-router-n2/private-edge-router.yaml","file":"github.com/openziti/ziti/ziti-router/subcmd/run.go:74","func":"github.com/openziti/ziti/ziti-router/subcmd.run","go-version":"go1.18.4","level":"info","msg":"starting ziti-router","os":"linux","revision":"f4124e248129","routerId":"H-X9R2EzNy","time":"2022-08-10T20:47:21.149Z","version":"v0.26.3"}
{"file":"github.com/openziti/fabric@v0.19.28/router/forwarder/faulter.go:64","func":"github.com/openziti/fabric/router/forwarder.(*Faulter).run","level":"info","msg":"started","time":"2022-08-10T20:47:21.150Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/forwarder/scanner.go:59","func":"github.com/openziti/fabric/router/forwarder.(*Scanner).run","level":"info","msg":"started","time":"2022-08-10T20:47:21.150Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/internal/edgerouter/config.go:139","func":"github.com/openziti/edge/router/internal/edgerouter.(*Config).LoadConfigFromMap","level":"warning","msg":"Invalid heartbeat interval [0] (min: 60, max: 10), setting to default [60]","time":"2022-08-10T20:47:21.150Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/router.go:268","func":"github.com/openziti/fabric/router.(*Router).showOptions","level":"info","msg":"ctrl = {\"OutQueueSize\":4,\"MaxQueuedConnects\":1,\"MaxOutstandingConnects\":16,\"ConnectTimeout\":1000000000,\"DelayRxStart\":false,\"WriteTimeout\":0}","time":"2022-08-10T20:47:21.151Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/router.go:274","func":"github.com/openziti/fabric/router.(*Router).showOptions","level":"info","msg":"metrics = {\"ReportInterval\":60000000000,\"MessageQueueSize\":10}","time":"2022-08-10T20:47:21.151Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/router.go:473","func":"github.com/openziti/fabric/router.(*Router).initializeHealthChecks","level":"info","msg":"starting health check with ctrl ping initially after 15s, then every 30s, timing out after 15s","time":"2022-08-10T20:47:21.152Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/router.go:352","func":"github.com/openziti/fabric/router.(*Router).startXlinkDialers","level":"info","msg":"started Xlink dialer with binding [transport]","time":"2022-08-10T20:47:21.152Z"}
{"file":"github.com/openziti/fabric@v0.19.28/metrics/pool_metrics.go:50","func":"github.com/openziti/fabric/metrics.GoroutinesPoolMetricsConfigF.func1.1","idleTime":10000000000,"level":"info","maxQueueSize":1,"maxWorkers":16,"minWorkers":1,"msg":"starting goroutine pool","poolType":"pool.listener.link","time":"2022-08-10T20:47:21.152Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/router.go:369","func":"github.com/openziti/fabric/router.(*Router).startXlinkListeners","level":"info","msg":"started Xlink listener with binding [transport] advertising [tls:168.138.13.227:10080]","time":"2022-08-10T20:47:21.152Z"}
{"address":{},"file":"github.com/openziti/edge@v0.22.36/router/xgress_edge/listener.go:69","func":"github.com/openziti/edge/router/xgress_edge.(*listener).Listen","level":"info","msg":"starting channel listener","time":"2022-08-10T20:47:21.152Z"}
{"file":"github.com/openziti/fabric@v0.19.28/metrics/pool_metrics.go:50","func":"github.com/openziti/fabric/metrics.GoroutinesPoolMetricsConfigF.func1.1","idleTime":10000000000,"level":"info","maxQueueSize":1,"maxWorkers":16,"minWorkers":1,"msg":"starting goroutine pool","poolType":"pool.listener.xgress_edge","time":"2022-08-10T20:47:21.153Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/router.go:401","func":"github.com/openziti/fabric/router.(*Router).startXgressListeners","level":"info","msg":"created xgress listener [edge] at [tls:0.0.0.0:8443]","time":"2022-08-10T20:47:21.153Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/router.go:401","func":"github.com/openziti/fabric/router.(*Router).startXgressListeners","level":"info","msg":"created xgress listener [tunnel] at []","time":"2022-08-10T20:47:21.153Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/xgress_edge/accept.go:108","func":"github.com/openziti/edge/router/xgress_edge.(*Acceptor).Run","level":"info","msg":"starting","time":"2022-08-10T20:47:21.153Z"}
{"file":"github.com/openziti/fabric@v0.19.28/metrics/pool_metrics.go:50","func":"github.com/openziti/fabric/metrics.GoroutinesPoolMetricsConfigF.func1.1","idleTime":30000000000,"level":"info","maxQueueSize":1000,"maxWorkers":32,"minWorkers":0,"msg":"starting goroutine pool","poolType":"pool.link.dialer","time":"2022-08-10T20:47:21.277Z"}
{"file":"github.com/openziti/fabric@v0.19.28/metrics/pool_metrics.go:50","func":"github.com/openziti/fabric/metrics.GoroutinesPoolMetricsConfigF.func1.1","idleTime":30000000000,"level":"info","maxQueueSize":1000,"maxWorkers":128,"minWorkers":0,"msg":"starting goroutine pool","poolType":"pool.route.handler","time":"2022-08-10T20:47:21.277Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/fabric/manager.go:311","func":"github.com/openziti/edge/router/fabric.(*StateManagerImpl).StartHeartbeat","level":"info","msg":"heartbeat starting","time":"2022-08-10T20:47:21.277Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/xgress_edge_tunnel/tunneler.go:65","func":"github.com/openziti/edge/router/xgress_edge_tunnel.(*tunneler).Start","level":"info","mode":"host","msg":"creating interceptor","time":"2022-08-10T20:47:21.277Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/xgress_edge/certchecker.go:117","func":"github.com/openziti/edge/router/xgress_edge.(*CertExpirationChecker).Run","level":"info","msg":"waiting 8590h44m4.654405293s to renew certificates","time":"2022-08-10T20:47:21.345Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/handler_edge_ctrl/hello.go:51","func":"github.com/openziti/edge/router/handler_edge_ctrl.(*helloHandler).HandleReceive.func1","level":"info","msg":"received server hello, replying","time":"2022-08-10T20:47:21.346Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/handler_edge_ctrl/apiSessionAdded.go:200","func":"github.com/openziti/edge/router/handler_edge_ctrl.(*apiSessionAddedHandler).instantSync","level":"info","msg":"first api session syncId [cl6nhlzig01e2m18l3rluppiy], starting","strategy":"instant","time":"2022-08-10T20:47:21.362Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/handler_edge_ctrl/apiSessionAdded.go:267","func":"github.com/openziti/edge/router/handler_edge_ctrl.(*apiSessionSyncTracker).Add","level":"info","msg":"received api session sync chunk 0, isLast=true","time":"2022-08-10T20:47:21.362Z"}
{"error":"exit status 1","file":"github.com/openziti/edge@v0.22.36/tunnel/dns/server.go:52","func":"github.com/openziti/edge/tunnel/dns.flushDnsCaches","level":"warning","msg":"unable to flush dns caches, consider adding a dns flush to your restart process","time":"2022-08-10T20:47:21.463Z"}
{"_channels":["link","linkDialer"],"address":"tls:140.238.207.245:10080","file":"github.com/openziti/fabric@v0.19.28/router/handler_ctrl/dial.go:95","func":"github.com/openziti/fabric/router/handler_ctrl.(*dialHandler).handle","level":"info","linkId":"3DyTFRH4jPiRtSJ826nr64","linkProtocol":"tls","msg":"dialing link","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:21.548Z"}
{"_channels":["link","linkListener"],"file":"github.com/openziti/fabric@v0.19.28/router/xlink_transport/listener.go:108","func":"github.com/openziti/fabric/router/xlink_transport.(*listener).BindChannel","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","linkProtocol":"tls","msg":"accepting link","routerId":"lIlPn2E2W","time":"2022-08-10T20:47:21.854Z"}
{"_channels":["link","linkListener"],"channelType":1,"file":"github.com/openziti/fabric@v0.19.28/router/xlink_transport/listener.go:134","func":"github.com/openziti/fabric/router/xlink_transport.(*listener).bindSplitChannel","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","linkProtocol":"tls","msg":"accepted part of split conn","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:21.854Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/handler_link/bind.go:157","func":"github.com/openziti/fabric/router/handler_link.(*bindHandler).verifyRouter","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","msg":"successfully verified router for link","routerId":"lIlPn2E2W","time":"2022-08-10T20:47:21.945Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/handler_link/bind.go:98","func":"github.com/openziti/fabric/router/handler_link.(*bindHandler).BindChannel","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","msg":"link destination support heartbeats","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:21.946Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/handler_link/bind.go:98","func":"github.com/openziti/fabric/router/handler_link.(*bindHandler).BindChannel","level":"info","linkId":"3DyTFRH4jPiRtSJ826nr64","msg":"link destination support heartbeats","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:21.961Z"}
{"_channels":["link","linkListener"],"file":"github.com/openziti/fabric@v0.19.28/router/xlink_transport/listener.go:108","func":"github.com/openziti/fabric/router/xlink_transport.(*listener).BindChannel","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","linkProtocol":"tls","msg":"accepting link","routerId":"lIlPn2E2W","time":"2022-08-10T20:47:22.363Z"}
{"_channels":["link","linkListener"],"channelType":2,"file":"github.com/openziti/fabric@v0.19.28/router/xlink_transport/listener.go:134","func":"github.com/openziti/fabric/router/xlink_transport.(*listener).bindSplitChannel","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","linkProtocol":"tls","msg":"accepted part of split conn","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:22.364Z"}
{"file":"github.com/openziti/edge@v0.22.36/router/handler_edge_ctrl/apiSessionAdded.go:124","func":"github.com/openziti/edge/router/handler_edge_ctrl.(*apiSessionAddedHandler).applySync","level":"info","msg":"finished sychronizing api sessions [count: 11, syncId: cl6nhlzig01e2m18l3rluppiy, duration: 36.719µs]","time":"2022-08-10T20:47:22.455Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/handler_link/bind.go:157","func":"github.com/openziti/fabric/router/handler_link.(*bindHandler).verifyRouter","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","msg":"successfully verified router for link","routerId":"lIlPn2E2W","time":"2022-08-10T20:47:22.456Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/handler_link/bind.go:98","func":"github.com/openziti/fabric/router/handler_link.(*bindHandler).BindChannel","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","msg":"link destination support heartbeats","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:22.456Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/accepter.go:19","func":"github.com/openziti/fabric/router.(*xlinkAccepter).Accept","level":"info","msg":"accepted new link [l/2BiGjfVthOkoFaC6B54z67]","time":"2022-08-10T20:47:22.456Z"}
{"_channels":["link","linkListener"],"channelType":2,"file":"github.com/openziti/fabric@v0.19.28/router/xlink_transport/listener.go:156","func":"github.com/openziti/fabric/router/xlink_transport.(*listener).bindSplitChannel","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","linkProtocol":"tls","msg":"accepted link","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:22.456Z"}
{"_channels":["link","linkListener"],"channelType":2,"file":"github.com/openziti/fabric@v0.19.28/router/xlink_transport/listener.go:159","func":"github.com/openziti/fabric/router/xlink_transport.(*listener).bindSplitChannel","level":"info","linkId":"2BiGjfVthOkoFaC6B54z67","linkProtocol":"tls","msg":"link registered","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:22.456Z"}
{"_context":"ch{l/3DyTFRH4jPiRtSJ826nr64}-\u003eu{classic}-\u003ei{ZNP0}","file":"github.com/openziti/fabric@v0.19.28/router/handler_link/close.go:62","func":"github.com/openziti/fabric/router/handler_link.(*closeHandler).HandleClose","level":"info","linkId":"3DyTFRH4jPiRtSJ826nr64","msg":"link closed","routerId":"lIlPn2E2W","time":"2022-08-10T20:47:22.552Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/handler_link/bind.go:98","func":"github.com/openziti/fabric/router/handler_link.(*bindHandler).BindChannel","level":"info","linkId":"3DyTFRH4jPiRtSJ826nr64","msg":"link destination support heartbeats","routerId":"lIlPn2E2W","routerVersion":"v0.26.3","time":"2022-08-10T20:47:22.555Z"}
{"file":"github.com/openziti/fabric@v0.19.28/router/accepter.go:19","func":"github.com/openziti/fabric/router.(*xlinkAccepter).Accept","level":"info","msg":"accepted new link [l/3DyTFRH4jPiRtSJ826nr64]","time":"2022-08-10T20:47:22.555Z"}
{"dest":"lIlPn2E2W","file":"github.com/openziti/fabric@v0.19.28/router/link_registry.go:154","func":"github.com/openziti/fabric/router.(*linkRegistryImpl).applyLink","level":"info","linkProtocol":"tls","msg":"link being registered, but is already closed, skipping registration","newLinkId":"3DyTFRH4jPiRtSJ826nr64","time":"2022-08-10T20:47:22.556Z"}
{"_context":"ch{l/3DyTFRH4jPiRtSJ826nr64}-\u003eu{classic}-\u003ei{ZAQZ}","file":"github.com/openziti/fabric@v0.19.28/router/handler_link/close.go:62","func":"github.com/openziti/fabric/router/handler_link.(*closeHandler).HandleClose","level":"info","linkId":"3DyTFRH4jPiRtSJ826nr64","msg":"link closed","routerId":"lIlPn2E2W","time":"2022-08-10T20:47:22.559Z"}
{"file":"github.com/openziti/edge@v0.22.36/tunnel/intercept/iputils.go:51","func":"github.com/openziti/edge/tunnel/intercept.SetDnsInterceptIpRange","level":"info","msg":"dns intercept IP range: 100.64.0.1 - 100.127.255.254","time":"2022-08-10T20:47:26.251Z"}