# API ares Not reachable through Haproxy

**URL:** <https://discourse.haproxy.org/t/api-ares-not-reachable-through-haproxy/2850>\
**Category:** Help!\
**Created:** [August 10, 2018, 1:56pm UTC](https://discourse.haproxy.org/t/api-ares-not-reachable-through-haproxy/2850 "2018-08-10T13:56:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasa880](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@prasa880](https://discourse.haproxy.org/u/prasa880)\
**Post date:** [August 10, 2018, 1:56pm UTC](https://discourse.haproxy.org/t/api-ares-not-reachable-through-haproxy/2850/1 "2018-08-10T13:56:15Z")

</div>

Hi,  
i am redirecting traffic 80 to 443 . when call a api through loadbalancer with http is not reachable. through direct https it working fine because there is no redirect. i am using post method to fetch api.

do i need to add any parameter in haproxy.cfg

thanks in advance

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [August 14, 2018, 2:29pm UTC](https://discourse.haproxy.org/t/api-ares-not-reachable-through-haproxy/2850/2 "2018-08-14T14:29:57Z")

</div>

It depends how your API client behaves. An API client is not a browser. Check your logs, see if the client follows the redirect and if it still is the same request (or whether it downgraded a POST to a GET request).
