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

    2.5.1-RELEASE -> 2.5.2rc : XMLRPC method restore_config_section

    Scheduled Pinned Locked Moved 2.5.2 Release Candidate Snapshots (Retired)
    11 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.
    • L
      Luca De Andreis
      last edited by

      Hi all,
      I've two pfsense virtual nodes on 2.5.1-RELEASE.
      Cluster running on management 8443 (not standard).
      Work fine, no error, no alert.

      I've tried to update to 2.5.2.r.20210615.1851 and... ONLY when I switch:

      Enter Persistent CARP Maintenance Mode <> Leave Persistent CARP Maintenance Mode

      I can see an alert:
      A communications error occurred while attempting to call XMLRPC method restore_config_section:

      Any idea ?
      I repeat, on 2.5.1-RELEASE works correctly

      Very thanks

      1 Reply Last reply Reply Quote 0
      • L
        Luca De Andreis
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          At first I couldn't reproduce it, but now I can every time. Not sure what changed. It didn't show up in the logs or notices initially, but after I restarted php (16/11 from the console) it was logged.

          I noticed that the error message was incomplete. I managed to fix that up but it isn't terribly helpful:

          Jun 16 10:49:20 	php-fpm 	66863 	/rc.filter_synchronize: New alert found: A communications error occurred while attempting to call XMLRPC method restore_config_section: Error writing request 
          

          I checked out the request body and it is the whole config sync, though I checked and the configuration is syncing.

          On the target system, the XMLRPC lock file in /tmp/xmlrpc.lock is left, so something on the secondary node must be bailing before it finishes the sync process.

          There is nothing in the logs on the secondary, however, to indicate a problem.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          J 1 Reply Last reply Reply Quote 0
          • J
            juliokele @jimp
            last edited by

            same Alert after "Leave Persistent CARP Maintenance Mode":

            A communications error occurred while attempting to call XMLRPC method restore_config_section: @ 2021-06-16 18:57:20
            A communications error occurred while attempting to call XMLRPC method restore_config_section: @ 2021-06-16 18:57:21
            

            2.5.2-RC (amd64)
            built on Tue Jun 15 18:52:47 EDT 2021
            FreeBSD 12.2-STABLE

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              How many users do you have on that cluster in the System > User Manager?

              Which configuration sections are you having it synchronize?

              We're still looking into the cause of the errors but so far I'm the only one able to replicate it, and even then it only happens some of the time. It's very inconsistent.

              The XMLRPC sync has a built-in retry mechanism and it almost always succeeds by the second try for me. Though the logs and notices are annoying, it is working.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              J 1 Reply Last reply Reply Quote 0
              • J
                juliokele @jimp
                last edited by juliokele

                @jimp
                two users in User Manager, all options are selected under Configuration Synchronization Settings (XMLRPC Sync). pfBlocker, suricata, haproxy settings are synchronized.

                1 Reply Last reply Reply Quote 0
                • L
                  Luca De Andreis
                  last edited by

                  Two users in User Manager, all options are selected, no additional packages installed.
                  Yes is very inconsistent, the problem does not always arise.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    I tried some older snapshots and the problem started between 20210609-0300 and 20210610-1655.

                    I have been able to narrow this down further to a single package update:

                    php74-pear-HTTP_Request2: 2.3.0,1 -> 2.4.2,1
                    

                    If I go back to a working snapshot and update only that one package, the XMLRPC request starts failing again.

                    So we are going to roll that version back in our repository to get things working again, and investigate the problem in more depth after 2.5.2.

                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 2
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      The newest RC build is up now and it includes the workaround for this. It's been solid for me, I'm unable to make the sync fail now.

                      When you get a chance, update and try it out.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      L J 2 Replies Last reply Reply Quote 1
                      • L
                        Luca De Andreis @jimp
                        last edited by

                        @jimp
                        Yes, release 2.5.2.r.20210617.1709 works great !!!!

                        1 Reply Last reply Reply Quote 1
                        • J
                          juliokele @jimp
                          last edited by

                          @jimp
                          Yes, it works.

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