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

Sync not working

Scheduled Pinned Locked Moved HA/CARP/VIPs
9 Posts 3 Posters 836 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
    jeffsmith82
    last edited by Nov 2, 2023, 10:55 AM

    I have two server both running "2.6.0-RELEASE (amd64)" recently it appears as though the sync has broken when it was working before.

    I have created a heartbeat interface on both machines and there is a single cable connecting them both together each with these IP addresses

    fire01 = 192.168.199.11/24
    fire02 = 192.168.199.12/24

    A communications error occurred while attempting to call XMLRPC method host_firmware_version: Unable to connect to tls://192.168.199.12:443. Error: Operation timed out @ 2023-11-01 21:03:16
    

    Both servers have allow all IPv4 traffic on the Heartbeat interface so shouldn't be that. I also cant ping between the IP's from one to other in both directions. They are both showing as UP on the UI.

    The secondary firewall wont allow me to connect remotely over the WAN or ping either though the LAN interface works fine so i can connect to the UI. There are rules inplace to allow this.

    This was all working until recently, any suggestions on how to diagnose whats wrong here?

    V S 2 Replies Last reply Nov 2, 2023, 7:19 PM Reply Quote 0
    • V
      viragomann @jeffsmith82
      last edited by Nov 2, 2023, 7:19 PM

      @jeffsmith82
      Did you change the password of the Sync user?
      If so you have to update it on both devices.

      To ensure that the rule for the sync is applied, enable logging in its settings.

      J 1 Reply Last reply Nov 2, 2023, 9:30 PM Reply Quote 0
      • J
        jeffsmith82 @viragomann
        last edited by Nov 2, 2023, 9:30 PM

        @viragomann The sync password was changed. It has been updated on both devices and in the HA settings.

        Not sure what logging your saying to switch on can you point us at it.

        V 1 Reply Last reply Nov 2, 2023, 10:40 PM Reply Quote 0
        • S
          SteveITS Galactic Empire @jeffsmith82
          last edited by Nov 2, 2023, 10:37 PM

          @jeffsmith82 said in Sync not working:

          cant ping

          Can or can't?

          When I've set it up I use LAN to sync the config and leave the sync interface for only states. Also of note in my experience even though pfSense has a field for a sync username it only actually ever uses "admin." At least, last I tried.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          J 1 Reply Last reply Nov 3, 2023, 7:30 AM Reply Quote 0
          • V
            viragomann @jeffsmith82
            last edited by Nov 2, 2023, 10:40 PM

            @jeffsmith82
            Ensure that the password is correct on both. Update it at first on the secondary, then on the primary.

            I was talking about logging the filter rule on the secondary's sync interface. So you can see if the packets even reach the interface.

            1 Reply Last reply Reply Quote 0
            • J
              jeffsmith82 @SteveITS
              last edited by Nov 3, 2023, 7:30 AM

              @SteveITS It cant ping. We change the admin username every time someone leaves which became a bit of a pain with syncing. It used to force you to use the admin account until a relativity recent version of pfsense. I have the sync user on it's own interface working on other machines running 2.6 as well.

              Will switch on logging and see if any traffic is being sent across the interface.

              V S 2 Replies Last reply Nov 3, 2023, 11:42 AM Reply Quote 0
              • V
                viragomann @jeffsmith82
                last edited by Nov 3, 2023, 11:42 AM

                @jeffsmith82 said in Sync not working:

                We change the admin username every time someone leaves which became a bit of a pain with syncing. It used to force you to use the admin account until a relativity recent version of pfsense.

                Yeah, you should rather use a special sync user for doing the sync. Just need to grant him the "System - HA node sync" privilege.
                There would not be any need to change his password then.

                It cant ping.

                However, if you can't ping the secondary even it is allowed it might not be due to user authentication. So I would rather check the firewall rules (and enable logging as mentioned, also enable logging of the default deny rule in the log settings), a misconfigurated network or a hardware issue (cable).
                Maybe you can post screens of your rules and some more related log lines.

                J 1 Reply Last reply Nov 3, 2023, 12:56 PM Reply Quote 0
                • J
                  jeffsmith82 @viragomann
                  last edited by Nov 3, 2023, 12:56 PM

                  @viragomann Think the pfsense setup is fine. The 2 interfaces that are not working are on the same nic so assuming the nic is borked and will replace it.

                  1 Reply Last reply Reply Quote 0
                  • S
                    SteveITS Galactic Empire @jeffsmith82
                    last edited by Nov 3, 2023, 2:13 PM

                    @jeffsmith82 said in Sync not working:

                    used to force you to use the admin account until a relativity recent version

                    Oh, good to know, thanks.

                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                    Upvote 👍 helpful posts!

                    1 Reply Last reply Reply Quote 0
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received