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

Jenkins does not stay in chatrooms after 1.26 upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: jabber-plugin
    • Labels:
    • Environment:
      Jenkins 1.565.3 LTS on Windows Server 2008 R2, Jabber 1.26 plugin
    • Similar Issues:

      Description

      After upgrading from Jabber plugin 1.25 to 1.26, our Jenkins server no longer remained logged into the various chatrooms (in our case, HipChat via Jabber/XMPP) for more than a few minutes. The behavior seems to be that it would connect if it had a notification to post (e.g., a build status), but shortly after that would drop offline again, and thus not be available to receive commands (!status, !cb, !botsnack, etc.) that users issued. Upon reconnecting, it would go through all commands issued while it was offline.

      Downgrading to 1.25 has brought back the desired behavior, which was to have Jenkins remain in any chatrooms it has joined and thus be available to receive commands.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          src/main/java/hudson/plugins/jabber/im/transport/JabberIMConnection.java
          http://jenkins-ci.org/commit/jabber-plugin/cd9eaf5fa28877fc3d2e42339219168ee3f0c0a3
          Log:
          JENKINS-25222 Implement keep-alive for HipChat server

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: src/main/java/hudson/plugins/jabber/im/transport/JabberIMConnection.java http://jenkins-ci.org/commit/jabber-plugin/cd9eaf5fa28877fc3d2e42339219168ee3f0c0a3 Log: JENKINS-25222 Implement keep-alive for HipChat server
          Hide
          medianick Nick Jones added a comment -

          Fantastic, I'll wait on that to upgrade.

          Show
          medianick Nick Jones added a comment - Fantastic, I'll wait on that to upgrade.
          Hide
          kutzi kutzi added a comment -

          No it's not in 1.27.
          I'll release 1.28 within the next couple of days

          Show
          kutzi kutzi added a comment - No it's not in 1.27. I'll release 1.28 within the next couple of days
          Hide
          medianick Nick Jones added a comment -

          @kutzi, the release you prepared for me works great. Is this same keepalive in 1.27 (which looks like it fixed the issue with old messages being processed) or will I need to wait for a subsequent release?

          Show
          medianick Nick Jones added a comment - @kutzi, the release you prepared for me works great. Is this same keepalive in 1.27 (which looks like it fixed the issue with old messages being processed) or will I need to wait for a subsequent release?
          Hide
          medianick Nick Jones added a comment -

          I've just put this custom build in place, and will let you know how it goes.

          Show
          medianick Nick Jones added a comment - I've just put this custom build in place, and will let you know how it goes.

            People

            Assignee:
            kutzi kutzi
            Reporter:
            medianick Nick Jones
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: