HA Proxy for Jitsi Shards

Hi,
I have two shards setup, shard 1 and shard 2 which has a haproxy in front. but when i do load testing some users are going to shard 1 and some to shard 2 and in haproxy logs i can see sometimes during the load test one shard is going down.
NING] (8) : Server http_backend/shard2 is DOWN, reason: Layer4 connection problem, info: “Connection refused”, check duration: 1ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] (8) : Server http_backend/shard2 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.
[WARNING] (8) : Server http_backend/shard1 is DOWN, reason: Layer4 connection problem, info: “Connection refused”, check duration: 1ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] (8) : Server http_backend/shard1 is UP, reason: Layer7 check passed, code: 200, check duration: 3ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. my haproxy configuration is given below.
can someone help ?


@damencho

@Anthony_Garcia