Skip to content
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

配置成功,连接也成功 但是 显示offline #21

Open
guider opened this issue Oct 21, 2022 · 10 comments
Open

配置成功,连接也成功 但是 显示offline #21

guider opened this issue Oct 21, 2022 · 10 comments

Comments

@guider
Copy link

guider commented Oct 21, 2022

image

@guider
Copy link
Author

guider commented Oct 21, 2022

planet 文件也已经更换了
所有端口都已经开放

@guider
Copy link
Author

guider commented Oct 21, 2022

劳烦 帮忙 看下

@guider
Copy link
Author

guider commented Oct 24, 2022

ZeroTier One version 1.8.6 build 0 (platform 1 arch 4)
Copyright (c) 2020 ZeroTier, Inc.
Licensed under the ZeroTier BSL 1.1 (see LICENSE.txt)
Usage: zerotier-cli [-switches] <command/path> []

Available switches:
-h - Display this help
-v - Show version
-j - Display full raw JSON output
-D - ZeroTier home path for parameter auto-detect
-p - HTTP port (default: auto)
-T - Authentication token (default: auto)

Available commands:
info - Display status info
listpeers - List all peers
peers - List all peers (prettier)
listnetworks - List all networks
join - Join a network
leave - Leave a network
set - Set a network setting
get - Get a network setting
listmoons - List moons (federated root sets)
orbit - Join a moon via any member root
deorbit - Leave a moon
dump - Debug settings dump for support

Available settings:
Settings to use with [get/set] may include property names from
the JSON output of "zerotier-cli -j listnetworks". Additionally,
(ip, ip4, ip6, ip6plane, and ip6prefix can be used). For instance:
zerotier-cli get ip6plane will return the 6PLANE address
assigned to this node.
[root@OpenWrt:10:28 AM ~] # zerotier-cli dup
ZeroTier One version 1.8.6 build 0 (platform 1 arch 4)
Copyright (c) 2020 ZeroTier, Inc.
Licensed under the ZeroTier BSL 1.1 (see LICENSE.txt)
Usage: zerotier-cli [-switches] <command/path> []

Available switches:
-h - Display this help
-v - Show version
-j - Display full raw JSON output
-D - ZeroTier home path for parameter auto-detect
-p - HTTP port (default: auto)
-T - Authentication token (default: auto)

Available commands:
info - Display status info
listpeers - List all peers
peers - List all peers (prettier)
listnetworks - List all networks
join - Join a network
leave - Leave a network
set - Set a network setting
get - Get a network setting
listmoons - List moons (federated root sets)
orbit - Join a moon via any member root
deorbit - Leave a moon
dump - Debug settings dump for support

Available settings:
Settings to use with [get/set] may include property names from
the JSON output of "zerotier-cli -j listnetworks". Additionally,
(ip, ip4, ip6, ip6plane, and ip6prefix can be used). For instance:
zerotier-cli get ip6plane will return the 6PLANE address
assigned to this node.
[root@OpenWrt:10:28 AM ~] # zerotier-cli dump
Writing dump to: /zerotier_dump.txt
[root@OpenWrt:10:28 AM ~] # cat /zerotier_dump.txt
platform: Linux
zerotier version: 1.8.6

status

{
"address": "faa9372790",
"clock": 1666578523189,
"config": {
"settings": {
"allowTcpFallbackRelay": true,
"listeningOn": [
"172.31.0.1/9993",
"192.168.1.201/9993",
"172.31.0.1/29994",
"192.168.1.201/29994",
"172.31.0.1/52112",
"192.168.1.201/52112",
"fdf0:e1fa:5be2::1/9993",
"fdf0:e1fa:5be2::1/29994",
"fdf0:e1fa:5be2::1/52112"
],
"portMappingEnabled": true,
"primaryPort": 9993,
"secondaryPort": 45505,
"softwareUpdate": "disable",
"softwareUpdateChannel": "release",
"tertiaryPort": 0
}
},
"online": false,
"planetWorldId": 149604618,
"planetWorldTimestamp": 1567191349589,
"publicIdentity": "faa9372790:0:7be8fde9aace39c68a756babbcdb6f2f972a938bb399353a80b66077b249a57b5d043d046346079fa39205d0ea5e8b6f23a33b63c7c3a6d0e5e91b66679bd126",
"tcpFallbackActive": true,
"version": "1.8.6",
"versionBuild": 0,
"versionMajor": 1,
"versionMinor": 8,
"versionRev": 6
}

networks

