acs-aem-commons icon indicating copy to clipboard operation
acs-aem-commons copied to clipboard

ACS Common - Dispatcher Flush Not working

Open manishkgithub opened this issue 1 year ago • 2 comments

Required Information

  • [ ] AEM Version is 6.5.16.0
  • [ ] ACS AEM Commons Version:
  • [ ] Reproducible on Latest? yes

Dispatcher cache should get cleared, but its not working in Production environment. In lower Environment (like stage) it is working fine. It should clear the mentioned path cache.

When trying to clear dispatcher cache, we are getting error. We have 2 dispatchers which has been setup correctly in dispatcher flush configuration. When selecting invalidate cache and providing the required path which needs to be cleared, we are getting error message "An error occurred during replication. Possible issues include invalid flush path or lack or active dispatcher flush agents. Please review your Dispatcher Flush agent logs to ensure all replication requests were successfully processed."

In replication agent (author) getting below error message: Error while sending request: Java.net.ConnectException: Connection timed out (Connection timed out)

Its working fine lower environment like in stage, it is working fine and cache is getting cleared.

Checked dispatcher IPs configured in dispatcher flush and they are correct.

Steps to Reproduce

Starting from a vanilla instance of AEM at the above version, describe in explicit steps how to reproduce. Link to any supporting assets, e.g. content packages, below

image

Error_Details.docx

manishkgithub avatar Jul 16 '24 22:07 manishkgithub

Can anyone suggest what could be the issue here and how to get this ACS Common Dispatcher flush work in this case. Thanks in advance

manishkgithub avatar Jul 17 '24 18:07 manishkgithub

I assume youre triggering this from AEM Author? Can you test the flush against the AEM flush agents youre targeting, and make sure they can test OK using the AEM's replication agent UI?

Based on the error, it seems like either

  1. Your flush agents aren't pointing to the right host/IPs
  2. Something is blocking this traffic between this AEM and the Dispatcher

You do have to configure Dispatcher to allow flushing from specific IPs, but i dont think you get this error (maybe tho - its been a while).

davidjgonzalez avatar Jul 17 '24 19:07 davidjgonzalez