In the case zrok agent suddenly dies for some reasons (example: a power line cut-off) the fronted token remains alive in the zrok database.
So I end up with a lot of icons in API Console linked to the same ziti identity id (z_id), and having the same bind local address:port.
There is the delete button. So I can release these dead tokens manually but I need to know which is active. With 9 access tokens such a operation is tricky. So I let them alone. But they fill up the console with the junk. I have several users with the same issue.
select id, environment_id, token, z_id, created_at, updated_at, deleted, bind_address from frontends where z_id = 'F4QGPJFyfp' and deleted='f';
id | environment_id | token | z_id | created_at | updated_at | deleted | bind_address
-----+----------------+--------------+------------+-------------------------------+-------------------------------+---------+----------------
495 | 57 | DsJt6TcjckMh | F4QGPJFyfp | 2025-05-30 05:12:23.619696+00 | 2025-05-30 05:12:24.551853+00 | f | 127.0.0.1:9443
496 | 57 | wJYIKMGpSTny | F4QGPJFyfp | 2025-05-30 05:12:27.631044+00 | 2025-05-30 05:12:28.61566+00 | f | 127.0.0.1:9191
497 | 57 | aVjaQoBZqbjT | F4QGPJFyfp | 2025-05-30 14:37:19.632267+00 | 2025-05-30 14:37:21.12727+00 | f | 127.0.0.1:8181
498 | 57 | VOtgK58o7NOO | F4QGPJFyfp | 2025-05-30 14:37:24.225439+00 | 2025-05-30 14:37:25.195018+00 | f | 127.0.0.1:9443
499 | 57 | XCLrtJdnKTfj | F4QGPJFyfp | 2025-05-30 14:37:28.427756+00 | 2025-05-30 14:37:29.372851+00 | f | 127.0.0.1:9191
500 | 57 | 3NefSbuxP9nX | F4QGPJFyfp | 2025-05-30 15:46:39.720226+00 | 2025-05-30 15:46:40.875142+00 | f | 127.0.0.1:8181
501 | 57 | BhEXhJ6aqrGW | F4QGPJFyfp | 2025-05-30 15:46:42.252246+00 | 2025-05-30 15:46:43.173679+00 | f | 127.0.0.1:9443
502 | 57 | bzK7LwkEnCPo | F4QGPJFyfp | 2025-05-30 15:46:44.548646+00 | 2025-05-30 15:46:45.463368+00 | f | 127.0.0.1:9191
494 | 57 | 8MbLErIG6cZz | F4QGPJFyfp | 2025-05-30 05:12:19.4165+00 | 2025-05-30 05:12:20.448916+00 | f | 127.0.0.1:8181