Expand my Community achievements bar.

Facing issue in Asset Share Link

Avatar

Employee

Hi, I want to share the asset using the "Share Link" option, I am also referring the below link from official documentation - https://experienceleague.adobe.com/docs/experience-manager-64/assets/administer/link-sharing.html?la...
Then, I am creating a user and providing the mail id like below and this user has the permission for "/var/dam/share" as suggested in the blog.

vikas3_0-1678778622241.pngvikas3_2-1678778804997.png

Also, I have done the "Day CQ Mail Service" configuration and below is the snap for it.

vikas3_1-1678778729772.png
Now, after this when I try to share the asset I get below error(s).

vikas3_3-1678778965208.png

 

 

 

 

 

 

7 Replies

Avatar

Employee

Adding the error log here in a separate message due to character limit.

 

14.03.2023 12:58:57.364 *ERROR* [[0:0:0:0:0:0:0:1] [1678778916284] POST /content/dam/first-demo/cat.jpg.adhocassetshare.html HTTP/1.1] com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareServlet Error while sharing assets
com.day.cq.mailer.MailingException: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465
	at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:339) [com.day.cq.cq-mailer:5.14.3.B0006]
	at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:50) [com.day.cq.cq-mailer:5.14.3.B0006]
	at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareServlet.sendShareEmail(AdhocAssetShareServlet.java:553) [com.day.cq.dam.cq-dam-core:5.12.342]
	at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareServlet.doPost(AdhocAssetShareServlet.java:372) [com.day.cq.dam.cq-dam-core:5.12.342]
	at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:146) [org.apache.sling.api:2.22.0]
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342) [org.apache.sling.api:2.22.0]
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374) [org.apache.sling.api:2.22.0]
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:574) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:156) [com.day.cq.wcm.cq-wcm-core:5.12.206]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375) [com.day.cq.wcm.cq-wcm-core:5.12.206]
	at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190) [com.day.cq.wcm.cq-wcm-core:5.12.206]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91) [com.day.cq.wcm.cq-wcm-core:5.12.206]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94) [com.day.cq.cq-personalization:5.12.48]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:283) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.cq.dam.webdav.impl.io.DamWebdavRequestFilter.doFilter(DamWebdavRequestFilter.java:132) [com.day.cq.dam.dam-webdav-support:1.4.6]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:109) [com.day.cq.wcm.cq-wcm-core:5.12.206]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet.doFilter(SaferSlingPostServlet.java:126) [com.adobe.cq.social.cq-social-ugcbase-impl:2.5.3]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler.doFilter(AdhocAssetShareAuthHandler.java:440) [com.day.cq.dam.cq-dam-core:5.12.342]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.dam.core.impl.servlet.DamContentDispositionFilter.doFilter(DamContentDispositionFilter.java:104) [com.day.cq.dam.cq-dam-core:5.12.342]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.dam.core.impl.servlet.ActivityRecordHandler.doFilter(ActivityRecordHandler.java:141) [com.day.cq.dam.cq-dam-core:5.12.342]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.granite.rest.impl.servlet.ApiResourceFilter.doFilter(ApiResourceFilter.java:70) [com.adobe.granite.rest.api:1.1.16.CQ650-B0005]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.granite.requests.logging.impl.RequestLoggerImpl.doFilter(RequestLoggerImpl.java:134) [com.adobe.granite.requests.logging:1.0.20]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter.doFilter(AssetContentDispositionFilter.java:96) [com.adobe.granite.rest.assets:1.0.58]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.java:394) [com.day.cq.wcm.cq-wcm-core:5.12.206]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:248) [com.day.cq.wcm.cq-wcm-mobile-core:5.11.10]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.aem.firstdemo.core.filters.LoggingFilter.doFilter(LoggingFilter.java:58) [first-demo.core:1.0.0.SNAPSHOT]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.livecycle.content.appcontext.impl.AppContextFilter.doFilter(AppContextFilter.java:69) [com.adobe.livecycle.content.core-bundle:6.0.48]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:110) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.livecycle.dsc.clientsdk.internal.ResourceResolverHolderFilter.doFilter(ResourceResolverHolderFilter.java:37) [com.adobe.livecycle.dsc.clientsdk:3.0.4]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.cq.social.commons.cors.CORSAuthenticationFilter.doFilter(CORSAuthenticationFilter.java:91) [com.adobe.cq.social.cq-social-commons:1.10.83]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226) [com.day.cq.wcm.cq-wcm-foundation:5.12.56]
	at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:138) [com.day.cq.wcm.cq-wcm-foundation:5.12.56]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:76) [com.adobe.granite.optout:1.0.0]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226) [com.day.cq.wcm.cq-wcm-foundation:5.12.56]
	at com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet.doFilter(CoreFormHandlingServlet.java:127) [com.adobe.cq.core.wcm.components.core:2.8.0]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.fd.core.security.internal.CurrentUserServiceImpl.doFilter(CurrentUserServiceImpl.java:114) [adobe-aemfd-core-security:3.0.110]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90) [com.day.cq.wcm.cq-wcm-core:5.12.206]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.cq.history.impl.HistoryRequestFilter.doFilter(HistoryRequestFilter.java:122) [com.adobe.cq.cq-history:5.10.6]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:87) [org.apache.sling.rewriter:1.2.2]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:81) [com.adobe.granite.httpcache.core:1.0.8]
	at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:60) [com.adobe.granite.httpcache.core:1.0.8]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131) [org.apache.sling.i18n:2.5.14]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:217) [com.adobe.granite.csrf:1.0.20.CQ650-B0002]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.security.impl.ContentDispositionFilter.doFilter(ContentDispositionFilter.java:152) [org.apache.sling.security:1.1.16]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) [org.apache.sling.engine:2.7.10.B0002]
	at com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl.doFilter(ResourceResolverHelperImpl.java:83) [com.adobe.granite.resourceresolverhelper:1.0.4]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:151) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:250) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:123) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:86) [org.apache.felix.http.jetty:4.1.12]
	at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308) [com.adobe.granite.license:1.2.10]
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131) [org.apache.sling.i18n:2.5.14]
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) [org.apache.sling.featureflags:1.2.2]
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:73) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.doFilter(RequestParameterSupportConfigurer.java:67) [org.apache.sling.engine:2.7.10.B0002]
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.Dispatcher$1.doFilter(Dispatcher.java:152) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1002) [org.apache.felix.http.jetty:4.1.12]
	at com.adobe.granite.auth.oauth.impl.OAuthCallbackFilter.doFilter(OAuthCallbackFilter.java:69) [com.adobe.granite.auth.oauth:1.7.2]
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.12]
	at com.adobe.granite.auth.ims.impl.IMSClusterExchangeTokenPreprocessor.doFilter(IMSClusterExchangeTokenPreprocessor.java:281) [com.adobe.granite.auth.ims:1.3.12.CQ650-B0014]
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:326) [org.apache.sling.security:1.1.16]
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:97) [org.apache.felix.http.sslfilter:1.2.6]
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.invokePreprocessors(WhiteboardManager.java:1012) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:94) [org.apache.felix.http.jetty:4.1.12]
	at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49) [org.apache.felix.http.jetty:4.1.12]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [org.apache.felix.http.servlet-api:1.1.2]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.Server.handle(Server.java:516) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) [org.apache.felix.http.jetty:4.1.12]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) [org.apache.felix.http.jetty:4.1.12]
	at java.base/java.lang.Thread.run(Thread.java:834)

 

