Skip to content

HA Sync not working in pfSense 2.9.0 #954

Open

Description

@hydro-b

Describe the bug
When HA Sync is enabled in the REST api it does not sync the changes to the secondary node. pfSense built-in HA sync does work with same user / password. The pfsync user has been assigned WebCfg - All pages Allow access to all pages (admin privilege) priviliges. The pfsync user was even made member of the group admins to rule out a privilege issue. I've enabled / disabled HA Sync various times, made vanity changes but none of the changes / settings were synced to the other node. Enabled / disabled the HA Sync Validate Certs although a valid LE cert for the host and GUI is active and this should just work. There is only one node the settings need to be synced to and it's IP is listed and correct. The same version of pfSense-RESTAPI-pkg has been installed on both nodes.

To Reproduce
Create a HA setup and make sure changes are replicated to standby. Install pfSense-RESTAPI-pkg on both nodes. Configure ``pfSense-RESTAPIand enableHA Sync`. Make changes on the primary node, check standby node and you will see they are not synced from primary.

Expected behavior
RESTAPI changes get correctly synced to standby node listed in the configuration.

pfSense Version & Package Version:

  • pfSense Version: pfSense 2.9.0 (all patches applied to current date)
  • Package Version v2.9.0

Affected Endpoints:

  • URL: system_restapi_settings.php

Activity

  1. jaredhendrickson13 commented on Oct 19, 2026

    @jaredhendrickson13
    Member

    Are there any logs in Status > System Logs > Packages > REST API after this occurs?

  2. added
    troubleshootingIssues that are troubleshooting requests or need troubleshooting before proceeding
    on Oct 19, 2026
  3. hydro-b commented on Oct 21, 2026

    @hydro-b
    Author

    Oct 21 19:46:39 redacted restapi[76801]: Failed to sync REST API settings to 10.0.0.2: REST API settings sync is not enabled on this host.

    On the primary node HA Sync, HA Sync Hosts, HA Username, and HA Sync Password are set. On the secondary node this is not configured. Is that a problem?

    Note: the sync user is present on the secondary node (and the same password configured).

  4. jaredhendrickson13 commented on Oct 21, 2026

    @jaredhendrickson13
    Member

    REST API v2.9.0 introduced some breaking changes to the settings sync in response to GHSA-8q8g-9f77-8g8g. One of them was the requirement for the remote peer to have the HA Sync toggle enabled before accepting sync requests. Enabling just the HA Sync toggle in the REST API settings on the remote peer should allow it to start accepting the sync requests again. HA Sync Hosts, HA Username and HA Sync Password aren't needed on remote peers. If you still have trouble getting it to work afterward let me know.

    The help text for that toggle in the UI doesn't explain this well. I'll be sure to update the help text in the documentation to make this behavior more obvious going forward.

    Thanks!

  5. hydro-b commented on Oct 22, 2026

    @hydro-b
    Author

    Ah, I see. I didn't know that / didn't read it on a place where it would have given me a hint, i.e. a note in the HA Sync description (in bold) that tells you to tick the box on the standby node also. You have acknowledged that so in the future hopefully no more reports like mine ;-).

    Thanks!

  6. linked a pull request that will close this issuev2.10.3 Fixes & Features #959on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationtroubleshootingIssues that are troubleshooting requests or need troubleshooting before proceeding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions