Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-8237

Confluence stops polling for email when connection times out

      When the IMAPS connection times out on email polling once, the Confluence server doesn't poll for email any more. When triggering the polling manually in the Web interface the server claims to be currently polling the email account.

      The only remedy seems to be a server restart.

      I am just speculating here but it looks like the Quartz thread that is responsible for email polling terminates because the exception is not caught.

      When the error occurs, the following lines can be found In atlassian-confluence.log:

      2007-02-14 19:57:09,085 ERROR [DefaultQuartzScheduler_Worker-3] [atlassian.confluence.mail.DefaultMailAccountManager] retrieveMessages Error connecting to IMAPS account [cisdwik
      i@rinn.ch@mail.genotec.ch:993] for space CISDInt: Error connecting to mail server: Connection timed out;
      nested exception is:
      java.net.ConnectException: Connection timed out
      javax.mail.MessagingException: Connection timed out;
      nested exception is:
      java.net.ConnectException: Connection timed out
      at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:441)
      at javax.mail.Service.connect(Service.java:233)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.getStore(DefaultMailAccountManager.java:256)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.retrieveMessages(DefaultMailAccountManager.java:112)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:89)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:59)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:242)
      at sun.reflect.GeneratedMethodAccessor306.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
      at $Proxy35.pollAllSpaces(Unknown Source)
      at com.atlassian.confluence.mail.jobs.MailPollJob.executeJob(MailPollJob.java:29)
      at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:44)
      at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

            [CONFSERVER-8237] Confluence stops polling for email when connection times out

            Hi All

            Thanks for taking the time to raise, vote and comment on this issue. This has been on our backlog now for 7 years with very little movement in that time. Rather than leave this here I'm going to close this issue as won't fix.

            If this problem is raised again in the future then we'll re-address this status.

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi All Thanks for taking the time to raise, vote and comment on this issue. This has been on our backlog now for 7 years with very little movement in that time. Rather than leave this here I'm going to close this issue as won't fix. If this problem is raised again in the future then we'll re-address this status. Regards Steve Haffenden Confluence Bugmaster Atlassian

            Seeing this on Confluence 3.3.3

            David Corley added a comment - Seeing this on Confluence 3.3.3

            Possibly related to / fixed by properly specifying timeouts on connections.

            Andrew Lynch (Inactive) added a comment - Possibly related to / fixed by properly specifying timeouts on connections.

              shaffenden Steve Haffenden (Inactive)
              cd6347d59f92 Bernd Rinn
              Affected customers:
              4 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: