# Rancher Agent - Failed to connect to proxy

**URL:** <https://forums.suse.com/t/rancher-agent-failed-to-connect-to-proxy/16722>\
**Category:** SUSE Rancher Prime\
**Created:** [March 2, 2020, 12:13pm UTC](https://forums.suse.com/t/rancher-agent-failed-to-connect-to-proxy/16722 "2020-03-02T12:13:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crazy\_Russiancook](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/crazy_russiancook/32/6136_2.png) [@Crazy\_Russiancook](https://forums.suse.com/u/Crazy_Russiancook)\
**Post date:** [March 2, 2020, 12:13pm UTC](https://forums.suse.com/t/rancher-agent-failed-to-connect-to-proxy/16722/1 "2020-03-02T12:13:12Z")

</div>

I tried setting up a HA Rancher cluster using the Air Gapped guide.  
I’m trying to create a new cluster from custom machines, and after running the agent image on the target machine, it doesn’t seem to connect. After reading the logs, I found this error:  
Connecting to proxy url=“wss://[rancher url]/v3/connect/register” with token [token]  
Failed to connect to proxy. Empty dialer response error=“tls: failed to parse certificate from server: asn1: structure error: base 128 integer too large”  
Remotedialer proxy error error=“tls: failed to parse certificate from server: asn1: structure error: base 128 integer too large”

I’ve looked online and saw that this is an error in Go, but I didn’t see a solution as to how I should change my certificates or if there’s a workaround to this.  
Any help? This is the last obstacle we have before we’re able to run Rancher in production.

---

<div class="post-metadata">

**Author:** ![Nikita\_Maximov](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/nikita_maximov/32/8112_2.png) [@Nikita\_Maximov](https://forums.suse.com/u/Nikita_Maximov)\
**Post date:** [October 13, 2021, 4:25pm UTC](https://forums.suse.com/t/rancher-agent-failed-to-connect-to-proxy/16722/2 "2021-10-13T16:25:09Z")

</div>

Hey did you manage to resolve your issue?
