将GCP Kubernetes群集导入Rancher时WebSocket连接错误

时间:2020-05-30 13:33:58

标签: kubernetes google-cloud-platform google-kubernetes-engine rancher

尝试在Rancher中导入GKE集群时遇到问题。 运行kubectl后使用上下文并创建clusterrolebinding 查看牧场代理的日志,发现有这些错误。

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"

1 个答案:

答案 0 :(得分:0)

这种外观与:https://github.com/rancher/rancher/issues/24876 我知道这是一个老问题,但您可能还需要检查一下:)