# Load balancer SSL 503 service unavailable error

**URL:** <https://forums.suse.com/t/load-balancer-ssl-503-service-unavailable-error/5685>\
**Category:** Rancher 1.x\
**Created:** [February 28, 2017, 4:41pm UTC](https://forums.suse.com/t/load-balancer-ssl-503-service-unavailable-error/5685 "2017-02-28T16:41:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ernest\_Chen](https://avatars.discourse-cdn.com/v4/letter/e/977dab/32.png) [@Ernest\_Chen](https://forums.suse.com/u/Ernest_Chen)\
**Post date:** [February 28, 2017, 4:41pm UTC](https://forums.suse.com/t/load-balancer-ssl-503-service-unavailable-error/5685/1 "2017-02-28T16:41:58Z")

</div>

I used the Let’s Encrypt template 0.4 and have successfully generated a certificate under rancher 1.3.4. I understand that the SSL terminates at the load balancer only and the traffic between the load balancer to my container is encrypted by ipsec and I have no issues with that. What I couldn’t figure out is the way to configure the service rules because I am getting 503 service unable error. Here’s my current setup:

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/7/7bd3cf5a409afd52f5c99d20a2c758254276d37a.jpg)

I want to let users connect to my container via https only and have the load balancer forward the request to my container ‘web’ at port 5000. What’s the best way to configure the rules?

---

<div class="post-metadata">

**Author:** ![sjiveson](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sjiveson/32/966_2.png) [@sjiveson](https://forums.suse.com/u/sjiveson)\
**Post date:** [March 1, 2017, 11:51am UTC](https://forums.suse.com/t/load-balancer-ssl-503-service-unavailable-error/5685/2 "2017-03-01T11:51:04Z")

</div>

Looks OK to me. Do you have a health check on the `web` service? Are you sure it’s up and available on 5000?

---

<div class="post-metadata">

**Author:** ![Ernest\_Chen](https://avatars.discourse-cdn.com/v4/letter/e/977dab/32.png) [@Ernest\_Chen](https://forums.suse.com/u/Ernest_Chen)\
**Post date:** [March 1, 2017, 1:40pm UTC](https://forums.suse.com/t/load-balancer-ssl-503-service-unavailable-error/5685/3 "2017-03-01T13:40:08Z")

</div>

I found that the error was not related to the load balancer. It has something to do with the trailing slashes in the route with flask. For some reason the behaviour is different under http. Thanks for confirming that the load balancer service is setup properly.

---

<div class="post-metadata">

**Author:** ![sjiveson](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sjiveson/32/966_2.png) [@sjiveson](https://forums.suse.com/u/sjiveson)\
**Post date:** [March 1, 2017, 2:27pm UTC](https://forums.suse.com/t/load-balancer-ssl-503-service-unavailable-error/5685/4 "2017-03-01T14:27:37Z")

</div>

Brilliant, you’re welcome.
