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
ZeroTier hangs in controller mode #553
Comments
here is backtrace: #0 0x00007ff6fbb9530d in nanosleep () at ../sysdeps/unix/syscall-template.S:84 Thread 1 (Thread 0x7ff6fcb68740 (LWP 4304)): |
I had the same issue. Didn't have time to debug, reverting to 1.2.2 fixed it. |
i've attached config files, which json failed to parse |
dirty quick fix: |
I have the same issue. |
I also have the same issue for a long time now, will double confirm if the quickfix by @bobbyvinon works later on. |
git bisect says
'bad' meaning I was testing with this in {
"authTokens": [],
"capabilities": [],
"creationTime": 1509777679437,
"enableBroadcast": true,
"id": "54d343738795f1c8",
"ipAssignmentPools": [],
"lastModified": 1509777679436,
"multicastLimit": 32,
"name": "",
"nwid": "54d343738795f1c8",
"objtype": "network",
"private": true,
"revision": 1,
"routes": [],
"rules": [
{
"not": false,
"or": false,
"type": "ACTION_ACCEPT"
}
],
"tags": [],
"v4AssignMode": {
"zt": false
},
"v6AssignMode": {
"6plane": false,
"rfc4193": false,
"zt": false
}
} which was generated by starting a controller, adding a network, exiting. ( I was testing something in node) |
I can confirm similar behaviour to @laduke. I thought I was getting configurations wrong because joined users would not receive IPv4 addresses. (Re)starting the service again results in a hang that must be So, I don't think it's anything I've configured incorrectly. How is anyone using their own controller at this state? There should be more documentation around the |
Same here. Doing a |
Fixed since that code got taken out behind the barn and shot. |
* add config_path option since the controller mode needs a persisting path to be used * add patch to fix a bug in the controller code (zerotier/ZeroTierOne#553) * disable zerotier by default, as the default settings let it connect to a public network Signed-off-by: Moritz Warning <moritzwarning@web.de>
* add config_path option since the controller mode needs a persisting path to be used * add patch to fix a bug in the controller code (zerotier/ZeroTierOne#553) * disable zerotier by default, as the default settings let it connect to a public network Signed-off-by: Moritz Warning <moritzwarning@web.de>
I've built latest zerotier from github (ubuntu 16.04 with clang). It's unmodified build with default config. Only config i changed is local.conf:
{
"settings": {
"primaryPort": 9991,
"allowManagementFrom": [ "0.0.0.0/0" ]
}
}
zerotier worked some time. i've attached two clients to this controller, all worked fine. after controller server reboot it stopped working. it starts, receives incoming connections but didn't answers to them - just hang. i've removed /var/lib/zerotier and reinstalled package again. situation are the same - it worked some time and after few reboots stopped to work.
The text was updated successfully, but these errors were encountered: