https://rancher.com/ logo
Title
m

magnificent-king-20947

08/01/2022, 9:46 PM
Hey yall, I've been having issues with a cluster failing to connect to rancher (v2.6.6). Logs from cluster node:
1 $ kubectl -n cattle-system logs cattle-cluster-agent-5d6bc5fdbb-f6mwt    
[INFO snipped]         
2 time="2022-07-28T22:35:47Z" level=info msg="Listening on /tmp/log.sock"         
3 time="2022-07-28T22:35:47Z" level=info msg="Rancher agent version v2.6.6 is starting"
4 time="2022-07-28T22:35:47Z" level=info msg="Connecting to <wss://rancher.xxx.com/v3/connect/register> with token starting with rhssppswh4dhlkbd4qcwxjw67b9"
5 time="2022-07-28T22:35:47Z" level=info msg="Connecting to proxy" url="<wss://rancher.xxx.com/v3/connect/register>"
6 time="2022-07-28T22:41:18Z" level=error msg="Remotedialer proxy error" error="websocket: close 1006 (abnormal closure): unexpected EOF"
7 time="2022-07-28T22:41:28Z" level=info msg="Connecting to <wss://rancher.xxx.com/v3/connect> with token starting with rhssppswh4dhlkbd4qcwxjw67b9"
8 time="2022-07-28T22:41:28Z" level=info msg="Connecting to proxy" url="<wss://rancher.xxx.com/v3/connect>"
9 time="2022-07-28T22:41:42Z" level=error msg="Remotedialer proxy error" error="websocket: close 1006 (abnormal closure): unexpected EOF"
10 time="2022-07-28T22:41:52Z" level=info msg="Connecting to <wss://rancher.xxx.com/v3/connect> with token starting with rhssppswh4dhlkbd4qcwxjw67b9"
11 time="2022-07-28T22:41:52Z" level=info msg="Connecting to proxy" url="<wss://rancher.xxx.com/v3/connect>"
I've verified network path is clear and the reg token is correct. Any ideas what this
1006
error is?
this all happened at the time of a cluster upgrade - the connection errors happened when rancher was unavailable. what's puzzling is cattle-cluster-agent hangs at
Connecting to proxy