The connection to the server rancher.xxx.com was refused - did you specify the right host or port? #5948
Closed
bpopovich44
started this conversation in
General
Replies: 1 comment
-
This sounds like an issue with Rancher, not RKE2. This is not the correct place for questions about Rancher. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a HA cluster with three head nodes and three worker nodes. I upgraded rke2 from v1.27.10 to v1.28.9 and then patched all six servers. I am able to run kubectl commands from the head nodes, but when running from other machines I get the connection refused error. Rancher UI is also not available. I've verified swap is off, firewall is off and other items I've researched. I have ran upgrades before with no issues. When I run kubectl events, I have no errors or warnings.
Head nodes -- rhel8
worker nodes --rocky8
I'm not sure where to look but I don't see any errors in logs.
This is the only error I see in the kubelet logs, but not sure what it means:
"StopPodSandbox from runtime service failed" err="rpc error: code = Unknown desc = failed to destroy network for sandbox "03ee58aa646e2ad2d55d66dfeb32ea76e40ff6307a3baf332dec30b842b6c6e8": plugin type="calico" failed (delete): error getting ClusterInformation: Get "https://[10.43.0.1]:443/apis/crd.projectcalico.org/v1/clusterinformations/default": dial tcp 10.43.0.1:443: i/o timeout" podSandboxID="03ee58aa646e2ad2d55d66dfeb32ea76e40ff6307a3baf332dec30b842b6c6e8"
kubectl get nodes
E0522 02:18:32.613533 11444 memcache.go:265] couldn't get current server API group list: Get "https://rancher.xxxr.com/k8s/clusters/local/api?timeout=32s": dial tcp 192.168xxx.xxx:443: connect: connection refused
E0522 02:18:32.628092 11444 memcache.go:265] couldn't get current server API group list: Get "https://rancher.xxx.com/k8s/clusters/local/api?timeout=32s": dial tcp 192.168.xxx.xxx:443: connect: connection refused
E0522 02:18:32.643672 11444 memcache.go:265] couldn't get current server API group list: Get "https://rancher.xxx.com/k8s/clusters/local/api?timeout=32s": dial tcp 192.168.xxx.xxx:443: connect: connection refused
E0522 02:18:32.659461 11444 memcache.go:265] couldn't get current server API group list: Get "https://rancher.xxx.com/k8s/clusters/local/api?timeout=32s": dial tcp 192.168.xxx.xxx:443: connect: connection refused
E0522 02:18:32.675392 11444 memcache.go:265] couldn't get current server API group list: Get "https://rancher.xxx.com/k8s/clusters/local/api?timeout=32s": dial tcp 192.168.xxx.xxx:443: connect: connection refused
The connection to the server rancher.xxxr.com was refused - did you specify the right host or port?
Beta Was this translation helpful? Give feedback.
All reactions