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
BedrockMission!

Learn More

View all

Sign in to view all badges

Dispatcher to AEM POST calls not working

Avatar

Avatar
Validate 1
Level 1
NareshBabu
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
NareshBabu
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
NareshBabu
Level 1

11-03-2021

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

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Level 4
Rohit_Utreja
Level 4

Likes

44 likes

Total Posts

45 posts

Correct Reply

15 solutions
Top badges earned
Establish
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Establish
Level 4
Rohit_Utreja
Level 4

Likes

44 likes

Total Posts

45 posts

Correct Reply

15 solutions
Top badges earned
Establish
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Rohit_Utreja
Level 4

13-03-2021

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-c...

 

This section is responsible for the dispatcher filters. 

 /filter
       {
       # List of filters
       }

 

Answers (2)

Answers (2)

Avatar

Avatar
Boost 250
MVP
Nikhil-Kumar
MVP

Likes

251 likes

Total Posts

262 posts

Correct Reply

38 solutions
Top badges earned
Boost 250
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Boost 250
MVP
Nikhil-Kumar
MVP

Likes

251 likes

Total Posts

262 posts

Correct Reply

38 solutions
Top badges earned
Boost 250
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile
Nikhil-Kumar
MVP

18-03-2021

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

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

11-03-2021

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