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 vote
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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

792 views 2 19
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