#899·Tars

Tars 添加节点失败

Author: adropofsnowCreated Jan 2, 2024Updated Jan 3, 2024
Labelsbug
截屏2024-01-02 14 52 47

tars添加节点失败(如上图) 系统环境:centos 7.9 阿里云,使用公网IP添加

在新添加的节点服务器,能看到 ./bin/tarsnod 进程,无异常错误 ,19386和19387端口能正常启用

tars所部署的服务器,telnet 新添加的节点服务器 19387 19385 19386 三个端口正常。

补充说明:使用同一网段的内网IP地址,添加节点,正常。 tars.tarsnode.config.conf 的配置信息如下: enableset=n setdivision locator=tars.tarsregistry.QueryObj@tcp -h 172.22.245.21 -p 17890 async-invoke-timeout=5000 refresh-endpoint-interval=60000 stat=tars.tarsstat.StatObj property=tars.tarsproperty.PropertyObj report-interval=60000 modulename=tars.tarsnode sync-invoke-timeout=6000 asyncthread=3 app=tars server=tarsnode localip=...* #此处为新添加节点的的公网IP local=tcp -h 0.0.0.0 -p 19387 -t 10000 basepath=/usr/local/app/tars/tarsnode/data datapath=/usr/local/app/tars/tarsnode/data logpath=/usr/local/app/tars/app_log logsize=10M lognum=10 logLevel=DEBUG config=tars.tarsconfig.ConfigObj notify=tars.tarsnotify.NotifyObj log=tars.tarslog.LogObj activating-timeout=10000 deactivating-timeout=3000 endpoint=tcp -h 0.0.0.0 -p 19385 -t 60000 allow maxconns=1024 threads=5 queuecap=10000 queuetimeout=4000 servant=tars.tarsnode.NodeObj endpoint=tcp -h 0.0.0.0 -p 19386 -t 60000 allow maxconns=1024 threads=5 queuecap=10000 queuetimeout=4000 servant=tars.tarsnode.ServerObj registryObj=tars.tarsregistry.RegistryObj cmd_white_list_ip heartTimeout=45 monitorInterval=3 synStatInterval=60 file=serversCache.dat minBlock=500 maxBlock=500 factor=1 size=10M