javax.mail.AuthenticationFailedException: [ALERT] Too many simultaneous connections. (Failure)

JIRA | Jesse Alvarez | 3 years ago
  1. 0

    We have a pending PO for the JEMH plugin and have it installed and generally working. However, we have a possible show-stopper: multiple JEMH profiles using the same Jira mail server fail to get to the associated profile project likely due to the cap on simultaneous connections to a gmail inbox: https://support.google.com/mail/answer/97150?hl=en Here is our current setup: Incoming Mail: POP/IMAP Mail Servers; jira.something@my.domain Host: imap.gmail.com Username: jira.something@my.domain *Our mail is handled by google mail - so the above is a real mailbox. JEMH Profiles: the email addresses for the configured profiles are gmail groups where the above address (jira.something@my.domain) is a member. These profiles are set up to use the group address to send notifications to enable email-replies-to-ticket-comments. We have 18 profiles set up and only about 3 will work at any given time. I have gone through the configurations several times and find that they are in order. One work-around is to create a Jira Mail Server for each profile. However this is not cost-effective as we build games. Lots of games. So at this point we need a solution. Is there something I am overlooking? Maybe a config switch I forgot to turn on? An "any" key I forgot to press? Please see the below output from the error log. Regards Jesse Alvarez Error from the server logs: javax.mail.AuthenticationFailedException: [ALERT] Too many simultaneous connections. (Failure) 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:201) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    JIRA | 3 years ago | Jesse Alvarez
    javax.mail.AuthenticationFailedException: [ALERT] Too many simultaneous connections. (Failure)
  2. 0

    Getting IMAP server to work with JIRA so can send emails that will post as issues/comments

    experts-exchange.com | 1 year ago
    javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Oracle Webcenter Capture 11.1.1.8 Email Processor

    Oracle Community | 2 years ago | user1666637
    oracle.odc.exception.CaptureException: Error connecting to account
  5. 0

    Invalid credentials with 2-legged OAuth

    Google Groups | 5 years ago | Glen Holcomb
    javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)

  1. serious2monkeys 3 times, last 1 month ago
19 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.mail.AuthenticationFailedException

    [ALERT] Too many simultaneous connections. (Failure)

    at com.sun.mail.imap.IMAPStore.protocolConnect()
  2. JavaMail API (compat)
    IMAPStore.protocolConnect
    1. com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665)
    1 frame
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:295)
    1 frame
  4. com.atlassian.jira
    ServiceRunner.execute
    1. com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:201)
    2. com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356)
    3. com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252)
    4. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
    5. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
    5 frames
  5. quartz
    JobRunShell.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
    1 frame
  6. com.atlassian.multitenant
    MultiTenantThreadPool$MultiTenantRunnable.run
    1. com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
    1 frame
  7. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    1 frame