Zerotierone: ZeroTier-One service stopped after connect to zerotier network on Windows 1903

Created on 1 Oct 2019  路  17Comments  路  Source: zerotier/ZeroTierOne

Describe the bug
ZeroTier-One service stopped after connect to zerotier network.

To Reproduce
Steps to reproduce the behavior:

  1. Install ZeroTier-One 1.4.6 on Windows 1903, the service is running.
  2. Join to my private zerotier network
  3. The ZeroTier-One network adapter has connected and get IP address.
  4. After about 3 seconds, the service stopped automatically.
  5. I start the ZeroTier-One service manually in services.msc but stopped again.

Expected behavior
ZeroTier-One works on my another Windows 1809 perfectly.

Desktop (please complete the following information):

  • OS: Windows
  • 1903 X64
  • ZeroTier Version 1.4.4 / 1.4.6
  • ThinkPad L470
Windows bug

Most helpful comment

1.4.6 failed , 1.2.12 successed .
https://download.zerotier.com/RELEASES/1.2.12/dist/

All 17 comments

Hello. I haven't heard anything similar. Is an anti-virus type service killing it?

The same issue happened to me, and I don't think it's related to the windows builds, I spend days trying to figure out which applications might conflict with Zerotier but no luck.

I have rolled all the way back to v1.2.10, it finally worked.
But on my another laptop runs windows build 1903, it worked just fine with v1.4.6.
The system log of windows didn't tell much about the issue, and I couldn't find any useful logfile of Zerotier to report the bug.

I have rolled all the way back to v1.2.10, it finally worked.
But on my another laptop runs windows build 1903, it worked just fine with v1.4.6.
The system log of windows didn't tell much about the issue, and I couldn't find any useful logfile of Zerotier to report the bug.

I rolled back to v1.2.12 and finally worked.

The same issue happened to me.

I was testing ZeroTier for my network as many users are saying good things about it. But it doesn鈥檛 work. I鈥檓 having this problem also. How can I enable ZeroTier service? I tri to start it but windows stops it after 1 second.

I also meet this problem. The version is 1.4.6. Anyone has some solutions?

Also having this problem (i think). Circumstances:

Fresh server (virtualised in KVM)
Ubuntu 20.04 LTS
Zerotier 1.4.6

Here is what i notice:
Install zerotier, service works fine and UDP 9993 is responding
Join a network (any network for that matter), i connect and can send/receive packets for about 5 seconds.
Then suddenly packets stop working, and i notice we are no longer listening on any UDP ports (9993 etc).

1.4.6 failed , 1.2.12 successed .
https://download.zerotier.com/RELEASES/1.2.12/dist/

I am having the very same problem. It's been months since it acts exactly like this. Events viewer shows:
"The ZeroTier One service terminated unexpectedly. It has done this X time(s)." - where X is just a number of how many times I've started the service.

@cianyeah @nomil9 @thevalo @metalbrick @seamooose @zhangbin0917 @Adelantia

I'm going over our GitHub issues in preparation for our pending 1.6.0 release; that should hopefully take care of a few things. If you're still having this issue ATM, can you please check the following & let us know otherwise so we can try to catch it? Thanks!

  • https://zerotier.atlassian.net/wiki/spaces/SD/pages/521011201/Windows+Troubleshooting -> Walkthrough of common Windows issues.
  • https://www.reddit.com/r/zerotier/?f=flair_name%3A%22Gaming%22 -> A lot of gamers & Windows users have figured out some stuff.
  • https://discuss.zerotier.com/ -> Official Discuss forum

@unquietwiki Alas suggested troubleshooting tips are general, therefore the only solution was to uninstall the 1.4.6 and reinstall an older version as mentioned by @nomil9 1.2.12. We're waiting for the new update.

@unquietwiki Since few days, I got this issue. It was working before (even in 1.4.6).
I reinstalled zerotier (with a full uninstall via revo) and still got the same issue (service crashes after connection)
I tried to build the 1.5.0 pre-release but it failed (an .h file missing related to the tap driver I think + Windows kernel driver component missing. I think I didn't manage to make WDK working with Visual Studio Build Tools and I don't want to install the full IDE)

If it can help, here's the Event Viewer's xml report of the service crash

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error"/>
    <EventID Qualifiers="0">1000</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>100</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2020-10-20T16:00:44.2249459Z"/>
    <EventRecordID>92678</EventRecordID>
    <Correlation/>
    <Execution ProcessID="0" ThreadID="0"/>
    <Channel>Application</Channel>
    <Computer>EP-COMPUTER-MSI</Computer>
    <Security/>
  </System>
  <EventData>
    <Data>zerotier-one_x64.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>5d702ac7</Data>
    <Data>zerotier-one_x64.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>5d702ac7</Data>
    <Data>c0000005</Data>
    <Data>00000000000c0809</Data>
    <Data>26ac</Data>
    <Data>01d6a6fa24fd8917</Data>
    <Data>C:\ProgramData\ZeroTier\One\zerotier-one_x64.exe</Data>
    <Data>C:\ProgramData\ZeroTier\One\zerotier-one_x64.exe</Data>
    <Data>286675ce-1490-41af-8395-0e49681b7ffa</Data>
    <Data/>
    <Data/>
  </EventData>
</Event>

@theblackhole AFAIK, you need the Windows Driver Kit to build that component, and Windows requires signed keys on actually using that stuff unless you boot in unsigned driver mode.

@unquietwiki I already installed the Windows Driver Kit (WDK) but I still got the error related to windows kernel driver 10.0 (or something like that). I will try with unsigned driver mode but I think WDK only works with the full VS IDE, not the cli build tools. (Or there's something I missed to make it available in the Visual Studio Build Tools environment)

@unquietwiki Good news, I found the main issue! 馃帀 Instead of trying to build zerotier myself, I focused on the main issue and I found a conflict between openvpn's tap adapter and the zero tier virtual port : both are visible in device manager but only zero tier is visible in network manager (ncpa.cpl), not openvpn.
I used the tap utilities provided by openvpn (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\TAP-Windows\Utilities) to remove all adapters and readd one. No I have one adapter for zerotier and one for openvpn in network manager (as it should be), and this time the service didn't crash. 馃檪
(Also bad news, I don't know how to reproduce this issue)

@theblackhole Glad you were able to figure it out. I'm not on staff anymore, but when I was, I do recall a support ticket that also had a similar conclusion. A long time ago, I was using tinc, and it also uses OpenVPN's TAP driver; and pretty sure that was a problem then too.

Note to myself or anyone with free time: maybe develop an open-source GUI for yanking out stale TAP drivers. 馃挕

Was this page helpful?
0 / 5 - 0 ratings