javax.mail.AuthenticationFailedException: Command is not valid in this state.

Atlassian JIRA | Roy Berg | 9 years ago
  1. 0

    We recently replaced our mail server with Microsoft Exchange 2007. I've enabled both IMAP and POP3, but JIRA fails to fetch email using either. JIRA version: Enterprise Edition, Version: 3.11-DEV-130807-#283 Extract from the log: 2007-09-14 12:01:21,539 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Error connecting to host 'if-admin' as user 'support' via protocol 'imap': javax.mail.MessagingException: No login methods supported!; nested exception is: com.sun.mail.iap.ProtocolException: No login methods supported! javax.mail.MessagingException: No login methods supported!; nested exception is: com.sun.mail.iap.ProtocolException: No login methods supported! at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:439) at javax.mail.Service.connect(Service.java:233) at javax.mail.Service.connect(Service.java:134) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:149) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2007-09-14 12:01:21,539 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Error connecting to host 'if-admin' as user 'HQ\bestilling' via protocol 'imap': javax.mail.MessagingException: No login methods supported!; nested exception is: com.sun.mail.iap.ProtocolException: No login methods supported! javax.mail.MessagingException: No login methods supported!; nested exception is: com.sun.mail.iap.ProtocolException: No login methods supported! at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:439) at javax.mail.Service.connect(Service.java:233) at javax.mail.Service.connect(Service.java:134) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:149) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2007-09-14 12:01:21,555 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Error connecting to host 'if-admin' as user 'jira' via protocol 'pop3': javax.mail.AuthenticationFailedException: Command is not valid in this state. javax.mail.AuthenticationFailedException: Command is not valid in this state. at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:118) at javax.mail.Service.connect(Service.java:233) at javax.mail.Service.connect(Service.java:134) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:149) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 9 years ago | Roy Berg
    javax.mail.AuthenticationFailedException: Command is not valid in this state.
  2. 0

    We recently replaced our mail server with Microsoft Exchange 2007. I've enabled both IMAP and POP3, but JIRA fails to fetch email using either. JIRA version: Enterprise Edition, Version: 3.11-DEV-130807-#283 Extract from the log: 2007-09-14 12:01:21,539 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Error connecting to host 'if-admin' as user 'support' via protocol 'imap': javax.mail.MessagingException: No login methods supported!; nested exception is: com.sun.mail.iap.ProtocolException: No login methods supported! javax.mail.MessagingException: No login methods supported!; nested exception is: com.sun.mail.iap.ProtocolException: No login methods supported! at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:439) at javax.mail.Service.connect(Service.java:233) at javax.mail.Service.connect(Service.java:134) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:149) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2007-09-14 12:01:21,539 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Error connecting to host 'if-admin' as user 'HQ\bestilling' via protocol 'imap': javax.mail.MessagingException: No login methods supported!; nested exception is: com.sun.mail.iap.ProtocolException: No login methods supported! javax.mail.MessagingException: No login methods supported!; nested exception is: com.sun.mail.iap.ProtocolException: No login methods supported! at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:439) at javax.mail.Service.connect(Service.java:233) at javax.mail.Service.connect(Service.java:134) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:149) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2007-09-14 12:01:21,555 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Error connecting to host 'if-admin' as user 'jira' via protocol 'pop3': javax.mail.AuthenticationFailedException: Command is not valid in this state. javax.mail.AuthenticationFailedException: Command is not valid in this state. at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:118) at javax.mail.Service.connect(Service.java:233) at javax.mail.Service.connect(Service.java:134) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:149) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 9 years ago | Roy Berg
    javax.mail.AuthenticationFailedException: Command is not valid in this state.
  3. 0

    JIRA - User - Creating Issues from Comments Using Gmail?

    nabble.com | 11 months ago
    javax.mail.AuthenticationFailedException: EOF on socket
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Incoming Email Error | BMC Communities

    bmc.com | 6 months ago
    javax.mail.AuthenticationFailedException: Command is not valid in this state.

  1. AndrewProg 10 times, last 3 months ago
13 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

    Command is not valid in this state.

    at com.sun.mail.pop3.POP3Store.protocolConnect()
  2. JavaMail API (compat)
    POP3Store.protocolConnect
    1. com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:118)
    1 frame
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:233)
    2. javax.mail.Service.connect(Service.java:134)
    2 frames
  4. com.atlassian.jira
    ServiceRunner.execute
    1. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:149)
    2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
    3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
    3 frames
  5. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    2 frames