java.net.UnknownHostException: test.smtp.com

Atlassian JIRA | ADS-LRZ | 11 months ago
  1. 0

    h2.First Symptom When the configured outgoing mail server is temporarily deferring mails (with a 4xx status code) confluence drops the mails silently and does not queue them back into the "mail queue" or "error queue". *Steps to replicate* # Install a fresh confluence 5.8.16 # Set up a [gmail server|https://confluence.atlassian.com/pages/viewpage.action?pageId=42795030] # set a test email, confirmed it's working # Change the configuration so that it will be broken # Wait for the email queue to be triggered {code} 2016-1-17 11:52:01,466 ERROR [scheduler_Worker-9] [confluence.mail.template.ConfluenceMailQueueItem] send Unable to send email with subject 'Administrator Request' to <asd@asd.com,name@xxx.com,name@xxxxx.com> reason: javax.mail.MessagingException: Unknown SMTP host: test.smtp.com; nested exception is: java.net.UnknownHostException: test.smtp.com com.atlassian.mail.MailException: javax.mail.MessagingException: Unknown SMTP host: test.smtp.com; nested exception is: java.net.UnknownHostException: test.smtp.com at com.atlassian.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:139) at com.atlassian.confluence.jmx.JmxSMTPMailServer.send(JmxSMTPMailServer.java:88) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.send(ConfluenceMailQueueItem.java:142) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.send(ConfluenceMailQueueItem.java:94) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.execute(ConfluenceMailQueueItem.java:212) at com.atlassian.core.task.AbstractErrorQueuedTaskQueue$TaskDecorator.execute(AbstractErrorQueuedTaskQueue.java:100) at com.atlassian.core.task.AbstractTaskQueue.flush(AbstractTaskQueue.java:38) at com.atlassian.core.task.AbstractErrorQueuedTaskQueue.flush(AbstractErrorQueuedTaskQueue.java:30) at com.atlassian.quartz.jobs.TaskQueueFlushJob.doExecute(TaskQueueFlushJob.java:34) at com.atlassian.quartz.jobs.AbstractJob.lambda$executeInternal$46(AbstractJob.java:129) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:125) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at com.atlassian.scheduler.quartz1.Quartz1JobFactory$ClassLoaderProtectingWrappedJob.execute(Quartz1JobFactory.java:62) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$151(ConfluenceQuartzThreadPool.java:19) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: javax.mail.MessagingException: Unknown SMTP host: test.smtp.com; nested exception is: {code} *Expected Behavior* Any unable to send queue should be back into the {{Error-queue}} *Actual Behavior* The Error mail queue always empty !mail-queue.PNG|thumbnail!

    Atlassian JIRA | 11 months ago | ADS-LRZ
    java.net.UnknownHostException: test.smtp.com
  2. 0

    h2.First Symptom When the configured outgoing mail server is temporarily deferring mails (with a 4xx status code) confluence drops the mails silently and does not queue them back into the "mail queue" or "error queue". *Steps to replicate* # Install a fresh confluence 5.8.16 # Set up a [gmail server|https://confluence.atlassian.com/pages/viewpage.action?pageId=42795030] # set a test email, confirmed it's working # Change the configuration so that it will be broken # Wait for the email queue to be triggered {code} 2016-1-17 11:52:01,466 ERROR [scheduler_Worker-9] [confluence.mail.template.ConfluenceMailQueueItem] send Unable to send email with subject 'Administrator Request' to <asd@asd.com,name@xxx.com,name@xxxxx.com> reason: javax.mail.MessagingException: Unknown SMTP host: test.smtp.com; nested exception is: java.net.UnknownHostException: test.smtp.com com.atlassian.mail.MailException: javax.mail.MessagingException: Unknown SMTP host: test.smtp.com; nested exception is: java.net.UnknownHostException: test.smtp.com at com.atlassian.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:139) at com.atlassian.confluence.jmx.JmxSMTPMailServer.send(JmxSMTPMailServer.java:88) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.send(ConfluenceMailQueueItem.java:142) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.send(ConfluenceMailQueueItem.java:94) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.execute(ConfluenceMailQueueItem.java:212) at com.atlassian.core.task.AbstractErrorQueuedTaskQueue$TaskDecorator.execute(AbstractErrorQueuedTaskQueue.java:100) at com.atlassian.core.task.AbstractTaskQueue.flush(AbstractTaskQueue.java:38) at com.atlassian.core.task.AbstractErrorQueuedTaskQueue.flush(AbstractErrorQueuedTaskQueue.java:30) at com.atlassian.quartz.jobs.TaskQueueFlushJob.doExecute(TaskQueueFlushJob.java:34) at com.atlassian.quartz.jobs.AbstractJob.lambda$executeInternal$46(AbstractJob.java:129) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:125) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at com.atlassian.scheduler.quartz1.Quartz1JobFactory$ClassLoaderProtectingWrappedJob.execute(Quartz1JobFactory.java:62) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$151(ConfluenceQuartzThreadPool.java:19) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: javax.mail.MessagingException: Unknown SMTP host: test.smtp.com; nested exception is: {code} *Expected Behavior* Any unable to send queue should be back into the {{Error-queue}} *Actual Behavior* The Error mail queue always empty !mail-queue.PNG|thumbnail!

    Atlassian JIRA | 11 months ago | ADS-LRZ
    java.net.UnknownHostException: test.smtp.com
  3. 0

    supervisor | Apache Help Blog

    filegala.com | 8 months ago
    java.net.UnknownHostException: 192.168.2.106" at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~ [na:1.6.0_35]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 3.52::Unknown Configuration Issues ap

    hivmr.com | 11 months ago
    java.net.UnknownHostException: www.ascendanterp.ihost.com
  6. 0

    Container Installation exception (Page 1) / ESB - Installation, configuration, set-up, performance tuning / Talend Community Forum

    talendforge.org | 11 months ago
    java.net.UnknownHostException: ip-192-168-4-150: ip-192-168-4-150

    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. java.net.UnknownHostException

      test.smtp.com

      at com.atlassian.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport()
    2. com.atlassian.confluence
      ConfluenceMailQueueItem.execute
      1. com.atlassian.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:139)
      2. com.atlassian.confluence.jmx.JmxSMTPMailServer.send(JmxSMTPMailServer.java:88)
      3. com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.send(ConfluenceMailQueueItem.java:142)
      4. com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.send(ConfluenceMailQueueItem.java:94)
      5. com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.execute(ConfluenceMailQueueItem.java:212)
      5 frames
    3. com.atlassian.core
      AbstractErrorQueuedTaskQueue.flush
      1. com.atlassian.core.task.AbstractErrorQueuedTaskQueue$TaskDecorator.execute(AbstractErrorQueuedTaskQueue.java:100)
      2. com.atlassian.core.task.AbstractTaskQueue.flush(AbstractTaskQueue.java:38)
      3. com.atlassian.core.task.AbstractErrorQueuedTaskQueue.flush(AbstractErrorQueuedTaskQueue.java:30)
      3 frames
    4. com.atlassian.quartz
      AbstractJob.lambda$executeInternal$46
      1. com.atlassian.quartz.jobs.TaskQueueFlushJob.doExecute(TaskQueueFlushJob.java:34)
      2. com.atlassian.quartz.jobs.AbstractJob.lambda$executeInternal$46(AbstractJob.java:129)
      2 frames
    5. Hibernate
      HibernateTemplate.execute
      1. org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370)
      2. org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337)
      2 frames
    6. com.atlassian.quartz
      AbstractJob.executeInternal
      1. com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:125)
      1 frame
    7. Spring Context Support
      QuartzJobBean.execute
      1. org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      1 frame
    8. com.atlassian.scheduler
      Quartz1JobFactory$ClassLoaderProtectingWrappedJob.execute
      1. com.atlassian.scheduler.quartz1.Quartz1JobFactory$ClassLoaderProtectingWrappedJob.execute(Quartz1JobFactory.java:62)
      1 frame
    9. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:223)
      1 frame
    10. com.atlassian.confluence
      ConfluenceQuartzThreadPool.lambda$runInThread$151
      1. com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$151(ConfluenceQuartzThreadPool.java:19)
      1 frame
    11. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      1 frame