Error while submitting forms via CDN | Community
Skip to main content
Level 2
September 8, 2020
Question

Error while submitting forms via CDN

  • September 8, 2020
  • 1 reply
  • 1212 views

We have created an adaptive form and we have tested that the form function normally when submitting the form directly through dispatcher. However, when we try to submit the same form through CDN (Akamai in our case), there is an issue when the system displays the guideAsyncThankYouPage. We found that the browser is trying to request for the guideAsyncThankYouPage.html with the origin server domain (dispatcher.mydomain.com) instead of the CDN domain (www.mydomain.com). Since our origin server domain only allows access from CDN, the browser request will fail.

 

The request initiator chain that we observed in the browser is as below:

- https://www.mydomain.com/content/forms/af/myform.html

  -> https://www.mydomain.com/etc.clientlibs/clientlibs/granite/jquery/granite/csrf.min.js

    -> https://www.mydomain.com/content/forms/af/myform/jcr:content/guideContainer.af.submit.jsp

      -> https://dispatcher.mydomain.com/content/forms/af/myform/jcr:content/guideContainer.guideAsyncThankYouPage.html?owner=anonymous&afSuccess....

 

We would like to see if there is any settings that we can configure in AEM such that the browser will be able to request for the guideAsyncThankYouPage.html via the CDN domain (www.mydomain.com) instead of our origin server domain (dispatcher.mydomain.com).

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

1 reply

Mayank_Gandhi
Adobe Employee
Adobe Employee
September 9, 2020
Level 2
September 16, 2020

We have tried to externalize the URL "publish https://www.mydomain.com". But unfortunately the behaviour is still the same that browser is still going to dispatcher.mydomain.com to request for the guideAsyncThankYouPage.html