Expand my Community achievements bar.

Unable to invoke /dispatcher/invalidate.cache endpoint after installing dispatcher on IIS server

Avatar

Level 3

Hi,

 

I am trying to set up dispatcher flush agent, but when I try to access /dispatcher/invalidate.cache endpoint using dispatcher url, I get a 404 error.

 

I am using AEM 6.5 with latest service pack and dispatcher version 4.3.7. Dispatcher is configured on IIS 10 server.

 

Few things which I already tired out :

1. added publish IP under /allowedClients with allow permission.

2. Added 

Allow dispatcher cache
/0093 { /type "allow" /url "/dispatcher/invalidate.cache" } under /filter in dispatcher.any

 

I can see the following error on trying to test the connect:

smrithi_govind_0-1724765240597.png

Appreciate any support from the community.

 

Regards,

Smrithi

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hi @smrithi_govind 
Please check if this helps

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-and-iis-not... 

 

can you also check if you can call url directly

curl -v -X GET "http://<dispatcher-host>/dispatcher/invalidate.cache" 



Arun Patidar

Avatar

Level 3

Hi @arunpatidar ,

 

Thanks for the response. I tried the curl command, and it gives me a 404. I wanted to add one more thing, that is, I am able to access dispatcher only using dns name added in the bindings on IIS, but not using the IP address of the server. Is it something to be worried about? 

I have also tried curl -v -X GET "http://IP address/dispatcher/invalidate.cache"  and curl -v -X GET "http://dns name/dispatcher/invalidate.cache", both returning 404. 

I can see that caching is happening correctly though.

 

Regards,

Smrithi