Dispatcher connection timeout is 60 seconds | Need to set 180 seconds | Community
Skip to main content
pradeepd1320668
New Participant
May 11, 2021
Solved

Dispatcher connection timeout is 60 seconds | Need to set 180 seconds

  • May 11, 2021
  • 3 replies
  • 4464 views

Hi All,

 

In My application we have lot of external calls which takes more than 2 minutes sometimes to complete. 

In AEM 6.5 publisher I am not facing any issue. However in dispatcher connection timeout happens exactly in 60 seconds. I could not find any timeout setting in dispatcher where this 60 seconds is configured.

 

I need to set the timeout to 180 seconds. Where should I set the timeout to 180 seconds? so that application external calls can complete the process and user will see the expected result. 

 

Any help is highly appreciated. 

 

Thanks,

Pradeep

 

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 rampai

Hi @pradeepd1320668 ,

 

Corrected my reply.

 

As Ritesh mentioned earlier, Timeout is the property that you should be looking for. 

 

DispatcherKeepAliveTimeout is for requests to be kept open before sending in new ones.

 
Thanks,
Ram

3 replies

New Participant
January 4, 2022

Hi Pradeep,

Is your issue fixed when you changed timeout to 0?

rampai
rampaiAccepted solution
New Participant
May 12, 2021

Hi @pradeepd1320668 ,

 

Corrected my reply.

 

As Ritesh mentioned earlier, Timeout is the property that you should be looking for. 

 

DispatcherKeepAliveTimeout is for requests to be kept open before sending in new ones.

 
Thanks,
Ram
New Participant
January 4, 2022

Hi,

Is your issue fixed ?

Ritesh_Mittal
New Participant
May 11, 2021
pradeepd1320668
New Participant
May 11, 2021

We have 6.4 and 6.5 AEM environment. Everything is working fine in 6.4(publisher, dispatcher). Issue is in 6.5 dispatcher, these files are taken from 6.4 environment, no configuration changes timeout configured in both the environment is /timeout "10000". Wondering why is it failing in 6.5 dispatcher only.

Received 504 error code immediately after 1 min.