Well.. this has been a bit of a journey of discovery on the importance of making sure you use the right port numbers. I believe I am past that now.. and are now presented with my next error to troubleshoot
Setup.
Controller on compute #1
Public Edge Router on compute #2
Situation
- created the config on compute #2
ziti create config router edge --routerName "${router_name}" > "${ZITI_HOME}/${router_name}.yaml"
- created the public edge router jwt file
ziti edge create edge-router "${router_name}" -o "${ZITI_HOME}/${router_name}.jwt" -t -a "public"
- Enrolled the public edge router on compute 2
ziti-router enroll "${ZITI_HOME}/${router_name}.yaml" --jwt "${ZITI_HOME}/${router_name}.jwt" &> "${ZITI_HOME}/${router_name}.enrollment.log"
{"file":"github.com/openziti/edge@v0.22.36/router/enroll/enroll.go:205","func":"github.com/openziti/edge/router/enroll.(*RestEnroller).Enroll","level":"info","msg":"registration complete","time":"2022-07-30T14:32:27.457Z"}
- start up the public edge router
ziti-router run "${ZITI_HOME}/${router_name}.yaml" > "${ZITI_HOME}/${router_name}.log"
This is the part that I now have problems with, as it is generating some type of error but don't know how to resolve.
Any tips?
0.665] INFO fabric/router/forwarder.(*Faulter).run: started
[ 0.665] INFO fabric/router/forwarder.(*Scanner).run: started
[ 0.667] INFO fabric/router.(*Router).showOptions: ctrl = {"OutQueueSize":4,"MaxQueuedConnects":1,"MaxOutstandingConnects":16,"ConnectTimeout":1000000000,"DelayRxStart":false,"WriteTimeout":0}
[ 0.667] INFO fabric/router.(*Router).showOptions: metrics = {"ReportInterval":60000000000,"MessageQueueSize":10}
[ 0.667] INFO fabric/router.(*Router).initializeHealthChecks: starting health check with ctrl ping initially after 15s, then every 30s, timing out after 15s
[ 0.667] INFO fabric/router.(*Router).startXlinkDialers: started Xlink dialer with binding [transport]
[ 0.667] INFO fabric/metrics.GoroutinesPoolMetricsConfigF.func1.1: {idleTime=[10s] maxQueueSize=[1] minWorkers=[1] poolType=[pool.listener.link] maxWorkers=[16]} starting goroutine pool
[ 0.667] INFO fabric/router.(*Router).startXlinkListeners: started Xlink listener with binding [transport] advertising [tls:168.138.13.227:10080]
[ 0.668] INFO edge/router/xgress_edge.(*listener).Listen: {address=[tls:0.0.0.0:3022]} starting channel listener
[ 0.668] INFO fabric/metrics.GoroutinesPoolMetricsConfigF.func1.1: {idleTime=[10s] poolType=[pool.listener.xgress_edge] minWorkers=[1] maxWorkers=[16] maxQueueSize=[1]} starting goroutine pool
[ 0.668] INFO fabric/router.(*Router).startXgressListeners: created xgress listener [edge] at [tls:0.0.0.0:3022]
[ 0.668] INFO fabric/router.(*Router).startXgressListeners: created xgress listener [tunnel] at []
[ 0.668] INFO edge/router/xgress_edge.(*Acceptor).Run: starting
[ 0.746] FATAL ziti/ziti-router/subcmd.run: {error=[error connecting ctrl (channel synchronization)]} error starting