Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 2 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      doktornotor Banned
      last edited by

      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.

      ??? ??? ???

      1 Reply Last reply Reply Quote 0
      • P
        PiBa
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          Thanks, that worked.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.