key-networks / ztncui

ZeroTier network controller UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not retrieving data from API

prubio7 opened this issue · comments

Hello,

I'm just trying to send GET/POST messages to my local controller, e.g.:
curl -H "x-zt1-auth: $TOKEN" -H "Content-Type: application/json" -X POST -d $MYDATA "http://localhost:9993/controller/network/$ZEROTIERNETWORKID/member/$MYID"

However, I'm always getting an empty response:
{}

Before the update it worked fine, not sure what I can do at this point. Any help will be appreciated.

Thank you!

Hi,

TCP Port 9993 was only listening on localhost. I was able to solve this by adding local.conf to /var/lib/zerotier-one:
{ "settings": { "allowManagementFrom": ["0.0.0.0"], "softwareUpdate": "apply", "softwareUpdateChannel": "release" } }

Best regards,