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!

Andy Brook Community Champion Jun 18, 2014

Please mark question answered if its answered...

how do we mark it answered

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,796 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot