Incoming mail fails with "javax.mail.AuthenticationFailedException: EOF on socket" while connecting to Microsoft Exchange using POP3

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.




Issues and comments are no longer able to be created via email. The following appears in the atlassian-jira.log file.

2017-08-11 15:47:00,069 Caesium-1-3 WARN anonymous    Xxx Xxxx [c.a.mail.incoming.mailfetcherservice] Xxx Xxxx[10200]: javax.mail.AuthenticationFailedException: EOF on socket while connecting to host '' as user 'xxxxxxx' via protocol 'pop3': javax.mail.AuthenticationFailedException: EOF on socket
javax.mail.AuthenticationFailedException: EOF on socket
	at com.sun.mail.pop3.POP3Store.protocolConnect(
	at javax.mail.Service.connect(
	at com.atlassian.jira.service.ServiceRunner.runService(
	at com.atlassian.jira.service.ServiceRunner.runServiceId(
	at com.atlassian.jira.service.ServiceRunner.runJob(
	at com.atlassian.scheduler.core.JobLauncher.runJob(
	at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(
	at com.atlassian.scheduler.core.JobLauncher.launch(
	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(
	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJob(
	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJobWithRecoveryGuard(
	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(
	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(
	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(
	at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(
	at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(
2017-08-11 15:47:11,991 Finalizer DEBUG      [c.atlassian.mail.incoming] QUIT
2017-08-11 15:47:11,991 Finalizer DEBUG      [c.atlassian.mail.incoming] <EOF>



  • JIRA Software or Core using the standard JIRA mail handler
  • Connecting via POP3
  • Microsoft Exchange


PopProxy is inactive. This sometimes happens after an Exchange server restart, but the reasons why it becomes inactive are not necessarily known.


Ensure that PopProxy is active and can be reached externally by JIRA.

  1. Check to ensure that port 110 is open on the Exchange server.
    1. Server must be listening on port 110 (use netstat on the server to verify)
    2. Check that an outside server can see that port 110 is open. (Note: It may be necessary to use nmap or a similar tool to detect port 110 availability.)
    3. Attempt a telnet session to port 110 on the server. You may see something like "+OK The Microsoft Exchange POP3 service is ready."
  2. Check to ensure that PopProxy is enabled.
    1. Open Exchange Admin PowerShell on the Exchange server.
    2. Run the command: Get-ServerComponentState - Identify <SERVER_NAME> (where SERVER_NAME is the machine name of the Exchange server).
    3. Look for the PopProxy component and check the State column. It should say 'Active.'
  3. If PopProxy is 'Inactive,' then attempt to activate it with this command: Set-ServerComponentState -State Active -Requester HealthAPI -Component PopProxy -Identity <SERVER_NAME> 



Last modified on Aug 21, 2017

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.