Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

AEM publish instance could not connect with dispatcher module - 404 response


Level 7

I am trying to setup dispatahcer setup in mac. I followed all the steps as per the documentation. When I try to access http://localhost/content/we-retail/us/en.html it is giving 404 response. When I try to check replication status I get "Not Found"




Apache log:-

==> access_log <==
::1 - - [27/Jun/2022:22:38:40 +0530] "GET /content/we-retail/us/en.html HTTP/1.1" 404 196 - - [27/Jun/2022:22:40:18 +0530] "GET /dispatcher/invalidate.cache HTTP/1.1" 404 196



Can anyone tell what could be the reason ?


Dispatcher version - 4.3.5

Apache version - 2.4

AEM version - 6.5



5 Replies


Community Advisor

Hi @Mario248 ,

Use Dispatcher SDK, with docker it's very easy to follow just few simple steps.

Adobe Docs:

Hope that helps!




Level 7

Is this support AEM 6.5? or is it specific to AEM SDK?


Community Advisor

Hi @Mario248 If you are not able access http://localhost/content/we-retail/us/en.html ie you dispatcher configurations are still missing something. Please check access and error logs.  
For dispatcher flush agent, check /allowedClients, you local IP should be allowed. Check dispatcher logs for this. Once you test connection, you must see an entry in dispatcher logs(if your apache/dispatcher working properly). You can see in dispatcher logs which Farm is being used. 
Check this, If this can help -


Level 7

Thanks. I followed the video. it helped but I see "Connection Refused Error" .


When I check apache with "apachectl configtest", I get below error


so:error] [pid 8913] AH06665: No code signing authority for module at /private/libexec/apache2/ specified in LoadModule directive.
httpd: Syntax error on line 191 of /private/etc/apache2/httpd.conf: Code signing absent - not loading module at: /private/libexec/apache2/


Can you help me on below things, 


1. Checked the permission for /private/libexec/apache2 and ensured it is allowed in "Secuirty and Privacy". What else to check to resolve this issue?

2. Why am I not seeing dispatcher.log in /private/var/log/apache2. But I see error.log and access.log. Any reason? Verified the permission for my username.



Hi @Mario248,

Can you share the httpd.conf and dispatcher.any file? And also check on the dispatcher.any and see if the /allowedClients property is updated correctly, it should have the ip of publish server and do check the docroot configuration as well.