-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 api work with localhost but not 127.0.0.1 #842
Comments
hi, it seems like zerotier-cli wouldn't work for anybody if that was the case? Check the local firewall. |
This is ubuntu linux box on Linode. No firewall on this box.
It seems ipv6 related. I tried to add
So the issue is that zerotier-one only accepts requests from ::1 not 127.0.01.
|
I can't reproduce on mac or ubuntu 16.04. Any idea how to reproduce? |
I have 3 ubuntu Linux boxes. 2 of them have the same issue. kernel versions:
|
The other box (OpenVZ VPS) with the same issue
Zerotier works fine on these two boxes if I send api requests to [::1] to join networks instead of zerotier-cli |
What do those boxes have in common? |
what's the output of |
|
I tried to completely disable ipv6, the issue was still there.
|
i have figured out why they don't work:
|
Hi, I got bitten by this too. There were some iptables rules remaining from a prior attempt to install a VPN. It took me a long while to figure out that Http::GET simply returns an empty responseBody and that's why the error message given by zerotier-cli is also empty. It would be great if this situation could be identified and reported to the user in a better way. |
I don't have any active iptables rules, but am experiencing this issue on an up-to-date Pi. Any suggestions?
|
Having exactly the same issue as @bennytheshap on Raspberry Pi:
Should a separate issue be opened for this? |
I also have the same problem.
|
Ah, I found the solution. What @chnnnkk suggested is true, but the fix is to delete these rules, i.e.:
(repeat until there are no more rules to delete)
|
@OzuYatamutsu you really helped me. However, I do not know why it works... |
and /etc/hosts:
and ifconfig lo
The text was updated successfully, but these errors were encountered: