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

    2.4.1 cluster/HAProxy Unhandled XML_RPC2_InvalidUriException error after upgrad

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 2 Posters 875 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.
    • J
      Juve
      last edited by

      Hi,

      After upgrading a pair of 2.3.4 to 2.4.1 working in cluster mode (CARP) with HAProxy installed, every synchronization will trigger that error 2 times :

      Exception calling XMLRPC method exec_php #1 : Unhandled XML_RPC2_InvalidUriException exception:Client URI 'https://admin:@:8443/xmlrpc.php' is not valid#0 /usr/local/share/pear/XML/RPC2/Backend/Php/Client.php(80): XML_RPC2_Client->__construct('https://admin:@…', Array)
      #1 /usr/local/share/pear/XML/RPC2/Client.php(238): XML_RPC2_Backend_Php_Client->_construct('https://admin:@...', Array)
      #2 /etc/inc/xmlrpc_client.inc(92): XML_RPC2_Client::create('https://admin:@...', Array)
      #3 /etc/inc/xmlrpc_client.inc(153): pfsense_xmlrpc_client->xmlrpc_internal('merge_installed...', Array, 240)
      #4 /usr/local/pkg/haproxy/haproxy_xmlrpcsyncclient.inc(55): pfsense_xmlrpc_client->xmlrpc_method('merge_installed...', Array)
      #5 /usr/local/pkg/haproxy/haproxy_xmlrpcsyncclient.inc(47): xmlrpc_sync_execute_24('HAProxy', Array, '/usr/local/pkg/...', 'haproxy_xmlrpc
      ...')
      #6 /usr/local/pkg/haproxy/haproxy.inc(2288): xmlrpc_sync_execute(Array)
      #7 /usr/local/pkg/haproxy/haproxy.inc(2308): haproxy_do_xmlrpc_sync()
      #8 /usr/local/www/xmlrpc.php(139) : eval()'d code(2): haproxy_xmlrpc_sync_configure()
      #9 /usr/local/www/xmlrpc.php(139): eval()
      #10 [internal function]: pfsense_xmlrpc_server->exec_php('require_once('/…')
      #11 /usr/local/share/pear/XML/RPC2/Server/CallHandler/Instance.php(141): call_user_func_array(Array, Array)
      #12 [internal function]: XML_RPC2_Server_Callhandler_Instance->__call('pfsense.exec_ph…', Array)
      #13 [internal function]: XML_RPC2_Server_Callhandler_Instance->pfsense.exec_php('require_once('/…')
      #14 /usr/local/share/pear/XML/RPC2/Backend/Php/Server.php(135): call_user_func_array(Array, Array)
      #15 /usr/local/share/pear/XML/RPC2/Backend/Php/Server.php(99): XML_RPC2_Backend_Php_Server->getResponse()
      #16 /usr/local/www/xmlrpc.php(555): XML_RPC2_Backend_Php_Server->handleCall()
      #17 {main} @ 2017-10-28 11:56:36

      Looks like the sync is OK because slave member is up to date in  the HA proxy UI of the slave member.

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

        Doe the secondary box have synchronization enabled in haproxy package? That should be and stay disabled.

        1 Reply Last reply Reply Quote 0
        • J
          Juve
          last edited by

          Thank you PiBa, you nailed it, the slave had the sync option enabled

          I think the sentence below the Sync option is confusing:

          Note: remember to also turn on HAProxy Sync on the backup nodes.

          ???

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

            Hi Juve,
            No idea why that sentence is there. Will remove it, thanks.

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