Error on websocket connection when importing a GCP Kubernetes cluster into Rancher

5/30/2020

I'm having a problem when trying to importing a GKE cluster in Rancher. After running kubectl use-context & create clusterrolebinding Looking at logs at rancher agent, it is having these errors.

time="2020-05-30T13:16:42Z" level=error msg="Remotedialer proxy error" error="websocket: bad 
handshake" time="2020-05-30T13:16:52Z" level=info msg="Connecting to wss://rancher.mydomain.com/v3/connect with token 83838383"
time="2020-05-30T13:16:52Z" level=info msg="Connecting to proxy"
url="wss://rancher.mydomain.com/v3/connect"
time="2020-05-30T13:16:52Z" level=error msg="Failed to connect to proxy. Response status: 200 - 200 OK. Response body: node.management.cattle.io \"c-czjxh/m-348cfc5e3bed\" not found" error="websocket: bad handshake"
-- edwinallenz
google-cloud-platform
google-kubernetes-engine
kubernetes
rancher

0 Answers