https://rancher.com/ logo
Title
d

dry-vr-36164

03/13/2023, 7:25 PM
I am getting following error when importing a cluster to rancher
2.6.6
:
level=error msg="Failed to connect to proxy. Response status: 400 - 400 Bad Request. Response body: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' headerError during upgrade for host [c-m-w9nnqvqq]: websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header" error="websocket: bad handshake"
Any idea what this could be related to ?
I have nginx-ingress-controller deployed as
type=loadbalancer
and rancher installed with
tls=external
. Thus, it seem loadbalancer created nginx controller is an elb and not nlb or alb
g

glamorous-architect-89433

03/20/2023, 5:10 AM
Hi @dry-vr-36164, has it worked for you?
d

dry-vr-36164

03/20/2023, 7:18 AM
Yes, I replaced
nginx-ingress-controller
with
aws-alb-controller
and it started working.
Nginx
also works but then importing cluster doesn't works with it if using certs outside of rancher.