Instances are not in sync
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 from
info.magnolia.publishing.command.PublicationCommand
when using the
Publishing 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 a higher publicationDelayTolerance
property:
The property allows for a time difference between the instances. The default value is 30,000 milliseconds (30 seconds).