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

    XMLRPC Sync Failure

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    9 Posts 3 Posters 7.3k 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
      jammcla
      last edited by

      Hello,

      I just tried the latest image and I couldn't get the XMLRPC Sync to work.  I tried user name of admin and a very simple password of all letters and it failed with the following error message:

      Exception calling XMLRPC method host_firmware_version #-1 : Authentication failed: Invalid username or password @ 2017-10-05 21:36:05

      I reinstalled down to 2.3.4-release and it works with the same configuration I had in.
      Error.PNG
      Error.PNG_thumb

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

        both boxes running same 2.4 snapshot version? both boxes with http or both with https on the same port, with same password set on both?

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

          Same ISO was used to install both.  Both were clean installs.  Both using HTTPS on the default port. Both had the same password.

          pfSense-CD-2.4.0-RC-amd64-20171005-1721.iso

          After I couldn't get the clean install working i tried this:

          i got both boxes running 2.3.4_1 working successfully.

          I ran the update on both(copied from the upgrade window of one of them):

          Installed packages to be UPGRADED:
          pfSense-kernel-pfSense: 2.3.4_1 -> 2.4.0.r.20171006.0644 [pfSense-core]
          pfSense-rc: 2.3.4_1 -> 2.4.0.r.20171006.0644 [pfSense-core]

          After the update it fails to sync again:

          Exception calling XMLRPC method host_firmware_version #-1 : Authentication failed: Invalid username or password @ 2017-10-06 18:47:07

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

            I just tried upgrading to the 2.4.1 Release from a working 2.3.4 and i am still having this same issue.  I tried retyping the user/password in and still not working.

            Updated to this version on both:
            2.4.1-RELEASE (amd64)
            built on Sun Oct 22 17:26:33 CDT 2017
            FreeBSD 11.1-RELEASE-p2

            Exception calling XMLRPC method host_firmware_version #-1 : Authentication failed: Invalid username or password @ 2017-10-25 16:32:34

            How do I troubleshoot this further?

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

              What shows in the main system log on both units when this happens?

              Sync is working perfectly fine here on multiple 2.4.x clusters.

              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 0
              • P
                PiBa
                last edited by

                Using the 'admin' user? and no 'strange' characters in the password?
                So you have any special authentication options set for the webgui? LDAP or otherwise? Can the backup server properly authenticate the user against ldap? diagnostics\authenticate?

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

                  Since I am going to be out of the office for a bit, I ended up rolling back to the working snapshot on 2.3.4 for now so our test environment is working for our other IT staff.  I will try more stuff when I get back in the office.

                  It is using the admin user,  there are symbols in the password(shift of the numbers on US keyboard), no characters that require alt codes to type in.  Just using the admin account on the the pfsense box, not using any special authentication options on the pfsense boxes at all.

                  I can login successfully with no problems at all to the backup server.

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

                    One guy found that space characters where a problem i could indeed reproduce that and think i have fixed it: https://redmine.pfsense.org/issues/8032#note-1

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

                      I changed the space to an underscore and it works great now.  No idea of why it didn't work the first time when i changed it to all letters, but it is working this round after changing out the space.

                      Thanks for the help.

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