router logs
{"_context":"ch{edge}-\u003eu{classic}-\u003ei{nZ91}","chSeq":2,"connId":1,"edgeSeq":0,"error":"can't route from TC00FDSge -\u003e N0FndZEL2O","file":"github.com/openziti/ziti/router/xgress_edge/listener.go:199","func":"github.com/openziti/ziti/router/xgress_edge.(*edgeClientConn).processConnect","level":"warning","msg":"failed to dial fabric","time":"2024-07-23T19:39:49.210Z","token":"2bf149a2-f20d-43ce-a918-e8655f190557","type":"EdgeConnectType"}
{"_context":"tls:0.0.0.0:3022","error":"EOF","file":"github.com/openziti/transport/v2@v2.0.133/tls/listener.go:257","func":"github.com/openziti/transport/v2/tls.(*sharedListener).processConn","level":"error","msg":"handshake failed","remote":"172.31.4.18:65050","time":"2024-07-23T19:39:55.968Z"}
{"_context":"tls:0.0.0.0:3022","error":"EOF","file":"github.com/openziti/transport/v2@v2.0.133/tls/listener.go:257","func":"github.com/openziti/transport/v2/tls.(*sharedListener).processConn","level":"error","msg":"handshake failed","remote":"172.31.4.18:57404","time":"2024-07-23T19:39:56.932Z"}
{"_context":"tls:0.0.0.0:10080","error":"EOF","file":"github.com/openziti/transport/v2@v2.0.133/tls/listener.go:257","func":"github.com/openziti/transport/v2/tls.(*sharedListener).processConn","level":"error","msg":"handshake failed","remote":"172.31.4.18:42787","time":"2024-07-23T19:39:57.188Z"}
{"_context":"tls:0.0.0.0:10080","error":"EOF","file":"github.com/openziti/transport/v2@v2.0.133/tls/listener.go:257","func":"github.com/openziti/transport/v2/tls.(*sharedListener).processConn","level":"error","msg":"handshake failed","remote":"172.31.4.18:56210","time":"2024-07-23T19:39:57.403Z"}
{"_context":"tls:0.0.0.0:3022","error":"EOF","file":"github.com/openziti/transport/v2@v2.0.133/tls/listener.go:257","func":"github.com/openziti/transport/v2/tls.(*sharedListener).processConn","level":"error","msg":"handshake failed","remote":"172.31.4.18:45136","time":"2024-07-23T19:40:05.968Z"}
{"_context":"tls:0.0.0.0:3022","error":"EOF","file":"github.com/openziti/transport/v2@v2.0.133/tls/listener.go:257","func":"github.com/openziti/transport/v2/tls.(*sharedListener).processConn","level":"error","msg":"handshake failed","remote":"172.31.4.18:37899","time":"2024-07-23T19:40:06.932Z"}
These are the errors I see now in public router of eks
Here is how I deployed
linkListeners:
transport: # https://docs.openziti.io/docs/reference/configuration/router/#transport
containerPort: 10080
advertisedHost: example.com
advertisedPort: 10080
service:
enabled: true
type: LoadBalancer
labels:
annotations:
ingress:
enabled: true
ingressClassName: nginx
annotations:
kubernetes.io/ingress.allow-http: "false"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# listen for edge clients
edge:
enabled: true
containerPort: 3022
advertisedHost: example.com
advertisedPort: 3022
service:
enabled: true
# -- expose the service as a ClusterIP, NodePort, or LoadBalancer
type: LoadBalancer
# -- service labels
labels:
# -- service annotations
annotations:
ingress:
enabled: true
ingressClassName: nginx
annotations:
kubernetes.io/ingress.allow-http: "false"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
tunnel:
mode: host
helm upgrade --install "ziti-router" openziti/ziti-router \
--namespace "ziti" \
--values=router-values.yaml \
--set-file enrollmentJwt=./router1.jwt \
--set ctrl.endpoint="ec2-ip.compute-1.amazonaws.com:6262"
Then I noted down the loadbalancers external host urls and updated router-values.yaml back with that and ran same command
Controller logs
"level":"error","msg":"connection handler error for [tls:10.42.0.1:48107] (unknown/unenrolled router, routerId: f8Uyt.ELeO)","time":"2024-07-23T19:49:00.346Z"}
{"file":"github.com/openziti/ziti/controller/handler_ctrl/connect.go:117","func":"github.com/openziti/ziti/controller/handler_ctrl.(*ConnectHandler).HandleConnection","level":"error","msg":"unknown/unenrolled router","routerId":"f8Uyt.ELeO","time":"2024-07-23T19:49:00.569Z"}
{"_context":"tls:0.0.0.0:6262","file":"github.com/openziti/channel/v2@v2.0.130/classic_listener.go:201","func":"github.com/openziti/channel/v2.(*classicListener).acceptConnection.func1","level":"error","msg":"connection handler error for [tls:10.42.0.1:22258] (unknown/unenrolled router, routerId: f8Uyt.ELeO)","time":"2024-07-23T19:49:00.569Z"}
{"file":"github.com/openziti/ziti/controller/handler_ctrl/connect.go:117","func":"github.com/openziti/ziti/controller/handler_ctrl.(*ConnectHandler).HandleConnection","level":"error","msg":"unknown/unenrolled router","routerId":"f8Uyt.ELeO","time":"2024-07-23T19:49:00.846Z"}
{"_context":"tls:0.0.0.0:6262","file":"github.com/openziti/channel/v2@v2.0.130/classic_listener.go:201","func":"github.com/openziti/channel/v2.(*classicListener).acceptConnection.func1","level":"error","msg":"connection handler error for [tls:10.42.0.1:54105] (unknown/unenrolled router, routerId: f8Uyt.ELeO)","time":"2024-07-23T19:49:00.846Z"}
{"file":"github.com/openziti/ziti/controller/handler_ctrl/connect.go:117","func":"github.com/openziti/ziti/controller/handler_ctrl.(*ConnectHandler).HandleConnection","level":"error","msg":"unknown/unenrolled router","routerId":"f8Uyt.ELeO","time":"2024-07-23T19:49:01.583Z"}
{"_context":"tls:0.0.0.0:6262","file":"github.com/openziti/channel/v2@v2.0.130/classic_listener.go:201","func":"github.com/openziti/channel/v2.(*classicListener).acceptConnection.func1","level":"error","msg":"connection handler error for [tls:10.42.0.1:52592] (unknown/unenrolled router, routerId: f8Uyt.ELeO)","time":"2024-07-23T19:49:01.583Z"}
{"file":"github.com/openziti/ziti/controller/handler_ctrl/connect.go:117","func":"github.com/openziti/ziti/controller/handler_ctrl.(*ConnectHandler).HandleConnection","level":"error","msg":"unknown/unenrolled router","routerId":"jwkfDvK3eO","time":"2024-07-23T19:49:01.855Z"}
{"_context":"tls:0.0.0.0:6262","file":"github.com/openziti/channel/v2@v2.0.130/classic_listener.go:201","func":"github.com/openziti/channel/v2.(*classicListener).acceptConnection.func1","level":"error","msg":"connection handler error for [tls:10.42.0.1:24034] (unknown/unenrolled router, routerId: jwkfDvK3eO)","time":"2024-07-23T19:49:01.856Z"}
router1 is public deployed in eks cluster and router2 is private in k3d
root@ip-172-31-26-52:/home/ubuntu# ziti edge list edge-routers
╭────────────┬─────────┬────────┬───────────────┬──────┬────────────╮
│ ID │ NAME │ ONLINE │ ALLOW TRANSIT │ COST │ ATTRIBUTES │
├────────────┼─────────┼────────┼───────────────┼──────┼────────────┤
│ N0FndZEL2O │ router2 │ true │ true │ 0 │ │
│ TC00FDSge │ router1 │ true │ true │ 0 │ │
╰────────────┴─────────┴────────┴───────────────┴──────┴────────────╯
results: 1-2 of 2