Avatar

Employee

******************  Later half of the ERROR log file *******************************

Caused by: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1469) [org.apache.commons.email:1.5.0]
at org.apache.commons.mail.Email.send(Email.java:1496) [org.apache.commons.email:1.5.0]
at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:336) [com.day.cq.cq-mailer:5.14.3.B0006]
... 149 common frames omitted
Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 465; timeout 60000
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2209) [javax.mail:1.6.2]
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:740) [javax.mail:1.6.2]
at javax.mail.Service.connect(Service.java:388) [javax.mail:1.6.2]
at javax.mail.Service.connect(Service.java:246) [javax.mail:1.6.2]
at javax.mail.Service.connect(Service.java:195) [javax.mail:1.6.2]
at javax.mail.Transport.send0(Transport.java:254) [javax.mail:1.6.2]
at javax.mail.Transport.send(Transport.java:124) [javax.mail:1.6.2]
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1459) [org.apache.commons.email:1.5.0]
... 151 common frames omitted
Caused by: java.net.ConnectException: Connection timed out: connect
at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method)
at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:608)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:357) [javax.mail:1.6.2]
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:217) [javax.mail:1.6.2]
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2175) [javax.mail:1.6.2]
... 158 common frames omitted
2023-03-14 12:59:00.000 DEBUG [com.aem.firstdemo.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''
2023-03-14 12:59:00.000 DEBUG [com.aem.firstdemo.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''
2023-03-14 12:59:30.013 DEBUG [com.aem.firstdemo.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''
2023-03-14 12:59:30.013 DEBUG [com.aem.firstdemo.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''
14.03.2023 12:59:31.468 *INFO* [sling-cq-polling-importer-3-myDataSource] com.day.cq.polling.importer.impl.PollingImporterImpl importData: Importing data from livefyreRightsImporter:myDataSource to /etc/importers/polling/livefyre-poller/jcr:content as polling-importer-service by com.adobe.social.integrations.livefyre.livefyreAssetImporter.impl.LivefyreRightsRequestPoller@b09729a
2023-03-14 12:59:36.674 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/granite/ui/content/shell/header/actions/pulse, with selector data
2023-03-14 12:59:36.674 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/granite/ui/content/shell/header/actions/pulse, with selector data
2023-03-14 12:59:40.385 DEBUG [com.aem.firstdemo.core.listeners.SimpleResourceListener] Resource event: org/apache/sling/api/resource/Resource/CHANGED at: /var/eventing/jobs/assigned/9a21552c-09e7-4675-8b32-7ba664be52f5/com.day.cq.replication.job.publish/2023/3/8/15/37/9a21552c-09e7-4675-8b32-7ba664be52f5_22
2023-03-14 12:59:40.385 DEBUG [com.aem.firstdemo.core.listeners.SimpleResourceListener] Resource event: org/apache/sling/api/resource/Resource/CHANGED at: /var/eventing/jobs/assigned/9a21552c-09e7-4675-8b32-7ba664be52f5/com.day.cq.replication.job.publish/2023/3/8/15/37/9a21552c-09e7-4675-8b32-7ba664be52f5_22
14.03.2023 12:59:40.386 *INFO* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish.queue Processing job for agent publish
14.03.2023 12:59:40.386 *INFO* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Create new HttpClient for Default Agent
14.03.2023 12:59:40.386 *INFO* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish * Auth User: admin
14.03.2023 12:59:40.386 *INFO* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish * HTTP Version: 1.1
14.03.2023 12:59:40.386 *INFO* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish * Connect Timeout: 900000
14.03.2023 12:59:40.386 *INFO* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish * Socket Timeout: 900000
14.03.2023 12:59:40.387 *INFO* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
2023-03-14 12:59:40.387 DEBUG [com.aem.firstdemo.core.listeners.SimpleResourceListener] Resource event: org/apache/sling/api/resource/Resource/CHANGED at: /var/eventing/jobs/assigned/9a21552c-09e7-4675-8b32-7ba664be52f5/com.day.cq.replication.job.publish/2023/3/8/15/37/9a21552c-09e7-4675-8b32-7ba664be52f5_22
2023-03-14 12:59:40.387 DEBUG [com.aem.firstdemo.core.listeners.SimpleResourceListener] Resource event: org/apache/sling/api/resource/Resource/CHANGED at: /var/eventing/jobs/assigned/9a21552c-09e7-4675-8b32-7ba664be52f5/com.day.cq.replication.job.publish/2023/3/8/15/37/9a21552c-09e7-4675-8b32-7ba664be52f5_22
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Error while sending request: java.net.ConnectException: Connection refused: connect
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Replication (ACTIVATE) of /content/first-demo/us/en/form-page not successful: java.net.ConnectException: Connection refused: connect Conversation follows
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish ------------------------------------------------
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending message to localhost:4503
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> POST /bin/receive HTTP/1.0
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Action: Activate
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Path: /content/first-demo/us/en/form-page
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Handle: /content/first-demo/us/en/form-page
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Referer: about:blank
14.03.2023 12:59:40.391 *ERROR* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> ...spooling 2033 bytes...
14.03.2023 12:59:40.391 *INFO* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish.queue Job for agent publish processed in 5ms. Failed.
14.03.2023 12:59:40.391 *WARN* [sling-threadpool-97e37759-0cfd-41cb-a534-fe50a8ba19ae-(apache-sling-job-thread-pool)-32-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] org.apache.sling.event.impl.jobs.queues.JobQueueImpl.com_day_cq_replication_job_publish Failed job Sling Job [topic=com/day/cq/replication/job/publish, id=2023/3/8/15/37/9a21552c-09e7-4675-8b32-7ba664be52f5_22, properties=replicationContent=ReplicationContentFacade{path='/var/replication/data/9a21552c-09e7-4675-8b32-7ba664be52f5/f5/f5203c4e-cf09-413d-a1f7-a229a5ad6577', contentType='application/cq5-replication-durbo', contentLength=2033},event.job.retrydelay=60000,cq:type=ACTIVATE,slingevent:application=9a21552c-09e7-4675-8b32-7ba664be52f5,jcr:created=java.util.GregorianCalendar(Wed Mar 08 15:37:54 IST 2023),slingevent:created=java.util.GregorianCalendar(Wed Mar 08 15:37:54 IST 2023),event.job.queuename=com_day_cq_replication_job_publish,event.job.queued.time=java.util.GregorianCalendar(Wed Mar 08 15:37:54 IST 2023),jcr:createdBy=sling-event,sling:resourceType=slingevent:Job,event.job.application=9a21552c-09e7-4675-8b32-7ba664be52f5,event.job.retries=-1,cq:path=/content/first-demo/us/en/form-page,cq:user=workflow-process-service,jcr:primaryType=slingevent:Job,event.job.retrycount=2578,cq:time=1678270074645], will retry -2579 more time(s), retryCount=2578
2023-03-14 12:59:42.683 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/granite/ui/content/shell/header/actions/pulse, with selector data
2023-03-14 12:59:42.683 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/granite/ui/content/shell/header/actions/pulse, with selector data
2023-03-14 12:59:59.999 DEBUG [com.aem.firstdemo.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''
2023-03-14 12:59:59.999 DEBUG [com.aem.firstdemo.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''
14.03.2023 12:59:59.999 *INFO* [sling-default-2-com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject] com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject Starting sync process now
14.03.2023 13:00:00.006 *INFO* [sling-default-2-com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject] com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject Project: Reference Fragments [FR]
14.03.2023 13:00:00.006 *INFO* [sling-default-2-com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject] com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject Project: Reference Fragments [DE]
14.03.2023 13:00:00.006 *INFO* [sling-default-2-com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject] com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject Project: Reference Fragments [ES]
14.03.2023 13:00:00.007 *INFO* [sling-default-2-com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject] com.adobe.cq.wcm.translation.impl.scheduler.ScheduleRepeatTranslationProject Sync process complete
2023-03-14 13:00:15.669 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /libs/granite/csrf/token, with selector null
2023-03-14 13:00:15.669 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /libs/granite/csrf/token, with selector null

Avatar

Employee

@arunpatidar I have tried using other ports also like - 25, 465, 587, 147 but then the outcome remains the same.

One more thing - If I check these 2 option(s) also

vikas3_0-1678785642040.png

then I am not getting the error in the asset console and the error log is also changed and now I am getting the below error.

2023-03-14 14:46:48.065 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/coral/content/commons/sidepanels/timeline/items/status, with selector null
2023-03-14 14:46:48.065 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/coral/content/commons/sidepanels/timeline/items/status, with selector null
2023-03-14 14:46:48.066 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /content/dam/first-demo/cat.jpg/, with selector permissions
2023-03-14 14:46:48.066 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /content/dam/first-demo/cat.jpg/, with selector permissions
2023-03-14 14:46:48.078 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/coral/content/commons/sidepanels/timeline/items/events, with selector provider
2023-03-14 14:46:48.078 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/coral/content/commons/sidepanels/timeline/items/events, with selector provider
2023-03-14 14:46:48.078 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/coral/content/commons/sidepanels/timeline/items/alerts, with selector provider
2023-03-14 14:46:48.078 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/coral/content/commons/sidepanels/timeline/items/alerts, with selector provider
2023-03-14 14:46:49.052 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/content/assets/adhocassetsharedialog, with selector null
2023-03-14 14:46:49.052 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/content/assets/adhocassetsharedialog, with selector null
2023-03-14 14:46:49.052 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /content/dam/first-demo/cat.jpg, with selector adhocassetshare
2023-03-14 14:46:49.052 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /content/dam/first-demo/cat.jpg, with selector adhocassetshare
14.03.2023 14:46:49.054 *WARN* [[0:0:0:0:0:0:0:1] [1678785409051] POST /content/dam/first-demo/cat.jpg.adhocassetshare.html HTTP/1.1] org.apache.jackrabbit.oak.security.authorization.accesscontrol.AccessControlManagerImpl Attempt to create an ACE for an administrative principal which always has full access: /var/dam/share/0f25e88f_2cbe_4eec_b297_05cf5140c6e8
2023-03-14 14:46:49.058 DEBUG [com.aem.firstdemo.core.listeners.SimpleResourceListener] Resource event: org/apache/sling/api/resource/Resource/ADDED at: /var/dam/share/0f25e88f_2cbe_4eec_b297_05cf5140c6e8
2023-03-14 14:46:49.058 DEBUG [com.aem.firstdemo.core.listeners.SimpleResourceListener] Resource event: org/apache/sling/api/resource/Resource/ADDED at: /var/dam/share/0f25e88f_2cbe_4eec_b297_05cf5140c6e8
2023-03-14 14:46:49.096 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /libs/dam/gui/content/foldermetadataschemaeditor/schemalist/jcr:content/views/list/datasource, with selector data
2023-03-14 14:46:49.096 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /libs/dam/gui/content/foldermetadataschemaeditor/schemalist/jcr:content/views/list/datasource, with selector data
2023-03-14 14:46:49.106 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /content/dam/first-demo/, with selector permissions
2023-03-14 14:46:49.106 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /content/dam/first-demo/, with selector permissions
2023-03-14 14:46:49.119 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/coral/content/commons/sidepanels/timeline/items/status, with selector null
2023-03-14 14:46:49.119 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/coral/content/commons/sidepanels/timeline/items/status, with selector null
2023-03-14 14:46:49.882 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/granite/ui/content/shell/header/actions/pulse, with selector data
2023-03-14 14:46:49.882 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/granite/ui/content/shell/header/actions/pulse, with selector data
2023-03-14 14:46:51.718 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/content/assets/adhocassetsharedialog/items/dialog/items/adduser/items/userpicker, with selector userlist
2023-03-14 14:46:51.718 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /mnt/overlay/dam/gui/content/assets/adhocassetsharedialog/items/dialog/items/adduser/items/userpicker, with selector userlist
2023-03-14 14:46:59.825 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /content/dam/first-demo/cat.jpg, with selector adhocassetshare
2023-03-14 14:46:59.825 DEBUG [com.aem.firstdemo.core.filters.LoggingFilter] request for /content/dam/first-demo/cat.jpg, with selector adhocassetshare
14.03.2023 14:46:59.829 *WARN* [[0:0:0:0:0:0:0:1] [1678785419825] POST /content/dam/first-demo/cat.jpg.adhocassetshare.html HTTP/1.1] com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareServlet Error in getting link share initiator's name or email.
2023-03-14 14:46:59.829 DEBUG [com.aem.firstdemo.core.listeners.SimpleResourceListener] Resource event: org/apache/sling/api/resource/Resource/CHANGED at: /var/dam/share/0f25e88f_2cbe_4eec_b297_05cf5140c6e8
2023-03-14 14:46:59.829 DEBUG [com.aem.firstdemo.core.listeners.SimpleResourceListener] Resource event: org/apache/sling/api/resource/Resource/CHANGED at: /var/dam/share/0f25e88f_2cbe_4eec_b297_05cf5140c6e8
14.03.2023 14:46:59.830 *ERROR* [[0:0:0:0:0:0:0:1] [1678785419825] POST /content/dam/first-demo/cat.jpg.adhocassetshare.html HTTP/1.1] com.day.cq.mailer.oauth.impl.OAuthTokenStoreServiceImpl error occurred while fetching accessToken as resource is null
14.03.2023 14:46:59.830 *WARN* [[0:0:0:0:0:0:0:1] [1678785419825] POST /content/dam/first-demo/cat.jpg.adhocassetshare.html HTTP/1.1] com.day.cq.mailer.oauth.impl.OAuthMailerServiceImpl accessToken is blank
14.03.2023 14:46:59.830 *INFO* [[0:0:0:0:0:0:0:1] [1678785419825] POST /content/dam/first-demo/cat.jpg.adhocassetshare.html HTTP/1.1] com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareServlet Email share message sent.
2023-03-14 14:47:00.013 DEBUG [com.aem.firstdemo.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''
2023-03-14 14:47:00.013 DEBUG [com.aem.firstdemo.core.schedulers.SimpleScheduledTask] SimpleScheduledTask is now running, myParameter=''

 

Avatar

Employee

@SivakumarKanoori I have applied the "from" address also. But then I am getting the same error.
I also tried with port number: 587 but then no luck.

Avatar

Community Advisor

Initial log confirms its issue with your SMTP configuration, this happens sometime if your organization uses a proxy server. Try to update the port number with proxy port number. You can check that within your network teams