I try to connect to my postgresql cluster using patroni and haproxy, in haproxy stats always i have two servers "DOWN" and when i connect from my pgadmin i have this message:
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
This is my haproxy.cfg file: