JEMH Not working

Hi Team

I am unable to create issues using JEMH ,the issues that are being created are always in progress state in auditing tab of JEMH configuration,I have attached the snapshot and the logs file for the same.

Kindly help for the same.

Thanks

Ankur

5 answers

2014-06-17 13:57:47,659 ERROR [EONSUP_MailServerBox] QuartzScheduler_Worker-2 ServiceRunner EONSUP Project | Creating issues/comments from email EONSUP Project | Creating issues/comments from email[10200]: Error connecting to host 'webmail.sapient.co.in' as user 'sapient\dummyNTID_2' via protocol 'imaps': javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665)
at javax.mail.Service.connect(Service.java:295)
at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:221)
at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:388)
at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
2014-06-17 14:28:43,842 ERROR [EONSUP_MailServerBox] QuartzScheduler_Worker-0 ServiceRunner EONSUP Project | Creating issues/comments from email EONSUP Project | Creating issues/comments from email[10200]: Error connecting to host 'webmail.sapient.co.in' as user 'sapient\dummyNTID_2' via protocol 'imaps': javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665)
at javax.mail.Service.connect(Service.java:295)
at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:221)
at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:388)
at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
2014-06-17 14:59:47,029 ERROR [EONSUP_MailServerBox] QuartzScheduler_Worker-0 ServiceRunner EONSUP Project | Creating issues/comments from email EONSUP Project | Creating issues/comments from email[10200]: Error connecting to host 'webmail.sapient.co.in' as user 'sapient\dummyNTID_2' via protocol 'imaps': javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665)
at javax.mail.Service.connect(Service.java:295)
at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:221)
at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:388)
at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
0 votes
Pedro Souza Atlassian Team Jun 16, 2014

Hello,

By the attached log, it seems that there is some authentication problem with your mailbox:

2014-06-17 13:57:47,659 ERROR [EONSUP_MailServerBox] QuartzScheduler_Worker-2 ServiceRunner EONSUP Project | Creating issues/comments from email EONSUP Project | Creating issues/comments from email[10200]: Error connecting to host 'webmail.sapient.co.in' as user 'sapient\dummyNTID_2' via protocol 'imaps': javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665)

First we need to eliminate these exceptions, try to review your incoming mail settings and see if you can authenticate.

Cheers.

This was handled through support, https://thepluginpeople.atlassian.net/browse/JEMH-2542apparently there were more than one JIRA instances pulling from a common mailbox, so issues were being created elsewhere and yes, all the auth things were mentioned too..

what was the reason the authentication was failing

Its your system, you tell me :D Probably someone though that an account with an expiring password was a good idea for a system mailbox, happens a lot!

Please mark question answered if its answered...

how do we mark it answered

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,720 views 17 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you