Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to pull member list and dns entries #22

Open
amolvishwakarma opened this issue Mar 9, 2020 · 3 comments
Open

Unable to pull member list and dns entries #22

amolvishwakarma opened this issue Mar 9, 2020 · 3 comments

Comments

@amolvishwakarma
Copy link

Unable to update DNS entries: Unable to get member list: json: cannot unmarshal array into Go struct field .Config.Tags of type string

# Configuration file for ztDNS

suffix = "zt"
port = 53
interface = "ztyou4q"

# Number of minutes to wait before updating the DNS database again (Default: 30)
DBRefresh = 30

# This section contains information related to your ZeroTier config
[ZT]
# API is used to contact the ZeroTier controller API service.
API = "hQFtY3uX0UH9TGqWabcdefghi"
# URL is the url of the ZeroTier controller API
URL = "https://my.zerotier.com/api"

# This section contains one or more ZeroTier networks
# Format is: domain = "NetworkID"
# Domain does not have to match the configured network name
[Networks]
domain = "networkid3646546"
@amolvishwakarma
Copy link
Author

Developers at least respond to the issue more than 3 days gone and you guys are not responding !

@pkarsy
Copy link

pkarsy commented Aug 23, 2020

The same error here. Anyone has a fix ?

@jleechpe
Copy link

jleechpe commented Sep 9, 2020

There will need to be a code-fix to actually resolve this issue however was able to resolve it by:

  • Removing Tags from the Firewall Rules . This allowed the info status to indicate it was retrieving members from the domain before erroring out with the same error
  • Using the ZTAPI and manually patching any online nodes that have tags to set their tags back to an empty set [ ].

ztdns is expecting tags to be a string but it is now a set of values, so it doesn't map to the expected go struct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants