POST call to AEM servlet is getting timeout exactly after 60 seconds.
I'm getting 504 Gateway time out exception
Configuration in AEM
1. Apache fleix jetty based http service configuration timeout is 120 sec.
2. Dispatcher render timeout is set to 120 sec.
3. Additional sling connection is configured during start up
Apace sling connection timeout agent
Org.apache.sling.cta
Readtimeout 60 sec
Connection tiimeout 20 sec.
Our understanding is sling connection timeout is only for outgoing requests of AEM.
I don't see any errors in logs as well. The request processing completes. Sometimes it quickly completes the request and sometime it takes 100 seconds.
We want to understand why / because of which configuration time out is happening at 60 seconds.
We want to keep it to 120 seconds. How can we achieve this?
Thanks