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

    Force full XMLRPC sync?

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    9 Posts 3 Posters 3.5k 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.
    • A
      ajrg
      last edited by

      Is it possible to force a full XMLRPC re-sync?

      Due to issues I have posted about in another thread, the master and backup nodes in my setup are massively out-of-sync.

      1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash
        last edited by

        Make a change on the primary and save, or go to 'high availablity sync' and save.

        1 Reply Last reply Reply Quote 0
        • A
          ajrg
          last edited by

          This doesn't work - just tired unchecking a few options in High Availability, then rechecking them. Doesn't work, nothing gets synced.

          In fact, all I get are error emails every 15 minutes or so.

          Considering flattening the lot and starting with a config backup. Something is very wrong.

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            And the error emails say what?

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • A
              ajrg
              last edited by

              Either;

              ​​An error code was received while attempting XMLRPC sync with username admin https://192.168.253.254:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 500 Internal Server Error)

              Or

              A communications error occurred while attempting XMLRPC sync with username admin https://192.168.253.254:443.

              The former appears to be a PHP crash - restarting PHP-FPM on the secondary clears this for a little while.
              The latter is the most common.

              1 Reply Last reply Reply Quote 0
              • A
                ajrg
                last edited by

                Just to add - I've re-entered the password just to be sure. Didn't make any difference.

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  If you can't diagnose what's happening on your pfsync interface with any more detail I would consider rebuilding the backup from scratch and re-syncing fresh.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • A
                    ajrg
                    last edited by

                    Quite hard to mess about while the system is in production. I've managed to secure a downtime window, so I'm gonna flatten both boxes and restore the config.

                    I'll report back once it's done!

                    1 Reply Last reply Reply Quote 0
                    • A
                      ajrg
                      last edited by

                      Okay, I flattened both nodes, reinstalled 2.2.6-RELEASE and then restored the config to the master, and just an XML with interfaces, gateways, CARP addresses and users to the secondary.

                      After setting up pfsync and XMLRPC again, it seems to be alright, but I guess time will tell!

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