https://netmaker.org logo
I am unable to get any client to connect
b

boundless-ability-97383

05/20/2023, 6:35 PM
I am unable to get any client to connect to my saas instance. no handshake
j

jolly-london-20127

05/20/2023, 6:35 PM
please paste
journalctl -fu netclient
b

boundless-ability-97383

05/20/2023, 6:38 PM
okay i think its a bug with netclient, it is tring to connect to a netmaker domain that was previously used on the host. eventhough i just used a join token from the new instance
on another host, all looks normal
May 20 13:31:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:31:54 restarting daemon
May 20 13:31:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:31:54 adding addresses to netmaker interface
May 20 13:31:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:31:54 Starting Proxy...
May 20 13:31:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:31:54 set nat info: &{[REMOVED] 10.0.2.219 2074 51723 false double}
May 20 13:31:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:31:54 netclient message queue started for server: 2dfc9992-7ac5-49e2-a68d-9b4a5b726d62.app.prod.netmaker.io
May 20 13:31:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:31:54 initialized endpoint detection on port 51723
May 20 13:31:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:31:54 mqtt connect handler
May 20 13:32:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:32:54 collecting metrics for network checkmk
May 20 13:32:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:32:54 published metrics for node checkmkrivercityitca
May 20 13:33:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:33:54 collecting metrics for network checkmk
May 20 13:33:54 checkmk.rivercityit.ca netclient[938]: [netclient] 2023-05-20 13:33:54 published metrics for node checkmkrivercityitca
j

jolly-london-20127

05/20/2023, 6:50 PM
are you still a part of the old server as well? e.g. is this a second server you are joining?
b

boundless-ability-97383

05/20/2023, 7:04 PM
I left all networks then joined the new one. i just reinstalled and that issue is gone. but hosts still can't handshake
[netclient] 2023-05-20 20:01:41 adding addresses to netmaker interface
[netclient] 2023-05-20 20:01:42 Starting Proxy...
[netclient] 2023-05-20 20:01:42 set nat info: &{172.245.133.173 172.245.133.173 51722 51722 false public}
[netclient] 2023-05-20 20:01:42 netclient message queue started for server: 2dfc9992-7ac5-49e2-a68d-9b4a5b726d62.app.prod.netmaker.io
[netclient] 2023-05-20 20:01:42 initialized endpoint detection on port 51722
[netclient] 2023-05-20 20:01:42 mqtt connect handler
[netclient] 2023-05-20 20:02:42 collecting metrics for network c-center
[netclient] 2023-05-20 20:02:42 published metrics for node abc
j

jolly-london-20127

05/20/2023, 7:11 PM
Output looks normal, are there peers on the interface?
b

boundless-ability-97383

05/20/2023, 7:20 PM
yes there are.
endpoint: 172.245.133.173:51821
  allowed ips: 10.100.2.2/32
  transfer: 0 B received, 27.89 KiB sent
  persistent keepalive: every 20 seconds
same type of responce on other host
j

jolly-london-20127

05/20/2023, 7:37 PM
is the endpoint correct?
b

boundless-ability-97383

05/20/2023, 8:07 PM
yes
j

jolly-london-20127

05/20/2023, 8:08 PM
please post the peer section for this machine on the other host (172.245.133.173)
b

boundless-ability-97383

05/20/2023, 8:18 PM
endpoint: 194.163.47.143:51821
  allowed ips: 10.100.2.1/32
  transfer: 0 B received, 111.00 KiB sent
  persistent keepalive: every 20 seconds
j

jolly-london-20127

05/20/2023, 8:19 PM
and that endpoint is also correct?
b

boundless-ability-97383

05/20/2023, 8:19 PM
yes
j

jolly-london-20127

05/20/2023, 8:19 PM
strange...no idea why that would be an issue then, it looks fine
have you tested self-hosted as well?
b

boundless-ability-97383

05/20/2023, 8:19 PM
i have not
j

jolly-london-20127

05/20/2023, 8:45 PM
ok, I'd like to take a look with you when you have the time