Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-694

Add proxy configuration support for notifiers

    XMLWordPrintableJSON

Details

    Description

      I would like to use Continuum for project, but I have problem - all ports are proxied. Not only HTTP but also mail and all others.
      That is why I cant use mailnotifier. It breaks with error listed below. As I said timeout occures due to port is closed by proxy. I check it only for mail notifier but I beleive that it is related to all other notifiers.

      {{
      72414 [Thread-2] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher - Error while trying to use the mailnotifier.
      org.codehaus.plexus.notification.NotificationException: Exception while sending message.
      at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:403)
      at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:307)
      at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:202)
      at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:173)
      at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96)
      at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:378)
      at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
      at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while sending mail.
      at org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:217)
      at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:399)
      ... 8 more
      Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
      nested exception is:
      java.net.ConnectException: Connection timed out: connect
      at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1213)
      at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
      at javax.mail.Service.connect(Service.java:255)
      at javax.mail.Service.connect(Service.java:134)
      at javax.mail.Service.connect(Service.java:86)
      at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
      at javax.mail.Transport.send0(Transport.java:150)
      at javax.mail.Transport.send(Transport.java:80)
      at org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:213)
      ... 9 more
      }}

      Attachments

        Activity

          People

            Unassigned Unassigned
            anatolikus Anatol Pomozov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: