# Healthcheck stuck in a loop

**URL:** <https://forums.suse.com/t/healthcheck-stuck-in-a-loop/9771>\
**Category:** Rancher 1.x\
**Created:** [March 13, 2018, 10:04pm UTC](https://forums.suse.com/t/healthcheck-stuck-in-a-loop/9771 "2018-03-13T22:04:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhex900](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/zhex900/32/3801_2.png) [@zhex900](https://forums.suse.com/u/zhex900)\
**Post date:** [March 13, 2018, 10:04pm UTC](https://forums.suse.com/t/healthcheck-stuck-in-a-loop/9771/1 "2018-03-13T22:04:21Z")

</div>

Hi,

I am trying to add hosts to rancher server. But healthcheck is stuck in a loop.

Host OS: `Container Linux by CoreOS 1632.3.0 (Ladybug)`  
Docker: `17.09.1-ce`  
Rancher Server: `latest`

My guess is the problem of UDP ports 500 and 4500. Hosts probably cannot talk to each other. But I don’t know how to fix it. It seems to me that UDP ports are already opened.

My firewall also opened these ports.

 ![51%20am](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/e/ef9c276a8bb6dd4fbbbede6dbab0e40e419ab569.png)

```auto
sudo iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:4500
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:500

```

```auto
14/03/2018 08:57:35time="2018-03-13T21:57:35Z" level=info msg="healthCheck -- no changes in haproxy config\n"
14/03/2018 08:57:36time="2018-03-13T21:57:36Z" level=error msg="Failed to report status fccb1ba1-bb03-4984-adc2-f71290f78bf0_53c2f9f2-9f2d-42f9-ad7b-b9363838a8f7_1=DOWN: Bad response from [http://docs.streampublications.com.au:8080/v1/serviceevents], statusCode [409]. Status [409 Conflict]. Body: [{\"id\":\"2d8c3082-1d4a-4a0b-b36b-abe71109e98a\",\"type\":\"error\",\"links\":{},\"actions\":{},\"status\":409,\"code\":\"Conflict\",\"message\":\"Conflict\",\"detail\":null,\"baseType\":\"error\"}]"
14/03/2018 08:57:36time="2018-03-13T21:57:36Z" level=error msg="Failed to report status fccb1ba1-bb03-4984-adc2-f71290f78bf0_3ce40af1-86ff-48b9-8831-3fdcc67df508_1=DOWN: Bad response from [http://docs.streampublications.com.au:8080/v1/serviceevents], statusCode [409]. Status [409 Conflict]. Body: [{\"id\":\"79141003-f500-404c-88b0-c998a7c89c0e\",\"type\":\"error\",\"links\":{},\"actions\":{},\"status\":409,\"code\":\"Conflict\",\"message\":\"Conflict\",\"detail\":null,\"baseType\":\"error\"}]"

```

---

<div class="post-metadata">

**Author:** ![zhex900](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/zhex900/32/3801_2.png) [@zhex900](https://forums.suse.com/u/zhex900)\
**Post date:** [March 14, 2018, 11:17pm UTC](https://forums.suse.com/t/healthcheck-stuck-in-a-loop/9771/2 "2018-03-14T23:17:18Z")

</div>

The problem is something to do with my private network setup. It worked on a new instance with no private network.
