# Failed to connect to proxy" error="websocket: bad handshake

**URL:** <https://forums.suse.com/t/failed-to-connect-to-proxy-error-websocket-bad-handshake/15257>\
**Category:** SUSE Rancher Prime\
**Created:** [September 10, 2019, 9:55pm UTC](https://forums.suse.com/t/failed-to-connect-to-proxy-error-websocket-bad-handshake/15257 "2019-09-10T21:55:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![runderwoodcr](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/runderwoodcr/32/5575_2.png) [@runderwoodcr](https://forums.suse.com/u/runderwoodcr)\
**Post date:** [September 10, 2019, 9:55pm UTC](https://forums.suse.com/t/failed-to-connect-to-proxy-error-websocket-bad-handshake/15257/1 "2019-09-10T21:55:14Z")

</div>

Hello,

I’ve setup an EKS Cluster, I’m using spinnaker and traefik as ingress controller, I’ve installed Rancher to add the option for those that don’t have a good knowledge in kubernetes can look at the pods, deploy workloads and other tasks, however one of those tasks its to look at the logs of the pods, I can reach Rancher with no problem but its giving this error:

time=“2019-09-10T21:44:48Z” level=info msg=“Connecting to proxy” url=“wss://rancher.xxxxxx.io/v3/connect/register” │  
│ time=“2019-09-10T21:44:48Z” level=error msg=“Failed to connect to proxy” error=“websocket: bad handshake” │  
│ time=“2019-09-10T21:44:48Z” level=error msg=“Failed to connect to proxy” error=“websocket: bad handshake” │

I’m running rancher v2.2.4 and Traefik version 1.7.14, all other deployments are working fine.

I’ve deployed rancher via helm with this command:

helm install rancher-latest/rancher --name rancher --namespace cattle-system --set hostname=[url here] --set ingress.extraAnnotations.'[kubernetes.io/ingress.class’=traefik](http://kubernetes.io/ingress.class'=traefik) --set tls=external --set nodeSelector.nodetype=systools --set replicas=1

I’ve been looking in the forums, but none of the answers seems to be related with traefik.  
Important to say that ssl termination its done at aws elb level using a wildcard ssl.

Your help its very appreciated.

---

<div class="post-metadata">

**Author:** ![fengfuyun52](https://avatars.discourse-cdn.com/v4/letter/f/838e76/32.png) [@fengfuyun52](https://forums.suse.com/u/fengfuyun52)\
**Post date:** [April 13, 2020, 9:57am UTC](https://forums.suse.com/t/failed-to-connect-to-proxy-error-websocket-bad-handshake/15257/2 "2020-04-13T09:57:12Z")

</div>

me too,can you help me?TKS.

---

<div class="post-metadata">

**Author:** ![spatialy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/spatialy/32/2664_2.png) [@spatialy](https://forums.suse.com/u/spatialy)\
**Post date:** [June 23, 2021, 2:38am UTC](https://forums.suse.com/t/failed-to-connect-to-proxy-error-websocket-bad-handshake/15257/3 "2021-06-23T02:38:12Z")

</div>

@fengfuyun52 @runderwoodcr can share how you solve this?

We have a new cluster on rancher 2.5.8 and get this error
