Hi @chinmayis865517
In AEM Forms, the guideContainer.af.submit.jsp handles adaptive form submissions. A 504 Gateway Timeout indicates that the server (AEM) didn’t receive a timely response from an upstream service or internal process.
In this case, since the error occurs mostly for users in the Australian region, it suggests network latency, dispatcher/CDN routing delays, or backend endpoint timeout issues specific to that geography rather than an AEM form logic error.
Common causes include:
- Slow or unreachable backend endpoints (SOAP/REST services, workflow, or DB integrations).
- Geo-based network latency due to CDN or load balancer configuration.
- Dispatcher or firewall timeout before the AEM Publish instance completes processing.
- Form submission size or server-side validation taking too long.
Troubleshooting and Fix:
- Check AEM error.log and access.log around submission time for the affected users.
- Verify if backend API or workflow integrations are responding slowly from Australia (use network trace or API logs).
- Review Dispatcher and load balancer timeout settings (e.g., Apache ProxyTimeout, CDN origin timeout).
- Monitor submission time in AEM to detect processing delays.
- Optionally, implement asynchronous submission or increase backend timeout thresholds for that region.
Regards,
Karishma.