JIRA log showing AuthenticationFailedException even though it is a timeout error

XMLWordPrintable

    • 4.04

      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:

      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)
      

      Increasing the Timeout for Outgoing Mail setting fix the above error. JIRA should generate Timeout error instead of confusing us with AuthenticationFailedException

              Assignee:
              Unassigned
              Reporter:
              Foong (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: