Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-27623

No authentication mechansims supported by both server and client

XMLWordPrintable

      Since JIRA 4.4.4 some configurations of Exchange smtp mailboxes are receiving errors when connecting to the mailbox.

      com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client
      at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183)
      at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:102)
      at webwork.action.ActionSupport.execute(ActionSupport.java:165)
      at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:76)
      at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
      at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
      at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
      at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
      at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205)
      at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143)
      at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      ...
      Caused by: javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client
      at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)
      at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)
      at javax.mail.Service.connect(Service.java:317)
      at javax.mail.Service.connect(Service.java:176)
      at javax.mail.Service.connect(Service.java:125)
      at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:154)
      ...
      

      I think this came about from a change in javamail. Versions earlier than 4.4.4 use javamail 1.4.1 and the newer versions use 1.4.4.

      Workaround:
      JIRA KB

              Unassigned Unassigned
              itse Ivan Tse
              Votes:
              9 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: