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

    HASync configuration sync without SSL

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    2 Posts 2 Posters 626 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.
    • Q
      quantumx
      last edited by

      For some time I've been having trouble syncing configuration to HA peers over a non-ssl management connection.

      The system logs the following error:

      /rc.filter_synchronize: XML_RPC_Client: Connection to RPC server a.b.c.d:80 failed. Unable to find the socket transport "http" - did you forget to enable it when you configured PHP? 103

      To work around the problem, I've modified /etc/inc/xmlrpc_client.inc ~line 748 from:

        } elseif ($match[1] == 'http://') {
                  $this->server = $match[2];
                  if ($port) {
                      $this->port = $port;
                  }
      
      

      to

        } elseif ($match[1] == 'http://') {
                  $this->server = $match[2];
                  $this->protocol = 'tcp://';
                  if ($port) {
                      $this->port = $port;
                  }
      
      

      Is this broken for others as well?

      1 Reply Last reply Reply Quote 0
      • rbgargaR
        rbgarga Developer Netgate Administrator
        last edited by

        I pushed a fix. Thanks!

        Renato Botelho

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