Cattle cluster agent and node agent are showing CrashLoopBackOff

using rancher 2.4 in. 3 NODE HA mode with the reverse proxy nginx server. as per the logs its say that cluster agent and node agent are not able to connect to the load balancer dns name.