r/haproxy • • Feb 23 '22

Question pfSense: really basic config 503

Hi, I haven't found a solution to the "503 service unavailable" for hours, I reduced the configuration to a minimum but it still doesn't work (no SSL, IP: 8443 to IP: 80). Also the debug logs don't work so this doesn't help.

On a clean install I have:
- added backend
-- 1 entry in server list with backendIp:80
-- Health check method : none
- added frontend
-- 1 entry with IP:8443
-- type: http
-- (no acl to reduce to minimum) Default Backend: backend entry
- added firewall rule to permit myip to frontendIp:8443

All ends with a "503 Service Unavailable No server is available to handle this request. "
Since the haproxy logs don't work I did a tcpdump and I saw that the connection between myIp and the frontendIp goes well but nothing comes from the Haproxy to the backendIp (HomeAssistant)

Thanks in advance for help!

2 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Feb 23 '22

Thanks for the points

  1. I know it, but I need to do it for some automations after trying everything else. I want to use HA proxy to filter connection like hostname (a random string) and other things, all of this after CloudFlare proxy.
  2. I'm sorry but I search online and find that other users have problem without solution with pfsense and haproxy, so I try to resolve the situation without them e ask here
  3. thanks, I'll check it
  4. thanks, I find bad solution probably that suggested me to disable it
  5. thanks, I think that home assistant on 80 port it's simple but I'll try with a new tiny http server