com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException:

Atlassian JIRA | Kah Loun Foong [Atlassian] | 5 years ago
  1. 0

    JIRA {{atlassian-jira.log}} is showing AuthenticationFailedException but according to the following DEBUG log in {{atlassian-jira-outgoing-mail.log}}, it is actually a timeout error when JIRA fail to get the reply from the mail server: {noformat} 2012-05-02 11:03:04,099 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service AUTH LOGIN 2012-05-02 11:03:04,100 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service 334 VXNlcm5hbWU6 2012-05-02 11:03:04,101 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service cjJkMg== 2012-05-02 11:03:04,102 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service 334 UGFzc3dvcmQ6 2012-05-02 11:03:04,102 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service Pi9BU1gzNFFEUTM= 2012-05-02 11:03:14,107 ERROR [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service Error occurred in sending e-mail: To='klfoong@atlassian.com' Subject='(TST-123) Updated: Bug ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<1493502556.772.1335875873489.JavaMail.jira@atlassian.com>' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:38) {noformat} Increasing the Timeout for Outgoing Mail setting fix the above error. JIRA should generate Timeout error instead of confusing us with AuthenticationFailedException

    Atlassian JIRA | 5 years ago | Kah Loun Foong [Atlassian]
    com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException:
  2. 0

    JIRA {{atlassian-jira.log}} is showing AuthenticationFailedException but according to the following DEBUG log in {{atlassian-jira-outgoing-mail.log}}, it is actually a timeout error when JIRA fail to get the reply from the mail server: {noformat} 2012-05-02 11:03:04,099 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service AUTH LOGIN 2012-05-02 11:03:04,100 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service 334 VXNlcm5hbWU6 2012-05-02 11:03:04,101 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service cjJkMg== 2012-05-02 11:03:04,102 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service 334 UGFzc3dvcmQ6 2012-05-02 11:03:04,102 DEBUG [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service Pi9BU1gzNFFEUTM= 2012-05-02 11:03:14,107 ERROR [Graphic Design Task] Sending mailitem To='klfoong@atlassian.com' Subject='(DAP-8761) Updated: Bug after selecting 'secure' mode on cluster config admin screen ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service Error occurred in sending e-mail: To='klfoong@atlassian.com' Subject='(TST-123) Updated: Bug ' From='null' FromName='Kah Loun Foong (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<1493502556.772.1335875873489.JavaMail.jira@atlassian.com>' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:38) {noformat} Increasing the Timeout for Outgoing Mail setting fix the above error. JIRA should generate Timeout error instead of confusing us with AuthenticationFailedException

    Atlassian JIRA | 5 years ago | Kah Loun Foong [Atlassian]
    com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException:
  3. 0

    No authentication mechansims supported by both server and client when configuring Microsoft Exchange SMTP Server - Atlassian Documentation

    atlassian.com | 7 months ago
    com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sending a Test Email Fails due to javax.mail.AuthenticationFailedException - Atlassian Documentation

    atlassian.com | 6 months ago
    com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException
  6. 0

    Sending a Test Email Fails due to javax.mail.AuthenticationFailedException - Atlassian Documentation

    atlassian.com | 4 months ago
    com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException

    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. com.atlassian.mail.MailException

      javax.mail.AuthenticationFailedException:

      at com.atlassian.mail.server.impl.SMTPMailServerImpl.send()
    2. com.atlassian.mail
      SingleMailQueueItem.send
      1. com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183)
      2. com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:38)
      2 frames