[AF] [AEM-AF-901-004]: Encountered an internal error while submitting the form

Avatar

Avatar

dilips50359074

Avatar

dilips50359074

dilips50359074

09-08-2020

CustomSubmit_Action.pngCustomSubmit_Action.png

 

Hi AEM Adaptive form Guru's

Highlighted in red is where I am getting error when browser from dispatcher

 

Note: I have checked similar questions in AEM forums and it is not helping resolve the issue.

 

Environment : AEM 6.5 

Author | Publish | Dispatcher  environment

Adaptive form works in Author | Adaptive form works in publish | Error when click on submit in AF when I use hostname (from Dispatcher)

[AF] [AEM-AF-901-004]: Encountered an internal error while submitting the form

 

Accessing adaptive form from Dispatcher using the hostname does not work.  When I click on submit in the AF form  I get the following error.  I have just used on textbox and one submit button in AF(Adaptive form) 

 

When I check the Network/Console of the browser I see the following errors

Post http:/sdfjlsjflsjdlfsfd.com/content/forms/af/wtc/testing/jcr:content/guideContainer.af.internalsubmi... 404 (Not Found)

I have commented whole of dispatcher filter file and allowed everything, still I get the internal error.

Did anyone face this issue.  

Let me know if you need any additional information.

 

Regards

Dilip

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

12-08-2020

workflowuser_0-1597245584283.png

That is my settings for Apache Sling Referrer Filter

suggest you log a support ticket to get this resolved. 

 

Answers (7)

Answers (7)

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

12-08-2020

@dilips50359074 Lets start with the basic test here, does Out of the box email submit works on dispatcher? Also, test if Form portal submit action works

Avatar

Avatar

GirishBedekar

Avatar

GirishBedekar

GirishBedekar

10-08-2020

It works author instance and your publish instance?

 

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

10-08-2020

also can you confirm if you have servlet mounted on /bin/storeafsubmission path. can you check by using the servlet resolver from web console

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

10-08-2020

can you put a simple System.out.println statement in your jsp and see if that is being written to AEM server log

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

10-08-2020

Can you provide the screen shot of your form submission configuration?

also can you check your dispatcher logs?

grep -i "internal" error_log-20200810 (no results)

grep -i "interal" dispatcher.log

[Sun Aug 09 21:32:09 2020] [I] [pid 23745] "POST /content/forms/af/wtc/contact-us/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 8ms [publishfarm/-] [Sun Aug 09 21:32:12 2020] [I] [pid 23745] "POST /content/forms/af/wtc/contact-us/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 8ms [publishfarm/-] [Sun Aug 09 21:40:33 2020] [I] [pid 23509] "POST /content/forms/af/wtc/basicform/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 7ms [publishfarm/-] [Sun Aug 09 21:40:37 2020] [I] [pid 23509] "POST /content/forms/af/wtc/basicform/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 7ms [publishfarm/-] [Sun Aug 09 21:40:41 2020] [I] [pid 23509] "POST /content/forms/af/wtc/basicform/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 8ms [publishfarm/-] [Sun Aug 09 22:44:26 2020] [I] [pid 118904] "GET /etc.clientlibs/wtc/clientlibs/resources/icons/svg/InternalIcon_Black.svg" - - 0ms [publishfarm/-] [Sun Aug 09 22:44:26 2020] [I] [pid 23647] "GET /etc.clientlibs/wtc/clientlibs/resources/icons/svg/InternalIcon_White.svg" - - 1ms [publishfarm/-] [Sun Aug 09 22:44:35 2020] [I] [pid 23742] "POST /content/forms/af/wtc/contact-us/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 8ms [publishfarm/-] [Sun Aug 09 22:44:48 2020] [I] [pid 23647] "POST /content/forms/af/wtc/contact-us/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 8ms [publishfarm/-] [Mon Aug 10 00:30:32 2020] [I] [pid 15214] "GET /etc.clientlibs/wtc/clientlibs/resources/icons/svg/InternalIcon_Black.svg" - - 0ms [publishfarm/-] [Mon Aug 10 00:30:32 2020] [I] [pid 15214] "GET /etc.clientlibs/wtc/clientlibs/resources/icons/svg/InternalIcon_White.svg" - - 0ms [publishfarm/-] [Mon Aug 10 00:30:49 2020] [I] [pid 15593] "POST /content/forms/af/wtc/contact-us/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 9ms [publishfarm/-] [Mon Aug 10 00:48:55 2020] [I] [pid 118904] "POST /content/forms/af/wtc/testing/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 9ms [publishfarm/-] [Mon Aug 10 00:49:23 2020] [I] [pid 15214] "POST /content/forms/af/wtc/testing/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 7ms [publishfarm/-] [Mon Aug 10 00:49:39 2020] [I] [pid 10255] "POST /content/forms/af/wtc/testing/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 8ms [publishfarm/-] [Mon Aug 10 02:08:20 2020] [I] [pid 23750] "POST /content/forms/af/wtc/testing/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 11ms [publishfarm/-] [Mon Aug 10 02:32:59 2020] [I] [pid 31733] "POST /content/forms/af/wtc/testing/jcr:content/guideContainer.af.internalsubmit.jsp" ! - 8ms [publishfarm/-]

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

10-08-2020

what is your submit action configured to?

Avatar

Avatar

GirishBedekar

Avatar

GirishBedekar

GirishBedekar

09-08-2020

What is your web server?