key-networks / ztncui

ZeroTier network controller UI
GNU General Public License v3.0
1.58k stars 234 forks source link

The local LAN connection ztncui is displayed as offline #112

Open youtehub opened 1 year ago

youtehub commented 1 year ago

Problem: The local LAN connection ztncui is displayed as offline, but it can be used and ping each other can be normal.

Explanation: I used ztncui directly after installing docker in the ubuntu system installed by vmware. Then I installed zerotier one named workstation-pc on the window 10 of this computer and connected it to ztncui. And ubuntu also has zerotier one named plex installed to connect to ztncui, as shown in the picture. workstation-pc and plex are on the same computer. The difference is that plex runs on ubuntu installed in vmware, while workstation-pc runs on local window 10, which is equivalent to vmware's virtual machine system on local window 10. In other words, the local system failed to ping ztncui in ubuntu's dokcer in a vmware virtual machine.

To reproduce this exception, first install a vmware virtual machine software and zerotier one on a Windows computer, then install an ubuntu operating system on the virtual machine, and install docker and zerotier one in the operating system. Then install ztncui in docker. This allows you to test zerotier one connection to ztncui on ubuntu and your local window 10, respectively, to see if the above problems occur. image

key-networks commented 1 year ago

@youtehub I don't have the infrastructure that you have, so cannot test.

youtehub commented 1 year ago

Well, the main reason is that the ping problem is a little strange. I just tested it again and sometimes it can be pinged normally. I think it is caused by this ping module. ping is not stable, but it can be used with zerotier-one connection. You can debug ping related functions in other ways

key-networks commented 1 year ago

The network layer is the responsibility of zerotier-one - I suggest looking in that direction.

noodlenoggan commented 1 year ago

I'm on the deb 0.8.14 install of ztncui. I noticed it happening to me as well as of version 0.8.13. What I had to do sort of fix this was uncheck the authorize box for the node, click back button in ztncui to list all the networks, go back into the network I made the change, check mark the authorized box, click on the back button in ztncui then return to the network group again. If the same pc is listed in other networks, it's shown as online for all of them. Will report back in 24 hours to see if it sticks.