Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19763

Jabber / Instant Messaging Plugin reconnects every time a slave is added/removed, or config system page is saved, so it can miss sending IM notifications

    Details

    • Similar Issues:

      Description

      First off, thanks for a great plugin!

      I noticed that the Jabber/Instant Messaging Plugin combo reconnects every time the Manage Jenkins / Configure System 'form post' occurs, even if no Jabber config changes are made. The connection is made ~30 seconds after the post occurs.

      More importantly, every time a slave is added/removed/updated, the same reconnect occurs. (even though no Jabber config changes were made). In our environment, this happens very frequently, since we are using virtual slaves.

      While this reconnect is occurring, any IM notifications which normally would be sent by the Jabber plugin are not sent. In our environment, this means that pretty frequently, we are missing IM notifications due to the reconnect process.

      It would be great if the Jabber / IM plugins only reconnected when the necessary rather than every time the system config page is saved. This would significantly reduce the possibility of 'missed IMs' when running in an environment with dynamically added/removed slaves.

        Attachments

          Activity

          Hide
          sroth Steve Roth added a comment -

          In the Tomcat logfile, I see the following logged, shortly after clicking the Save button on the System Config page (also logged anytime a slave is added/removed):

          Sep 26, 2013 2:14:00 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
          INFO: Trying to reconnect
          Sep 26, 2013 2:14:00 PM hudson.plugins.jabber.im.transport.JabberIMConnection createConnection
          INFO: Trying to connect to XMPP on somebox:someport/foo.com with SASL
          ...

          Show
          sroth Steve Roth added a comment - In the Tomcat logfile, I see the following logged, shortly after clicking the Save button on the System Config page (also logged anytime a slave is added/removed): Sep 26, 2013 2:14:00 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Trying to reconnect Sep 26, 2013 2:14:00 PM hudson.plugins.jabber.im.transport.JabberIMConnection createConnection INFO: Trying to connect to XMPP on somebox:someport/foo.com with SASL ...
          Hide
          cforce cforce added a comment -

          Same here! This is really discusting..

          Show
          cforce cforce added a comment - Same here! This is really discusting..

            People

            • Assignee:
              kutzi kutzi
              Reporter:
              sroth Steve Roth
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: