Zerotier on Cobia didn't work properly

Shigure

Dabbler
Joined
Sep 1, 2022
Messages
39
I'm using the truenas community zerotier app(App Version:1.12.2, Chart Version:1.0.16) with TrueNAS-SCALE-23.10.1. I read several posts about zerotier but cannot fully solve my problem so here it is.

There are two problems now:
1. everytime the app restart the app will create a new address if I left the identity.secret and identity.public empty in the setting. I can generate a pair of identity with zerotier-idtool generate and manually set it (verified after restart the app), but I'm guessing this is not something end user should do once the first time zerotier app is installed?

2. the app started without problem after setting the identites and it's authorized in zerotier-central and assigned an IP, however I cannot ping that IP from my other devices. Nor can I ping my other machines from the app's shell. Here's the log:
2023-12-29 11:10:48.014387-05:00=> Configuring networks to join
2023-12-29 11:10:48.015081-05:00=> Joining networks from command line: [{my network ID}]
2023-12-29 11:10:48.015195-05:00===> Configuring join: [{my network ID}]
2023-12-29 11:10:48.015705-05:00=> Starting ZeroTier
2023-12-29 11:10:48.016609-05:00===> ZeroTier hasn't started, waiting a second
2023-12-29 11:10:48.090018-05:00Starting Control Plane...
2023-12-29 11:10:48.090043-05:00Starting V6 Control Plane...
2023-12-29 11:10:49.018182-05:00=> Writing healthcheck for networks: [{network ID}]
2023-12-29 11:10:49.031727-05:00=> zerotier-cli info: [200 info {my device ID} 1.12.2 OFFLINE]
2023-12-29 11:10:49.031887-05:00=> Sleeping infinitely
With zerotier-cli peers I can see it as a leaf but no <ver> and <lat> is -1, <link> is RELAY even they are on the same LAN. In the app shell, zerotier-cli info returns
200 info {my device ID} 1.12.2 ONLINE

Did I miss anything during the setup...or something else?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
if no luck here, I'd suggest leaving these questions on the App github.

 
Top