Dispacther configuration Timeout settings | Community
Skip to main content
Level 3
July 31, 2023
Solved

Dispacther configuration Timeout settings

  • July 31, 2023
  • 1 reply
  • 642 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ManviSharma

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.

1 reply

ManviSharma
Adobe Employee
ManviSharmaAdobe EmployeeAccepted solution
Adobe Employee
July 31, 2023

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.