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

    HAProxy Frontend Limit

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 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.
    • D
      dmaina
      last edited by

      Is there a limit of how many action entries can be added on HAProxy Frontend? We are getting The field 'Client timeout' value is not a number. error when we try to add new entries, we have 120 entries.

      OS: 2.3.4-RELEASE-p1 (amd64)
      clnt.PNG
      clnt.PNG_thumb

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

        I just upgraded from 2.3.4 to 2.4.2-RELEASE and am getting the same error. The field 'Client timeout' value is not a number. when I try to add an acl and action to a shared front end.
        Even if you type in 30000 (the default) into shared front end Client timeout field, you get this error.
        This was working in 2.3.4 and below.
        Maybe a bug in the scripts?

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

          Might be a bug, but i cant reproduce.. putting a letter in the field i get that error, removing it saving again works..
          As for a shared frontend you cant see the setting and it isn't checked for validity.

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

            Can you try with this patch applied?:

             .../files/usr/local/www/haproxy/haproxy_listeners_edit.php              | 2 +-
             1 file changed, 1 insertion(+), 1 deletion(-)
            
            diff --git a/net/pfSense-pkg-haproxy-devel/files/usr/local/www/haproxy/haproxy_listeners_edit.php b/net/pfSense-pkg-haproxy-devel/files/usr/local/www/haproxy/haproxy_listeners_edit.php
            index 7f2d2af..1647034 100644
            --- a/net/pfSense-pkg-haproxy-devel/files/usr/local/www/haproxy/haproxy_listeners_edit.php
            +++ b/net/pfSense-pkg-haproxy-devel/files/usr/local/www/haproxy/haproxy_listeners_edit.php
            @@ -361,7 +361,7 @@ if ($_POST) {
             		}
            
             		if ($_POST['client_timeout'] !== "" && !is_numeric($_POST['client_timeout'])) {
            -			$input_errors[] = "The field 'Client timeout' value is not a number.";
            +			$input_errors[] = sprintf(gettext("The value '%s' in field 'Client timeout' value is not a number."), $_POST['client_timeout']);
             		}
             	}
            
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.