Magnolia 5.7 reached extended end of life on May 31, 2022. Support for this branch is limited, see End-of-life policy. Please note that to cover the extra maintenance effort, this EEoL period is a paid extension in the life of the branch. Customers who opt for the extended maintenance will need a new license key to run future versions of Magnolia 5.7. If you have any questions or to subscribe to the extended maintenance, please get in touch with your local contact at Magnolia.
If the author and public instances are not using the same time, you may see the following error when you publish content:
Activation refused due to request arriving too late or time not synced between author and public instance. Please contact your administrator to ensure server times are synced or the tolerance is set high enough to counter the differences.
The error is coming either from info.magnolia.publishing.command.PublicationCommand
when using the Publishing module or from info.magnolia.cms.exchange.ExchangeException
when using the Activation module.
To resolve this issue, check the system time (server time) on both instances. Configure the servers to use Network Time Protocol (NTP) so that they could use the same time and stay in sync.
If you are still getting the error, then on your public instance(s) configure:
With the Publishing module in use, a higher
publicationDelayTolerance
property:Node name Value modules
publishing-core
config
publicationDelayTolerance
60000
With the Activation module in use, a higher
activationDelayTolerance
property:Node name Value modules
activation
config
activationDelayTolerance
60000
In both cases the properties allow for a time difference between the instances. The default value is 30,000 milliseconds (30 seconds).