[
{
"allowDNS": false,
"allowDefault": false,
"allowGlobal": false,
"allowManaged": true,
"assignedAddresses": [],
"bridge": false,
"broadcastEnabled": false,
"dhcp": false,
"dns": {
"domain": "",
"servers": []
},
"id": "632ea29085023aa3",
"mac": "a2:c0:ab:b2:b7:32",
"mtu": 2800,
"multicastSubscriptions": [],
"name": "",
"netconfRevision": 0,
"nwid": "632ea29085023aa3",
"portDeviceName": "zt6ov2bkrg",
"portError": 0,
"routes": [],
"status": "REQUESTING_CONFIGURATION",
"type": "PRIVATE"
},
{
"allowDNS": false,
"allowDefault": false,
"allowGlobal": false,
"allowManaged": true,
"assignedAddresses": [],
"bridge": false,
"broadcastEnabled": false,
"dhcp": false,
"dns": {
"domain": "",
"servers": []
},
"id": "7f3b4ddfa0fb99fe",
"mac": "fe:63:52:97:f8:dd",
"mtu": 2800,
"multicastSubscriptions": [],
"name": "",
"netconfRevision": 0,
"nwid": "7f3b4ddfa0fb99fe",
"portDeviceName": "ztucn3mrs6",
"portError": 0,
"routes": [],
"status": "REQUESTING_CONFIGURATION",
"type": "PRIVATE"
},
{
"allowDNS": false,
"allowDefault": false,
"allowGlobal": false,
"allowManaged": true,
"assignedAddresses": [],
"bridge": false,
"broadcastEnabled": false,
"dhcp": false,
"dns": {
"domain": "",
"servers": []
},
"id": "ce9442cce9a1054a",
"mac": "4a:ff:08:de:eb:d2",
"mtu": 2800,
"multicastSubscriptions": [],
"name": "",
"netconfRevision": 0,
"nwid": "ce9442cce9a1054a",
"portDeviceName": "ztaj66hsnd",
"portError": 0,
"routes": [],
"status": "REQUESTING_CONFIGURATION",
"type": "PRIVATE"
}
]

peers

[
{
"address": "7f3b4ddfa0",
"isBonded": false,
"latency": -1,
"paths": [],
"role": "PLANET",
"version": "-1.-1.-1",
"versionMajor": -1,
"versionMinor": -1,
"versionRev": -1
},
{
"address": "ce9442cce9",
"isBonded": false,
"latency": -1,
"paths": [],
"role": "LEAF",
"version": "-1.-1.-1",
"versionMajor": -1,
"versionMinor": -1,
"versionRev": -1
}
]

bonds

[
{
"address": "7f3b4ddfa0",
"isBonded": false,
"latency": -1,
"paths": [],
"role": "PLANET",
"version": "-1.-1.-1",
"versionMajor": -1,
"versionMinor": -1,
"versionRev": -1
},
{
"address": "ce9442cce9",
"isBonded": false,
"latency": -1,
"paths": [],
"role": "LEAF",
"version": "-1.-1.-1",
"versionMajor": -1,
"versionMinor": -1,
"versionRev": -1
}
]

local.conf

None Present

Network Interfaces

Interface 0

Name: eth0
MTU: 1500
MAC: fc:7c:02:ec:80:91
Addresses:
192.168.1.201
fdf0:e1fa:5be2::1
fe80::fe7c:2ff:feec:8091
Interface 1

Name: docker0
MTU: 1500
MAC: 02:42:d5:92:c5:4b
Addresses:
172.31.0.1

@guider
Copy link
Author

guider commented Oct 24, 2022

已部署了并创建网络,客户端点加入后,显示状态一直都是requesting_configuration,但在服务器端一直看不见设备加入

@FliesQQ
Copy link

FliesQQ commented Oct 30, 2022

已部署了并创建网络,客户端点加入后,显示状态一直都是requesting_configuration,但在服务器端一直看不见设备加入

最近不管用什么办法新建的planet都不行,只有8月以前建立的可以。。。不知道是什么鬼。起初以为是端口啥的被墙,结果用境外服务器建立后再用境外服务器加入,也一样不行。

@Starryjasmine
Copy link

我也是这样,手机和电脑加入后都在请求配置,但服务器端收不到设备加入请求

@Starryjasmine
Copy link

已部署了并创建网络,客户端点加入后,显示状态一直都是requesting_configuration,但在服务器端一直看不见设备加入

我参照这个https://github.com/xubiaolin/docker-zerotier-planet搭建成功了

@qsc4442
Copy link

qsc4442 commented Nov 30, 2022

运营商大批量封闭了9993 端口,需要修改

@verysun
Copy link

verysun commented Dec 1, 2022

@qsc4442 请问如何修改9993端口

@MANKUD
Copy link

MANKUD commented Feb 14, 2023

All those that have an issue with requesting config make sure you modify the file docker-compose.yml and edit this line to add your server public IP

  • MYADDR=1.1.1.1 #Change to your own server public network IP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants