Dispatcher to AEM POST calls not working | Community
Skip to main content
Level 2
Mar 11, 2021 9:27 AM UTC
Solved

Dispatcher to AEM POST calls not working

Hi Team,

 

Our POST calls are not working as expected when the call goes through the dispatcher where in its working fine when the hit is made directly to publish. However when the hit comes through the dispatcher it reaches the publish instance and returned in 0ms without processing. Cannot find the root cause.

 

11/Mar/2021:10:38:17 +0300 [54339] -> POST /ab/myservlet HTTP/1.1
11/Mar/2021:10:38:17 +0300 [54339] <- 200 - 0ms

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Rohit_Utreja
Rohit_UtrejaAccepted solution
New Participant
Mar 13, 2021 2:42 PM UTC

Check the dispatcher filters.


There is a possibility that post-call starting with "/bin" has been blocked at the dispatcher so it is getting stopped at the dispatcher level and not going to the publisher.

 

You can refer to the below URL for the dispatcher configuration.

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en#using-environment-variables

 

This section is responsible for the dispatcher filters. 

 /filter
       {
       # List of filters
       }

 

5 replies

Nikhil-Kumar
New Participant
Mar 18, 2021 2:02 PM UTC

@nareshbabu - Update your filters in Dispatcher for the POST call.

Translate
Rohit_Utreja
Rohit_UtrejaAccepted solution
New Participant
Mar 13, 2021 2:42 PM UTC

Check the dispatcher filters.


There is a possibility that post-call starting with "/bin" has been blocked at the dispatcher so it is getting stopped at the dispatcher level and not going to the publisher.

 

You can refer to the below URL for the dispatcher configuration.

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en#using-environment-variables

 

This section is responsible for the dispatcher filters. 

 /filter
       {
       # List of filters
       }

 

Translate
kautuk_sahni
Employee
Mar 15, 2021 10:29 AM UTC
@rohit_utreja, thank you for sharing the answer. Really appreciate your assistance for the AEM Community. Keep it up.
Translate
Kautuk Sahni
Employee
Mar 11, 2021 4:52 PM UTC

Check if you have allowed the host making the POST call in the "Apache Sling Referrer Filter"

 

If still an issue, check the log files on AEM side when you make a request from the dispatcher to see what's going on.

 

Also, might be a good idea to change dispatcher log level to DEBUG and see if there are any headers getting blocked at dispatcher level

Translate