Closed LiaoGuoYin closed 8 months ago
Try to use this command:
sudo zerotier-cli orbit (10bit-node-id) (10bit-node-id)
The 10bit-node-id
is the last 10 char of the moon id, such as 06ac314xxx
Try to use this command:
sudo zerotier-cli orbit (10bit-node-id) (10bit-node-id)
The10bit-node-id
is the last 10 char of the moon id, such as06ac314xxx
Thanks for you reply.
I have already using the right moon-id, and I can confirm the moon-id I am using is right(see picture 1).
Because I can orbit it in old version ZeroTierOne(v1.10.6), But can not orbit in version(v1.12.2)
Because I can orbit it in old version ZeroTierOne(v1.10.6), But can not orbit in version(v1.12.2)
The command line arguments seem to have changed, in v1.10.6 it can orbit the moon id(15 char long), but in v1.12.2, only the node id(10 char long) works
Thanks for your help!
I can orbit moon with the latest ZeroTierOne now by striming all '0' in moon-id, How did you know this?
In Docs didn't claim that, It only say:
"The first argument is the world ID (which we can shorten by removing the two leading zeroes) and the second is the address of any of its roots."
我今天运行sudo zerotier-cli orbit 000000f55755d5xxx.moon 000000f55755dxxx.moon同样出现了404 orbit的错误提示,而我使用的是最新的客户端,在openwrt和ubuntu上面的客户端加入moon的时候,都出现了同样的错误提示,使用的1.12.2版本。又上面网友提示去掉前面的6个前导0,依旧出现404 orbit,最后,只好把moon文件,直接复制到客户端/var/lib/zerotier-one/moods.d
又反复试验了几次,新的1.12.2版本,命令行应该这样写sudo zerotier-cli orbit f55755dxxx f55755dxxx ,也就是说,不要扩展名moon,也不要加000000。但是,我用旧的命令行,带000000和扩展名,zerotier-cli orbit 000000f55755dxxx.moon 000000f55755dxxx.moon 在旧版本zerotier-ver-1.10.2的vps中,仍然是成功的。
This error kan doesn't seem to have any effect on my normal use..
我今天运行sudo zerotier-cli orbit 000000f55755d5xxx.moon 000000f55755dxxx.moon同样出现了404 orbit的错误提示,而我使用的是最新的客户端,在openwrt和ubuntu上面的客户端加入moon的时候,都出现了同样的错误提示,使用的1.12.2版本。又上面网友提示去掉前面的6个前导0,依旧出现404 orbit,最后,只好把moon文件,直接复制到客户端/var/lib/zerotier-one/moods.d
openwrt中加入moon节点和普通linux系统不太一样,直接使用zerotier-cli orbit命令会报错404 orbit,而像前面的讨论那样在命令参数中去掉moon地址前面的0后,表面上看起来可以正常返回200 orbit OK了,但实际上并没有添加,不管使用zerotier-cli listmoons命令查看还是直接到/var/lib/zerotier-one/下都会发现并没有moon被添加进来。
正确做法应该是(参考这篇文章):
猜测openwrt中这么做的原因可能跟overlay的机制有关,如果直接复制moon文件到/var/lib/zerotier-one/,下次重启机器后配置可能就会丢失,所以通过这样的方式规避了一下
What you expect to be happening. I just want to orbit my self-hosted-hosted moon node
What is actually happening? Using orbit command at latest ZerotierOne version 1.12.2, it return:
404 orbit
But when I reinstall ZerotierOne at version 1.10.6, I can orbit the same moon node successfully:200 orbit OK
Any steps to reproduce the error(env: mac).
sudo zerotier-cli orbit (moon-id) (moon-id)
, It may return 404sudo zerotier-cli orbit (moon-id) (moon-id)
again, It works now.Any relevant console output or screenshots.
operating system macOS sonoma(and also test on Ubuntu 20, it failed too.)
What and ZeroTier version. Please try the latest ZeroTier release. ZeroTier 1.12.2