#1 2022-11-30 11:12:02

Hamlynboi
Member
Registered: 2022-11-15

Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Since upgrading from RS3.0.2-5855 to RS4.3.0-6082 we get a SMTP error when trying to add or edit users passwords - we didnt get this before -  does anyone know why this is

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:164)<br>    at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:159)<br>    at net.datenwerke.security.service.usermanager.hooks.NotificationEmailChangedPasswordHook.passwordWasManuallySet(NotificationEmailChangedPasswordHook.java:85)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl.doUpdateNode(UserManagerTreeHandlerImpl.java:98)<br>    at net.datenwerke.security.server.TreeDBManagerTreeHandler.updateNode(TreeDBManagerTreeHandler.java:504)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl.updateNode(UserManagerTreeHandlerImpl.java:122)<br>    at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:64)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<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.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<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.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<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:193)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)<br>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196)<br>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)<br>    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)<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.RemoteIpValve.invoke(RemoteIpValve.java:769)<br>    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698)<br>    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)<br>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:367)<br>    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)<br>    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)<br>    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:882)<br>    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1647)<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: com.sun.mail.util.MailConnectException: Couldn&#39;t connect to host, port: mail.datenwerke.net, 25; timeout -1;<br>  nested exception is:<br>    java.net.UnknownHostException: mail.datenwerke.net<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:342)<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>    ... 55 more<br>Caused by: java.net.UnknownHostException: mail.datenwerke.net<br>    at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:229)<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>    ... 62 more<br>

Offline

#2 2022-11-30 11:33:08

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi Hamlynboi,

yes, for security reasons, when editing a user password, the user will get an email with the password-change notification.
If you don't configure email correctly, the email will not be sent and you will get an error.
Pls configure your email account.

Regards,
Eduardo

Offline

#3 2022-11-30 12:08:56

Hamlynboi
Member
Registered: 2022-11-15

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

is this new in this version - as we didnt have it configured before ?

Offline

#4 2022-11-30 12:19:18

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi Hamlynboi,

yes, this is new in this version.

Regards,
Eduardo

Offline

#5 2022-12-01 16:10:40

Hamlynboi
Member
Registered: 2022-11-15

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

i have updated the mail.cf files - restarted the app - restarted Tomcat but still i get the same error

it doesn't seem to have picked up my SMTP details i have updated
am i missing a step or configuration from somewhere else

Offline

#6 2022-12-02 05:58:54

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi Hamlynboi,

can you pls post your error msg? I don't think it is exactly the same error if you updated mail.cf and restarted Tomcat.

Regards,
Eduardo

Offline

#7 2022-12-02 11:39:30

Hamlynboi
Member
Registered: 2022-11-15

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

hi this is the error

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:164)<br>    at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:159)<br>    at net.datenwerke.security.service.usermanager.hooks.NotificationEmailChangedPasswordHook.passwordWasManuallySet(NotificationEmailChangedPasswordHook.java:85)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl.doUpdateNode(UserManagerTreeHandlerImpl.java:98)<br>    at net.datenwerke.security.server.TreeDBManagerTreeHandler.updateNode(TreeDBManagerTreeHandler.java:504)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl.updateNode(UserManagerTreeHandlerImpl.java:122)<br>    at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:64)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<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.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<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.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:112)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<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:193)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)<br>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196)<br>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)<br>    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)<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.RemoteIpValve.invoke(RemoteIpValve.java:769)<br>    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698)<br>    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)<br>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:367)<br>    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)<br>    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)<br>    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:882)<br>    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1647)<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: java.lang.RuntimeException: java.lang.NullPointerException<br>    at net.datenwerke.rs.core.service.mail.SimpleCryptoMail.postprocess(SimpleCryptoMail.java:269)<br>    at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:307)<br>    ... 55 more<br>Caused by: java.lang.NullPointerException<br>    at net.datenwerke.rs.core.service.mail.SimpleCryptoMail.sign(SimpleCryptoMail.java:161)<br>    at net.datenwerke.rs.core.service.mail.SimpleCryptoMail.doCrypto(SimpleCryptoMail.java:145)<br>    at net.datenwerke.rs.core.service.mail.SimpleCryptoMail.postprocess(SimpleCryptoMail.java:267)<br>    ... 56 more<br>

Offline

#8 2022-12-05 10:51:07

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi Hamlynboi,

the second error is different, here you have an "Caused by: java.lang.NullPointerException" error.

can you try to create a new SMTP Datasink and then use the "test" button to test your SMTP configuration in this datasink? When you get the email, you can enter the exact information of the datasink into your mail.cf and it should work analogously.

Regards,
Eduardo

Offline

#9 2022-12-05 14:31:08

Hamlynboi
Member
Registered: 2022-11-15

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

hi

where do you create the datasink ?

thnaks

Offline

#10 2022-12-05 16:17:01

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi Hamlynboi,

pls refer to the documentation:
https://reportserver.net/de/documentation/
Specifically:
https://reportserver.net/en/guides/admi … Datasinks/

Regards,
Eduardo

Offline

#11 2022-12-07 09:47:02

Hamlynboi
Member
Registered: 2022-11-15

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

i don't have an option with in fileserver as per the instructions - am i missing something

thanks

Offline

#12 2022-12-07 09:49:01

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi Hamlynboi,

what option are you talking about? can you pls post some screenshots? you can use http://imgbb.com for this.

Regards,
Eduardo

Offline

#13 2022-12-07 14:54:43

Hamlynboi
Member
Registered: 2022-11-15

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

i can see any option anywhere for datasink - please see my screen shot

https://ibb.co/ZKM2JQv

https://ibb.co/zSMsjjF

Last edited by Hamlynboi (2022-12-07 14:59:06)

Offline

#14 2022-12-07 14:59:38

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi Hamlynboi,

you are in your fileserver area. You have to go to the datasinks area: "Administration" -> "Datasinks".

Regards,
Eduardo

Offline

#15 2022-12-07 15:13:05

Hamlynboi
Member
Registered: 2022-11-15

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

where is that 2

https://ibb.co/LkXHF8G

i cant see a Datasinks option anywhere

Offline

#16 2022-12-07 15:21:23

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi Hamlynboi,

are you "root"? You have to have "datasink" permission:
https://reportserver.net/en/guides/admi … anagement/

Datasinks. The datasinks generic right controls the access to the datasinks tree in the Admin module. Reading right is queried. The actually granted access rights to single datasinks will be controlled by object rights. Target: net.datenwerke.rs.core.service.genrights.datasinks.DatasinkManagerAdminViewSecurityTarget

you can use the "haspermission" command to check:
https://reportserver.net/en/guides/admi … ermission/

using this target:
net.datenwerke.rs.core.service.genrights.datasinks.DatasinkManagerAdminViewSecurityTarget

Regards,
Eduardo

Offline

#17 2023-01-05 22:32:47

ricardo.solanoa
Member
Registered: 2023-01-05

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hello Hamlynboi,
May you have the installer for RS3.0.2?
Thaank you!

Offline

#18 2023-01-06 09:27:05

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Since ugrading from RS3.0.2-5855 to RS4.3.0-6082 we get a smtp error

Hi ricardo.solanoa,

you can find all ReportServer binaries here:
https://sourceforge.net/projects/dw-rs/files/bin/

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB