Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Published Adaptive Form Does Not Send Out E-Mail

weimingh6336734
Level 2
Level 2

We have an adaptive form that sends out an e-mail on submission.  It is part of a flow, the form works as intended when the page is in edit mode, i.e with the "editor.html" in the URL localhost:4502/editor.html/content/formname.html in the author instance.  But when we publish the form to localhost:4503/content/formname.html the e-mail is not being sent.  It looks like the data binding stops working on the published forms as well.  Can you please help?

8 Replies
weimingh6336734
Level 2
Level 2

Just to give more information about about our current setup we have an Azure instance for Author and Publish, in the Author /editor/html/content/formname.html works, but /content/formname.html does not work.  In Publish /content/formname.html does not work.  When I say work I mean the e-mail is sent out after I click the "Submit" button on the form.

Mayank_Gandhi
Community Advisor
Community Advisor

Have you configured the mail service on your publish?

The default mail service is required for both notifications and subscriptions.

workflowuser
Employee
Employee

Is the mail server accessible fromnyour publish instance

can you ping the exchange server and verify?

Mayank_Gandhi
Community Advisor
Community Advisor

Please share the error logs and snippet from the browser console.

weimingh6336734
Level 2
Level 2

Yes, it is accessible and able to send email from the publish instance which is hosted on the same server with different port.

Could it be that the e-mail is working but the Adaptive Forms workflow only works in edit mode?

weimingh6336734
Level 2
Level 2

This is what is showing on our error log, mostly SSL related.

LevelDate / TimeMessage

[ERROR]

2019-09-23
09:34:31

Failed to validate URL http://www.adobe.com/go/learn_aemforms_install_65: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-23
08:34:31

Failed to validate URL http://www.adobe.com/go/learn_aemforms_install_65: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-23
07:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

com.adobe.granite.crypto.CryptoException: Cannot convert byte data
at com.adobe.granite.crypto.internal.CryptoSupportImpl.unprotect(CryptoSupportImpl.java:130)
at com.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel.getRefreshToken(OAuthConfigSlingModel.java:101)
at com.adobe.forms.foundation.oauth.service.impl.RefreshTokenSchedulerImpl.getAllCloudConfigs(RefreshTokenSchedulerImpl.java:133)
at com.adobe.forms.foundation.oauth.service.impl.RefreshTokenSchedulerImpl$1.run(RefreshTokenSchedulerImpl.java:113)
at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:347)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.adobe.granite.crypto.CryptoException: Failed decrypting cipher text
at com.adobe.granite.crypto.internal.CryptoSupportImpl.decrypt(CryptoSupportImpl.java:66)
at com.adobe.granite.crypto.internal.CryptoSupportImpl.unprotect(CryptoSupportImpl.java:127)
... 8 common frames omitted
Caused by: com.rsa.jsafe.JSAFE_PaddingException: Invalid padding.
at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
at com.adobe.granite.crypto.internal.jsafe.JSafeCryptoSupport.getPlainText(JSafeCryptoSupport.java:267)
at com.adobe.granite.crypto.internal.jsafe.JSafeCryptoSupport.getPlainText(JSafeCryptoSupport.java:249)
at com.adobe.granite.crypto.internal.CryptoSupportImpl.decrypt(CryptoSupportImpl.java:64)
... 9 common frames omitted

[ERROR]

2019-09-23
07:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-23
06:34:31

Failed to validate URL http://www.adobe.com/go/learn_aemforms_install_65: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-23
04:34:31

Failed to validate URL http://www.adobe.com/go/learn_aemforms_install_65: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-23
02:34:31

Failed to validate URL http://www.adobe.com/go/marketingcloud_terms_of_use: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-23
01:34:34

Failed to validate URL http://www.adobe.com/go/marketingcloud_terms_of_use: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-23
00:34:31

Failed to validate URL http://www.adobe.com/go/marketingcloud_terms_of_use: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-23
00:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-23
00:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-22
21:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-22
21:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-22
15:34:50

Failed to validate URL https://use.typekit.net/dje4ayd.js: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-22
15:34:31

Failed to validate URL http://www.adobe.com/go/marketingcloud_privacy: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-22
14:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-22
14:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-22
07:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-22
07:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-22
01:34:50

Failed to validate URL https://marketing.adobe.com/resources/help/en_US/home/: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-22
01:34:31

Failed to validate URL http://www.adobe.com/go/learn_aemforms_install_65: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-22
00:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-22
00:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-21
23:34:51

Failed to validate URL https://marketing.adobe.com/resources/help/en_US/home/: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-21
23:34:31

Failed to validate URL http://www.adobe.com/go/learn_aemforms_install_65: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-21
21:34:31

Failed to validate URL http://www.adobe.com/go/marketingcloud_terms_of_use: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-21
21:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-21
21:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-21
20:34:31

Failed to validate URL http://www.adobe.com/go/marketingcloud_terms_of_use: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-21
14:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-21
14:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-21
12:34:50

Failed to validate URL https://use.typekit.net/dje4ayd.js: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-21
12:34:31

Failed to validate URL http://www.adobe.com/go/marketingcloud_privacy: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-21
07:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-21
07:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-21
00:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

[ERROR]

2019-09-21
00:00:00

Refresh Token not present for: /conf/global/settings/cloudconfigs/fdm/ms-dynamics-odata-cloud-service/jcr:contentcom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

[ERROR]

2019-09-20
21:34:50

Failed to validate URL https://marketing.adobe.com/resources/help/en_US/home/: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-20
21:34:31

Failed to validate URL http://www.adobe.com/go/learn_aemforms_install_65: javax.net.ssl.SSLException: Connection resetcom.day.cq.rewriter.linkchecker.impl.LinkCheckerTask

[ERROR]

2019-09-20
21:00:00

Error while decrypting the Refresh Tokencom.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel

Stack Trace

com.adobe.granite.crypto.CryptoException: Cannot convert byte data
at com.adobe.granite.crypto.internal.CryptoSupportImpl.unprotect(CryptoSupportImpl.java:130)
at com.adobe.forms.foundation.oauth.model.OAuthConfigSlingModel.getRefreshToken(OAuthConfigSlingModel.java:101)
at com.adobe.forms.foundation.oauth.service.impl.RefreshTokenSchedulerImpl.getAllCloudConfigs(RefreshTokenSchedulerImpl.java:133)
at com.adobe.forms.foundation.oauth.service.impl.RefreshTokenSchedulerImpl$1.run(RefreshTokenSchedulerImpl.java:113)
at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:347)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.adobe.granite.crypto.CryptoException: Failed decrypting cipher text
at com.adobe.granite.crypto.internal.CryptoSupportImpl.decrypt(CryptoSupportImpl.java:66)
at com.adobe.granite.crypto.internal.CryptoSupportImpl.unprotect(CryptoSupportImpl.java:127)
... 8 common frames omitted
Caused by: com.rsa.jsafe.JSAFE_PaddingException: Invalid padding.
at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
at com.adobe.granite.crypto.internal.jsafe.JSafeCryptoSupport.getPlainText(JSafeCryptoSupport.java:267)
at com.adobe.granite.crypto.internal.jsafe.JSafeCryptoSupport.getPlainText(JSafeCryptoSupport.java:249)
at com.adobe.granite.crypto.internal.CryptoSupportImpl.decrypt(CryptoSupportImpl.java:64)
... 9 common frames omitted

Mayank_Gandhi
Community Advisor
Community Advisor

is it possible to share a sample package of form with us?