org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.9 Application-specific password required. Learn more at 534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor m136sm35515551ywd.19 - gsmtp

Stack Overflow | Drew1208 | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    unable to send email with spring boot

    Stack Overflow | 4 months ago | Drew1208
    org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.9 Application-specific password required. Learn more at 534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor m136sm35515551ywd.19 - gsmtp
  2. 0

    Mail server connection failed with GMail - Atlassian Documentation

    atlassian.com | 1 year ago
    java.net.SocketTimeoutException: Read timed out
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Mail server connection failed with GMail - Atlassian Documentation

    atlassian.com | 8 months ago
    java.net.SocketTimeoutException: Read timed out
  5. 0

    why could have connection timed out exception if the default timeout value is infinite?

    Stack Overflow | 11 months ago | zhuguowei
    java.net.ConnectException: Connection timed out
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

    534-5.7.9 Application-specific password required. Learn more at 534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor m136sm35515551ywd.19 - gsmtp

    at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate()
  2. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:932)[javax.mail-1.5.6.jar:1.5.6]
    2. com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:843)[javax.mail-1.5.6.jar:1.5.6]
    3. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:748)[javax.mail-1.5.6.jar:1.5.6]
    3 frames
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:366)[javax.mail-1.5.6.jar:1.5.6]
    1 frame
  4. Spring Context Support
    JavaMailSenderImpl.send
    1. org.springframework.mail.javamail.JavaMailSenderImpl.connectTransport(JavaMailSenderImpl.java:501)[spring-context-support-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    2. org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:421)[spring-context-support-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    3. org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:307)[spring-context-support-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    4. org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:296)[spring-context-support-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    4 frames
  5. com.stidham.services
    EmailService$$FastClassBySpringCGLIB$$71bb8be6.invoke
    1. com.stidham.services.EmailService.sendNotificaitoin(EmailService.java:37)[EmailService.class:na]
    2. com.stidham.services.EmailService$$FastClassBySpringCGLIB$$71bb8be6.invoke(<generated>)[EmailService.class:na]
    2 frames
  6. Spring Core
    MethodProxy.invoke
    1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    1 frame
  7. Spring AOP
    AsyncExecutionInterceptor$1.call
    1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)[spring-aop-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    3. org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115)[spring-aop-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    3 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_31]
    2. java.lang.Thread.run(Thread.java:745)[na:1.8.0_31]
    2 frames