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

Can't connect to gtalk with jabber notifier via proxy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1
    • None
    • Notifier - Jabber
    • Windows 2003 Server

    Description

      Hi,

      I have sending notifications to GTalk via jabber notifier if I am behind proxy. I've configured notifier as specified in the FAQ:

      jabber host: talk.google.com
      jabber port: 5222
      jabber login: <my login without @gmail.com>
      Jabber Domain Name: gmail.com
      Is it a SSL Connection? false

      I am starting continuum as a service with local account (to be able to read settings.xml where we also have a proxy defined). I have defined proxy in wrapper.conf in the following way:

      wrapper.java.additional.9=-Dhttp.proxyHost="<my proxy host name>"
      wrapper.java.additional.9.stripquotes=TRUE
      wrapper.java.additional.10=-Dhttp.proxyPort="8080"
      wrapper.java.additional.10.stripquotes=TRUE
      wrapper.java.additional.11=-Dhttp.nonProxyHosts="*.mycompany.com|localhost|127.0.0.1"

      I tried host and port with and without quotes, tried to use proxy ip instead of the host name. No result, I get the following exception:

      135043 [pool-1-thread-1] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:default - Error while trying to use the jabber notifier.
      org.codehaus.plexus.notification.NotificationException: Exception while sending message.
      at org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier.sendMessage(JabberContinuumNotifier.java:240)
      at org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier.sendNotification(JabberContinuumNotifier.java:138)
      at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199)
      at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:159)
      at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
      at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild(DefaultBuildController.java:221)
      at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:175)
      at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
      at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
      at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
      at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.codehaus.plexus.jabber.JabberClientException: Can't connect to talk.google.com:5222
      at org.codehaus.plexus.jabber.DefaultJabberClient.connect(DefaultJabberClient.java:51)
      at org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier.sendMessage(JabberContinuumNotifier.java:220)
      ... 13 more
      Caused by: Could not connect to talk.google.com:5222.: (504)
      – caused by: java.net.UnknownHostException: talk.google.com
      at org.jivesoftware.smack.XMPPConnection.<init>(XMPPConnection.java:168)
      at org.codehaus.plexus.jabber.DefaultJabberClient.connect(DefaultJabberClient.java:42)
      ... 14 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            svadu Siarhei Dudzin
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: