[SOLVED] haproxy - how to avoid empty response with slow backend?

  • Banned

    So, I have pfSense GUI behind haproxy (haproxy https/tcp on 443, the webgui on 4443). This works pretty well except when I keep messing with suricata. Some actions which result in rules rebuild/reload take quite some time to get processed. When connected via haproxy, after about ~30 seconds I get an empty response. This is not a problem when connected directly to the webgui on port 4443.

    How can I avoid this? I tried

    timeout server		60000

    on the webgui backend, did not help.

    ??? ??? ???

  • Tried adding a timeout of 60000 for the client connection on the frontend side as well?

  • Banned

    Thanks, that worked.

Log in to reply