org.apache.commons.mail.EmailException: Sending the email to the following server failed : mail.inventage.com:25

Sonatype JIRA | Dominik Menzi | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When configuring the Email Server in Nexus 3.0.0-m7 without username or password, the "Verify email server" action produces a stacktrace in the Nexus log. It appears that Nexus sets a property to use auth, but no credentials are available other than empty strings. Nexus 3 should support an Email Server configuration without authentication. Log from "Verify email server" {noformat} 2016-03-31 06:41:29,956+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - need username and password for authentication 2016-03-31 06:41:29,959+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - useEhlo true, useAuth true 2016-03-31 06:41:29,960+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - trying to connect to host "mail.inventage.com", port 25, isSSL false 2016-03-31 06:41:29,975+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.util.socket - getSocket, host mail.inventage.com, port 25, prefix mail.smtp, useSSL false 2016-03-31 06:41:29,984+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 220 scapa.inventage.com ESMTP Postfix 2016-03-31 06:41:29,986+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - connected to host "mail.inventage.com", port: 25 2016-03-31 06:41:29,987+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - EHLO 02a2b9e22a0d 2016-03-31 06:41:29,988+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-scapa.inventage.com 2016-03-31 06:41:29,989+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-PIPELINING 2016-03-31 06:41:29,989+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-SIZE 20480000 2016-03-31 06:41:29,990+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-VRFY 2016-03-31 06:41:29,991+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-ETRN 2016-03-31 06:41:29,992+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-STARTTLS 2016-03-31 06:41:29,993+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-AUTH PLAIN LOGIN 2016-03-31 06:41:29,994+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-AUTH=PLAIN LOGIN 2016-03-31 06:41:29,994+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-ENHANCEDSTATUSCODES 2016-03-31 06:41:29,995+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-8BITMIME 2016-03-31 06:41:29,995+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250 DSN 2016-03-31 06:41:29,996+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "PIPELINING", arg "" 2016-03-31 06:41:29,996+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "SIZE", arg "20480000" 2016-03-31 06:41:29,997+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "VRFY", arg "" 2016-03-31 06:41:29,998+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "ETRN", arg "" 2016-03-31 06:41:30,003+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "STARTTLS", arg "" 2016-03-31 06:41:30,003+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "AUTH", arg "PLAIN LOGIN" 2016-03-31 06:41:30,004+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "AUTH=PLAIN", arg "LOGIN" 2016-03-31 06:41:30,005+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "ENHANCEDSTATUSCODES", arg "" 2016-03-31 06:41:30,005+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "8BITMIME", arg "" 2016-03-31 06:41:30,006+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "DSN", arg "" 2016-03-31 06:41:30,007+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - STARTTLS 2016-03-31 06:41:30,008+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 220 2.0.0 Ready to start TLS 2016-03-31 06:41:30,008+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.util.socket - startTLS host mail.inventage.com, port 25 2016-03-31 06:41:30,038+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.util.socket - SSL protocols after [TLSv1] 2016-03-31 06:41:30,039+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.util.socket - SSL ciphers after [TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV] 2016-03-31 06:41:30,206+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - EHLO 02a2b9e22a0d 2016-03-31 06:41:30,207+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-scapa.inventage.com 2016-03-31 06:41:30,207+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-PIPELINING 2016-03-31 06:41:30,208+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-SIZE 20480000 2016-03-31 06:41:30,209+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-VRFY 2016-03-31 06:41:30,215+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-ETRN 2016-03-31 06:41:30,215+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-AUTH PLAIN LOGIN 2016-03-31 06:41:30,216+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-AUTH=PLAIN LOGIN 2016-03-31 06:41:30,216+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-ENHANCEDSTATUSCODES 2016-03-31 06:41:30,217+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250-8BITMIME 2016-03-31 06:41:30,217+0000 TRACE [qtp1474888453-1788] dmenzi com.sun.mail.smtp.protocol - 250 DSN 2016-03-31 06:41:30,218+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "PIPELINING", arg "" 2016-03-31 06:41:30,218+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "SIZE", arg "20480000" 2016-03-31 06:41:30,219+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "VRFY", arg "" 2016-03-31 06:41:30,219+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "ETRN", arg "" 2016-03-31 06:41:30,220+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "AUTH", arg "PLAIN LOGIN" 2016-03-31 06:41:30,220+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "AUTH=PLAIN", arg "LOGIN" 2016-03-31 06:41:30,221+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "ENHANCEDSTATUSCODES", arg "" 2016-03-31 06:41:30,221+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "8BITMIME", arg "" 2016-03-31 06:41:30,222+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Found extension "DSN", arg "" 2016-03-31 06:41:30,222+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM 2016-03-31 06:41:30,223+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - AUTH LOGIN command trace suppressed 2016-03-31 06:41:30,225+0000 DEBUG [qtp1474888453-1788] dmenzi com.sun.mail.smtp - AUTH LOGIN failed 2016-03-31 06:41:30,253+0000 ERROR [qtp1474888453-1788] dmenzi org.sonatype.nexus.extdirect.internal.ExtDirectServlet - Failed to invoke action method: coreui_Email.sendVerification, java-method: org.sonatype.nexus.coreui.EmailComponent.sendVerification org.apache.commons.mail.EmailException: Sending the email to the following server failed : mail.inventage.com:25 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1421) [na:na] at org.apache.commons.mail.Email.send(Email.java:1448) [na:na] at org.sonatype.nexus.internal.email.EmailManagerImpl.sendVerification(EmailManagerImpl.java:195) [na:na] at org.sonatype.nexus.email.EmailManager$sendVerification.call(Unknown Source) [na:na] at org.sonatype.nexus.coreui.EmailComponent.sendVerification(EmailComponent.groovy:117) [na:na] at org.sonatype.nexus.validation.internal.ValidationInterceptor.invoke(ValidationInterceptor.java:53) [na:na] at org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49) [na:na] at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68) [na:na] at org.apache.shiro.guice.aop.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:36) [na:na] at org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49) [na:na] at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68) [na:na] at org.apache.shiro.guice.aop.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:36) [na:na] at sun.reflect.GeneratedMethodAccessor551.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.8.0_74] at java.lang.reflect.Method.invoke(Method.java:498) [na:1.8.0_74] at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.invokeJavaMethod(DispatcherBase.java:142) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.invokeMethod(DispatcherBase.java:133) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at org.sonatype.nexus.extdirect.internal.ExtDirectServlet$3.invokeMethod(ExtDirectServlet.java:201) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.dispatch(DispatcherBase.java:63) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.router.processor.standard.StandardRequestProcessorBase.dispatchStandardMethod(StandardRequestProcessorBase.java:73) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.processIndividualRequest(JsonRequestProcessor.java:502) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.processIndividualRequestsInThisThread(JsonRequestProcessor.java:150) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.process(JsonRequestProcessor.java:133) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.router.RequestRouter.processJsonRequest(RequestRouter.java:83) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.processRequest(DirectJNgineServlet.java:617) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.doPost(DirectJNgineServlet.java:580) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at org.sonatype.nexus.extdirect.internal.ExtDirectServlet.doPost(ExtDirectServlet.java:121) [org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api:3.1.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api:3.1.0] at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287) [com.google.inject:4.0.0] at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277) [com.google.inject:4.0.0] at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) [com.google.inject:4.0.0] at com.google.inject.servlet.DynamicServletPipeline.service(DynamicServletPipeline.java:71) [com.google.inject:4.0.0] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [com.google.inject:4.0.0] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) [org.apache.shiro.web:1.2.4] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [com.google.inject:4.0.0] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) [org.apache.shiro.web:1.2.4] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [com.google.inject:4.0.0] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [org.apache.shiro.web:1.2.4] at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [org.apache.shiro.web:1.2.4] at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [org.apache.shiro.web:1.2.4] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [org.apache.shiro.web:1.2.4] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [org.apache.shiro.web:1.2.4] at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [org.apache.shiro.web:1.2.4] at org.sonatype.nexus.security.SecurityFilter.executeChain(SecurityFilter.java:85) [org.sonatype.nexus.security:3.0.0.b2016011501] at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [org.apache.shiro.web:1.2.4] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [org.apache.shiro.core:1.2.4] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [org.apache.shiro.core:1.2.4] at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [org.apache.shiro.core:1.2.4] at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [org.apache.shiro.web:1.2.4] at org.sonatype.nexus.security.SecurityFilter.doFilterInternal(SecurityFilter.java:101) [org.sonatype.nexus.security:3.0.0.b2016011501] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [org.apache.shiro.web:1.2.4] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [com.google.inject:4.0.0] at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97) [com.codahale.metrics.servlet:3.0.2] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [com.google.inject:4.0.0] at org.sonatype.nexus.internal.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:63) [org.sonatype.nexus.core:3.0.0.b2016011501] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [com.google.inject:4.0.0] at org.sonatype.nexus.internal.web.EnvironmentFilter.doFilter(EnvironmentFilter.java:97) [org.sonatype.nexus.core:3.0.0.b2016011501] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [com.google.inject:4.0.0] at com.google.inject.servlet.DynamicFilterPipeline.dispatch(DynamicFilterPipeline.java:104) [com.google.inject:4.0.0] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133) [com.google.inject:4.0.0] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130) [com.google.inject:4.0.0] at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203) [com.google.inject:4.0.0] at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130) [com.google.inject:4.0.0] at org.sonatype.nexus.bootstrap.osgi.DelegatingFilter.doFilter(DelegatingFilter.java:73) [org.sonatype.nexus.bootstrap:3.0.0.b2016011501] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [org.eclipse.jetty.servlet:9.3.5.v20151012] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [org.eclipse.jetty.servlet:9.3.5.v20151012] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [org.eclipse.jetty.security:9.3.5.v20151012] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [org.eclipse.jetty.servlet:9.3.5.v20151012] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) [org.eclipse.jetty.server:9.3.5.v20151012] at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:175) [com.codahale.metrics.jetty9:3.0.2] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.server.Server.handle(Server.java:517) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) [org.eclipse.jetty.server:9.3.5.v20151012] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261) [org.eclipse.jetty.io:9.3.5.v20151012] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [org.eclipse.jetty.io:9.3.5.v20151012] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) [org.eclipse.jetty.io:9.3.5.v20151012] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) [org.eclipse.jetty.util:9.3.5.v20151012] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) [org.eclipse.jetty.util:9.3.5.v20151012] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) [org.eclipse.jetty.util:9.3.5.v20151012] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) [org.eclipse.jetty.util:9.3.5.v20151012] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_74] Caused by: javax.mail.AuthenticationFailedException: 535 5.7.8 Error: authentication failed: generic failure at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:892) [na:na] at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:814) [na:na] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:728) [na:na] at javax.mail.Service.connect(Service.java:386) [na:na] at javax.mail.Service.connect(Service.java:245) [na:na] at javax.mail.Service.connect(Service.java:194) [na:na] at javax.mail.Transport.send0(Transport.java:253) [na:na] at javax.mail.Transport.send(Transport.java:124) [na:na] at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1411) [na:na] ... 89 common frames omitted {noformat}

    Sonatype JIRA | 1 year ago | Dominik Menzi
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : mail.inventage.com:25
  2. 0

    Unable to send emails through Office365 SMTP server

    GitHub | 2 years ago | kvenkat971
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.office365.com:587
  3. 0

    Graylog Sending the email to the following server failed : smtp.gmail.com:587

    Stack Overflow | 3 months ago | Pavan
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 56#296553435

    GitHub | 6 days ago | quasimodoo
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.qq.com:25
  6. 0

    Graylog2 0.20.0 rc1-1 SMTP AUTH LOGIN failed

    GitHub | 3 years ago | Niok
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : SERVER:25
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.mail.AuthenticationFailedException

    535 5.7.8 Error: authentication failed: generic failure

    at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate()
  2. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:892)[na:na]
    2. com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:814)[na:na]
    3. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:728)[na:na]
    3 frames
  3. JavaMail API
    Transport.send
    1. javax.mail.Service.connect(Service.java:386)[na:na]
    2. javax.mail.Service.connect(Service.java:245)[na:na]
    3. javax.mail.Service.connect(Service.java:194)[na:na]
    4. javax.mail.Transport.send0(Transport.java:253)[na:na]
    5. javax.mail.Transport.send(Transport.java:124)[na:na]
    5 frames
  4. Apache Commons Email
    Email.send
    1. org.apache.commons.mail.Email.sendMimeMessage(Email.java:1411)[na:na]
    2. org.apache.commons.mail.Email.send(Email.java:1448)[na:na]
    2 frames
  5. org.sonatype.nexus
    EmailManagerImpl.sendVerification
    1. org.sonatype.nexus.internal.email.EmailManagerImpl.sendVerification(EmailManagerImpl.java:195)[na:na]
    1 frame
  6. ${project.groupId}:${project.artifactId}
    EmailManager$sendVerification.call
    1. org.sonatype.nexus.email.EmailManager$sendVerification.call(Unknown Source)[na:na]
    1 frame
  7. org.sonatype.nexus
    ValidationInterceptor.invoke
    1. org.sonatype.nexus.coreui.EmailComponent.sendVerification(EmailComponent.groovy:117)[na:na]
    2. org.sonatype.nexus.validation.internal.ValidationInterceptor.invoke(ValidationInterceptor.java:53)[na:na]
    2 frames
  8. Apache Shiro :: Support :: Guice
    AopAllianceMethodInvocationAdapter.proceed
    1. org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49)[na:na]
    1 frame
  9. Shiro
    AuthorizingAnnotationMethodInterceptor.invoke
    1. org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)[na:na]
    1 frame
  10. Apache Shiro :: Support :: Guice
    AopAllianceMethodInvocationAdapter.proceed
    1. org.apache.shiro.guice.aop.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:36)[na:na]
    2. org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49)[na:na]
    2 frames
  11. Shiro
    AuthorizingAnnotationMethodInterceptor.invoke
    1. org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)[na:na]
    1 frame
  12. Apache Shiro :: Support :: Guice
    AopAllianceMethodInterceptorAdapter.invoke
    1. org.apache.shiro.guice.aop.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:36)[na:na]
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor551.invoke(Unknown Source)[na:na]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_74]
    3. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_74]
    3 frames
  14. com.softwarementors.extjs
    DispatcherBase.invokeMethod
    1. com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.invokeJavaMethod(DispatcherBase.java:142)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    2. com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.invokeMethod(DispatcherBase.java:133)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    2 frames
  15. org.sonatype.nexus
    ExtDirectServlet$3.invokeMethod
    1. org.sonatype.nexus.extdirect.internal.ExtDirectServlet$3.invokeMethod(ExtDirectServlet.java:201)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    1 frame
  16. com.softwarementors.extjs
    DirectJNgineServlet.doPost
    1. com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.dispatch(DispatcherBase.java:63)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    2. com.softwarementors.extjs.djn.router.processor.standard.StandardRequestProcessorBase.dispatchStandardMethod(StandardRequestProcessorBase.java:73)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    3. com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.processIndividualRequest(JsonRequestProcessor.java:502)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    4. com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.processIndividualRequestsInThisThread(JsonRequestProcessor.java:150)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    5. com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.process(JsonRequestProcessor.java:133)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    6. com.softwarementors.extjs.djn.router.RequestRouter.processJsonRequest(RequestRouter.java:83)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    7. com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.processRequest(DirectJNgineServlet.java:617)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    8. com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.doPost(DirectJNgineServlet.java:580)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    8 frames
  17. org.sonatype.nexus
    ExtDirectServlet.doPost
    1. org.sonatype.nexus.extdirect.internal.ExtDirectServlet.doPost(ExtDirectServlet.java:121)[org.sonatype.nexus.plugins.nexus-extdirect-plugin:3.0.0.b2016011501]
    1 frame
  18. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[javax.servlet-api:3.1.0]
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet-api:3.1.0]
    2 frames
  19. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)[com.google.inject:4.0.0]
    2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)[com.google.inject:4.0.0]
    3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)[com.google.inject:4.0.0]
    4. com.google.inject.servlet.DynamicServletPipeline.service(DynamicServletPipeline.java:71)[com.google.inject:4.0.0]
    5. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)[com.google.inject:4.0.0]
    5 frames
  20. Shiro
    OncePerRequestFilter.doFilter
    1. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)[org.apache.shiro.web:1.2.4]
    1 frame
  21. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[com.google.inject:4.0.0]
    1 frame
  22. Shiro
    OncePerRequestFilter.doFilter
    1. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)[org.apache.shiro.web:1.2.4]
    1 frame
  23. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[com.google.inject:4.0.0]
    1 frame
  24. Shiro
    AbstractShiroFilter.executeChain
    1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[org.apache.shiro.web:1.2.4]
    2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[org.apache.shiro.web:1.2.4]
    3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[org.apache.shiro.web:1.2.4]
    4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[org.apache.shiro.web:1.2.4]
    5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[org.apache.shiro.web:1.2.4]
    6. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[org.apache.shiro.web:1.2.4]
    6 frames
  25. Nexus Core
    SecurityFilter.executeChain
    1. org.sonatype.nexus.security.SecurityFilter.executeChain(SecurityFilter.java:85)[org.sonatype.nexus.security:3.0.0.b2016011501]
    1 frame
  26. Shiro
    AbstractShiroFilter.doFilterInternal
    1. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[org.apache.shiro.web:1.2.4]
    2. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[org.apache.shiro.core:1.2.4]
    3. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[org.apache.shiro.core:1.2.4]
    4. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[org.apache.shiro.core:1.2.4]
    5. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[org.apache.shiro.web:1.2.4]
    5 frames
  27. Nexus Core
    SecurityFilter.doFilterInternal
    1. org.sonatype.nexus.security.SecurityFilter.doFilterInternal(SecurityFilter.java:101)[org.sonatype.nexus.security:3.0.0.b2016011501]
    1 frame
  28. Shiro
    OncePerRequestFilter.doFilter
    1. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[org.apache.shiro.web:1.2.4]
    1 frame
  29. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[com.google.inject:4.0.0]
    1 frame
  30. com.codahale.metrics
    AbstractInstrumentedFilter.doFilter
    1. com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)[com.codahale.metrics.servlet:3.0.2]
    1 frame
  31. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[com.google.inject:4.0.0]
    1 frame
  32. org.sonatype.nexus
    ErrorPageFilter.doFilter
    1. org.sonatype.nexus.internal.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:63)[org.sonatype.nexus.core:3.0.0.b2016011501]
    1 frame
  33. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[com.google.inject:4.0.0]
    1 frame
  34. org.sonatype.nexus
    EnvironmentFilter.doFilter
    1. org.sonatype.nexus.internal.web.EnvironmentFilter.doFilter(EnvironmentFilter.java:97)[org.sonatype.nexus.core:3.0.0.b2016011501]
    1 frame
  35. Guice - Servlet
    GuiceFilter.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[com.google.inject:4.0.0]
    2. com.google.inject.servlet.DynamicFilterPipeline.dispatch(DynamicFilterPipeline.java:104)[com.google.inject:4.0.0]
    3. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)[com.google.inject:4.0.0]
    4. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)[com.google.inject:4.0.0]
    5. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)[com.google.inject:4.0.0]
    6. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)[com.google.inject:4.0.0]
    6 frames
  36. org.sonatype.nexus
    DelegatingFilter.doFilter
    1. org.sonatype.nexus.bootstrap.osgi.DelegatingFilter.doFilter(DelegatingFilter.java:73)[org.sonatype.nexus.bootstrap:3.0.0.b2016011501]
    1 frame
  37. Jetty
    HandlerWrapper.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)[org.eclipse.jetty.servlet:9.3.5.v20151012]
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)[org.eclipse.jetty.servlet:9.3.5.v20151012]
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[org.eclipse.jetty.server:9.3.5.v20151012]
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)[org.eclipse.jetty.security:9.3.5.v20151012]
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)[org.eclipse.jetty.server:9.3.5.v20151012]
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)[org.eclipse.jetty.server:9.3.5.v20151012]
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)[org.eclipse.jetty.servlet:9.3.5.v20151012]
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[org.eclipse.jetty.server:9.3.5.v20151012]
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)[org.eclipse.jetty.server:9.3.5.v20151012]
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[org.eclipse.jetty.server:9.3.5.v20151012]
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)[org.eclipse.jetty.server:9.3.5.v20151012]
    11 frames
  38. Metrics Integration for Jetty 9.1 and higher
    InstrumentedHandler.handle
    1. com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:175)[com.codahale.metrics.jetty9:3.0.2]
    1 frame
  39. Jetty
    SelectChannelEndPoint$2.run
    1. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)[org.eclipse.jetty.server:9.3.5.v20151012]
    2. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)[org.eclipse.jetty.server:9.3.5.v20151012]
    3. org.eclipse.jetty.server.Server.handle(Server.java:517)[org.eclipse.jetty.server:9.3.5.v20151012]
    4. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)[org.eclipse.jetty.server:9.3.5.v20151012]
    5. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)[org.eclipse.jetty.server:9.3.5.v20151012]
    6. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)[org.eclipse.jetty.io:9.3.5.v20151012]
    7. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)[org.eclipse.jetty.io:9.3.5.v20151012]
    8. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)[org.eclipse.jetty.io:9.3.5.v20151012]
    8 frames
  40. org.eclipse.jetty
    ExecuteProduceConsume.run
    1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)[org.eclipse.jetty.util:9.3.5.v20151012]
    2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)[org.eclipse.jetty.util:9.3.5.v20151012]
    2 frames
  41. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)[org.eclipse.jetty.util:9.3.5.v20151012]
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)[org.eclipse.jetty.util:9.3.5.v20151012]
    2 frames
  42. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_74]
    1 frame