This actually "might be ok" tbh depending on what is going on... For example, if you have a tunneler running somewhere, and you're tearing down the network (docker compose down -v
) as I suspect you might be doing, it's quite common for that older tunneler to keep trying to connect the NEW overlay network, using an OLD PKI (which is dead, because a whole new one was generated), and fail. If that's the situation, you'll see this {error=[local error: tls: bad record MAC]} handshake failed
over and over and over again on a relatively periodic interval. Now, the errors in your log all look to be coming in the same second, so that doesn't seem to be the problem here.
Can we just do this, how about we just stop the ziti-router
, and maybe stop the ziti-console
if you have that running to and take it down to the bare minimum of just the ziti-controller
.
Let's add each piece in one at a time and let's see if there's some kind of race condition I've never experienced because for me it's not been this slow? That sound ok?
So basically in that compose file I referenced before, comment out the whole section for the ziti-edge-rotuer
and ziti-console
... dump the whole network using docker compose down -v
, up the network again using docker compose up -d
(daemon mode)...
Tail the docker logs using docker compose logs -f
and let them settle down, make sure you see NO log messages... If you do, that's an indicator that a ziti-edge-tunnel (or some process) is trying to attach to the controller.. Find that process and stop it...
Once things seem ok, let's just add back the ziti-edge-router
service, and then run docker compose up -d
again... The router should come online....
Assuming it DOES... exec to the controller:
docker compose exec -it ziti-controller bash
run zitiLogin
and let's just see the status of:
ziti edge list edge routers
There should be one and it should be online:
ziti@eb1988feb641:/persistent$ ziti edge list edge-routers
╭────────────┬──────────────────┬────────┬───────────────┬──────┬────────────╮
│ ID │ NAME │ ONLINE │ ALLOW TRANSIT │ COST │ ATTRIBUTES │
├────────────┼──────────────────┼────────┼───────────────┼──────┼────────────┤
│ bHPyFPKDKB │ ziti-edge-router │ true │ true │ 0 │ public │
╰────────────┴──────────────────┴────────┴───────────────┴──────┴────────────╯
results: 1-1 of 1
Can we try that?