# HA rancher setup behind a proxy

**URL:** <https://forums.suse.com/t/ha-rancher-setup-behind-a-proxy/6168>\
**Category:** Rancher 1.x\
**Created:** [April 17, 2017, 7:04am UTC](https://forums.suse.com/t/ha-rancher-setup-behind-a-proxy/6168 "2017-04-17T07:04:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Listener\_me](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/listener_me/32/5836_2.png) [@Listener\_me](https://forums.suse.com/u/Listener_me)\
**Post date:** [April 17, 2017, 7:04am UTC](https://forums.suse.com/t/ha-rancher-setup-behind-a-proxy/6168/1 "2017-04-17T07:04:33Z")

</div>

Hello,

I have tried to setup HA behind haproxy, and everything is successful except the following. I am getting following error and stacks deployed across the network is showing as error

# === Error (Get [http://localhost:8080/v2-beta/projects/1a204/services/1s37:](http://localhost:8080/v2-beta/projects/1a204/services/1s37:) net/http: request canceled (Client.Timeout exceeded while awaiting headers))

I had used no\_proxy variable in systemd and /etc/environment to fix it, but no luck

Error from rancher server container

time=“2017-04-17T06:52:17Z” level=info msg="Downloading key from [http://localhost:8081/v1/scripts/api.crt](http://localhost:8081/v1/scripts/api.crt)"  
time=“2017-04-17T06:52:17Z” level=info msg="Starting websocket proxy. Listening on [:8080], Proxying to cattle API at [localhost:8081], Monitoring parent pid [7]."  
time=“2017-04-17T06:52:17Z” level=info msg="Configured http API filter"  
time=“2017-04-17T06:52:17Z” level=info msg="Configured authTokenValidator API filter"  
time=“2017-04-17T06:52:17Z” level=info msg="Master config file: master.conf"  
time=“2017-04-17T06:52:17Z” level=info msg="Master address: IPADDRESS:8080"  
time=“2017-04-17T06:52:19Z” level=info msg="Webhook service listening on 8085"  
time=“2017-04-17T06:52:27Z” level=info msg="Starting Catalog Service (port 8088, refresh interval 300 seconds)"  
time=“2017-04-17T06:52:27Z” level=error msg="Failed to update existing repo cache: exit status 128"  
time=“2017-04-17T06:52:28Z” level=error msg="Failed to update existing repo cache: exit status 128"  
time=“2017-04-17T06:52:28Z” level=info msg=“Exiting proxy.” error="Failed to download certificate for 856660EF01335316933B: Get [http://localhost:8081/v1/credentials?kind=agentApiKey&publicValue=856660EF01335316933B:](http://localhost:8081/v1/credentials?kind=agentApiKey&publicValue=856660EF01335316933B:) net/http: request canceled (Client.Timeout exceeded while awaiting headers)"  
time=“2017-04-17T06:52:28Z” level=fatal msg="Failed to configure cattle client: Get [http://localhost:8080/v1:](http://localhost:8080/v1:) read tcp [::1]:45880-\>[::1]:8080: read: connection reset by peer"  
time=“2017-04-17T06:52:28Z” level=error msg="Failed to update existing repo cache: exit status 128"  
time=“2017-04-17T06:52:28Z” level=error msg="Failed to update existing repo cache: exit status 128"  
time=“2017-04-17T06:52:28Z” level=error msg="Failed to update existing repo cache: exit status 128"  
time=“2017-04-17T06:52:28Z” level=error msg="Failed to update existing repo cache: exit status 128"  
time=“2017-04-17T06:52:29Z” level=info msg="Downloading key from [http://localhost:8081/v1/scripts/api.crt](http://localhost:8081/v1/scripts/api.crt)"  
time=“2017-04-17T06:52:29Z” level=info msg="Starting websocket proxy. Listening on [:8080], Proxying to cattle API at [localhost:8081], Monitoring parent pid [7]."  
time=“2017-04-17T06:52:29Z” level=info msg="Configured http API filter"  
time=“2017-04-17T06:52:29Z” level=info msg="Configured authTokenValidator API filter"  
time=“2017-04-17T06:52:29Z” level=info msg="Master config file: master.conf"  
time=“2017-04-17T06:52:29Z” level=info msg="Master address: IPADDRESS:8080"  
time=“2017-04-17T06:52:29Z” level=info msg="Downloading certificate from [http://localhost:8081/v1/credentials/1c1/certificate](http://localhost:8081/v1/credentials/1c1/certificate)"  
time=“2017-04-17T06:52:30Z” level=info msg="Starting Rancher Auth service"  
time=“2017-04-17T06:52:31Z” level=info msg=“Listening on :8090”

Thanks
