Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Dispacther configuration Timeout settings

Avatar

Level 4

Hi All,

 

We have dispatcher configuration in AEM and I could see renders are included in it.

 

Render configuration is something like this,

 

/0 {

/hostname  "${AUTHOR_HOST}"

/port "${AUTHOR_PORT}"

/timeout "150000"

}

 

Next, we are calling AEM servlet via Rest endpoint from 3rd party application to the Author instance

and this author instance is having the above dispatcher configuration.

 

Our Rest API returns 504 Gateway time out error and sometimes read time out error though we have set read time out and connect  time out in Rest API to 10 mins.

 

Is this because, Dispatcher has 150 seconds timeout, our API calls are getting timed out?

 

Can someone please help me in understanding if this Dispatcher configuration timeout impacts/relates to my Rest API call timeout.?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

 

The Dispatcher configuration timeout can impact Rest API call timeouts. If the API call takes longer than the Dispatcher's configured timeout (150 seconds), it will result in a 504 Gateway Timeout error. Consider increasing the Dispatcher timeout or optimizing the API processing time to avoid this issue.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi,

 

The Dispatcher configuration timeout can impact Rest API call timeouts. If the API call takes longer than the Dispatcher's configured timeout (150 seconds), it will result in a 504 Gateway Timeout error. Consider increasing the Dispatcher timeout or optimizing the API processing time to avoid this issue.