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

    HAProxy backend acl not saving

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 1.1k 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.
    • B
      blindmotphil
      last edited by

      Hello,

      I have a situation where the ACLs I create in the HAProxy/Backend don't save to the config file.
      The error looks like this:
      Errors found while starting haproxy
      [ALERT] 291/153828 (33675) : parsing [/var/etc/haproxy_test/haproxy.cfg:67] : error detected while parsing switching rule : no such ACL : 'idempiere'.
      [ALERT] 291/153828 (33675) : Error(s) found in configuration file : /var/etc/haproxy_test/haproxy.cfg
      [ALERT] 291/153828 (33675) : Fatal errors found in configuration.

      HAProxy screenshot

      When you look at the /var/etc/haproxy_test/haproxy.cfg, the backend looks like this:

      backend secure.blindmotion.com.au_ipvANY
      mode tcp
      id 101
      log global
      balance roundrobin
      timeout connect 30000
      timeout server 30000
      retries 3
      option httpchk OPTIONS /
      use-server erp.blindmotion.com.au if idempiere
      server erp.blindmotion.com.au 10.0.0.189:8080 id 100 check inter 1000
      server cms.blindmotion.com.au 10.0.0.173:80 id 105 check inter 1000

      The ACL is not getting saved to the config file, which results in the back end servers not being used as intended.
      Editing the /var/etc/haproxy/haproxy.cfg file gets overwritten by PF sense when the 'Save' button is clicked in the HAProxy/Backend GUI.

      Is this a bug? Something wrong with my setup?
      Is there a workaround?

      I have reinstalled 2.5.2-RELEASE with no change.

      M 1 Reply Last reply Reply Quote 1
      • M
        mythz @blindmotphil
        last edited by

        @blindmotphil Am seeing the same problem on my unit. Did you manage to fix this since you last posted?

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