You are not logged in.
Pages: 1
email datasink returning the error below. mail.cf also below
net.datenwerke.rs.core.service.datasinkmanager.exceptions.DatasinkExportException: An error occurred during datasink export
<br> at net.datenwerke.rs.emaildatasink.service.emaildatasink.EmailDatasinkServiceImpl.doExportIntoDatasink(EmailDatasinkServiceImpl.java:76)
<br> at net.datenwerke.rs.core.service.datasinkmanager.DatasinkServiceImpl.exportIntoDatasink(DatasinkServiceImpl.java:100)
<br> at net.datenwerke.rs.core.service.datasinkmanager.DatasinkServiceImpl.testDatasink(DatasinkServiceImpl.java:85)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl.testEmailDatasink(EmailDatasinkRpcServiceImpl.java:243)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4.CGLIB$testEmailDatasink$4(<generated>)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4$$FastClassByGuice$$a93f03c3.invoke(<generated>)
<br> at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
<br> at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
<br> at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
<br> at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:54)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4.testEmailDatasink(<generated>)
<br> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<br> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
<br> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
<br> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
<br> at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
<br> at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4.CGLIB$processCall$8(<generated>)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4$$FastClassByGuice$$a93f03c3.invoke(<generated>)
<br> at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
<br> at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
<br> at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
<br> at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:54)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4.processCall(<generated>)
<br> at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4.CGLIB$processCall$7(<generated>)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4$$FastClassByGuice$$a93f03c3.invoke(<generated>)
<br> at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
<br> at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
<br> at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
<br> at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:54)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4.processCall(<generated>)
<br> at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
<br> at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:681)
<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4.CGLIB$service$21(<generated>)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4$$FastClassByGuice$$a93f03c3.invoke(<generated>)
<br> at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
<br> at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
<br> at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
<br> at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
<br> at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:54)
<br> at net.datenwerke.rs.emaildatasink.server.emaildatasink.EmailDatasinkRpcServiceImpl$$EnhancerByGuice$$876389d4.service(<generated>)
<br> at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:290)
<br> at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:280)
<br> at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:184)
<br> at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:89)
<br> at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)
<br> at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:94)
<br> at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
<br> at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
<br> at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
<br> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
<br> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
<br> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
<br> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
<br> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
<br> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
<br> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
<br> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
<br> at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:433)
<br> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
<br> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890)
<br> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
<br> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
<br> at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
<br> at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
<br> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
<br> at java.base/java.lang.Thread.run(Thread.java:829)
<br>Caused by: net.datenwerke.rs.core.service.mail.exceptions.MailerRuntimeException: Mail could not be send
<br> at net.datenwerke.rs.core.service.mail.MailServiceImpl$MailSupervisorImpl.handleException(MailServiceImpl.java:77)
<br> at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:341)
<br> at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:169)
<br> at net.datenwerke.rs.emaildatasink.service.emaildatasink.EmailDatasinkServiceImpl.doExportIntoDatasink(EmailDatasinkServiceImpl.java:72)
<br> ... 82 more
<br>Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.office365.com, 587; timeout -1;<br> nested exception is:<br> java.net.ConnectException: Connection timed out: connect
<br> at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2210)
<br> at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)
<br> at javax.mail.Service.connect(Service.java:364)
<br> at javax.mail.Service.connect(Service.java:222)
<br> at javax.mail.Service.connect(Service.java:171)
<br> at javax.mail.Transport.send0(Transport.java:230)
<br> at javax.mail.Transport.send(Transport.java:100)
<br> at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:331)
<br> ... 84 more
<br>Caused by: java.net.ConnectException: Connection timed out: connect
<br> at java.base/java.net.PlainSocketImpl.connect0(Native Method)
<br> at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
<br> at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
<br> at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
<br> at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
<br> at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
<br> at java.base/java.net.Socket.connect(Socket.java:609)
<br> at java.base/java.net.Socket.connect(Socket.java:558)
<br> at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:335)
<br> at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:214)
<br> at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2160)
<br> ... 91 more
<br>
<?xml version="1.0" encoding="UTF-8"?>
<!--
ReportServer Configuration File
filename: mail/mail.cf
==============
Deprecated: Use email SMTP datasinks instead with default email datasink.
==============
Configures email server settings.
-->
<configuration>
<smtp>
<host>smtp.office365.com</host>
<port>587</port>
<!--<username>rs@host.net</username>
<password></password>
-->
<ssl>false</ssl>
<tls>
<enable>true</enable>
<require>true</require>
</tls>
<password>!!!!!!!!!!!!!!!</password>
<username>reportserver@!!!.ca</username>
</smtp>
<mail>
<sender>reportserver@!!!.ca</sender>
<senderName>ReportServer</senderName>
<forceSender>false</forceSender>
<encryptionPolicy>allow_mixed</encryptionPolicy>
</mail>
</configuration>
Offline
Hi greg johnston,
the error is:
Caused by: java.net.ConnectException: Connection timed out: connect
are you sure there are no firewalls blocking the request or similar ? can you try this example? it is easier to test: https://github.com/infofabrik/reportser … ail.groovy
Regards,
Eduardo
Offline
Pages: 1