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

Disconnect from XMPP after a few minutes

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: jabber-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.580.1
    • Similar Issues:

      Description

      Jenkins seems to disconnect from the XMPP server after a few minutes. I can get it to reconnect shortly after re-configuring the system, but it always disconnects soon after. If I can provide more useful information I'd be happy to.

      From the system log:

      Nov 18, 2014 5:17:45 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnection createConnection
      Trying to connect to XMPP on /svc-eng-jenkins
      Nov 18, 2014 5:17:45 PM WARNING org.jivesoftware.smack.util.PacketParserUtils parsePresence
      Failed to parse extension packet in Presence packet.
      Nov 18, 2014 5:17:45 PM WARNING org.jivesoftware.smack.util.PacketParserUtils parsePresence
      Failed to parse extension packet in Presence packet.
      Nov 18, 2014 5:17:45 PM WARNING org.jivesoftware.smack.util.PacketParserUtils parsePresence
      Failed to parse extension packet in Presence packet.
      Nov 18, 2014 5:17:45 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnection setupSubscriptionMode
      Accepting all subscription requests
      Nov 18, 2014 5:17:45 PM WARNING hudson.plugins.jabber.im.transport.JabberIMConnection createVCardIfNeeded
      internal-server-error
      	at org.jivesoftware.smack.PacketCollector.nextResultOrThrow(PacketCollector.java:196)
      	at org.jivesoftware.smack.PacketCollector.nextResultOrThrow(PacketCollector.java:175)
      	at org.jivesoftware.smackx.vcardtemp.packet.VCard.save(VCard.java:528)
      	at hudson.plugins.jabber.im.transport.JabberIMConnection.createVCard(JabberIMConnection.java:591)
      	at hudson.plugins.jabber.im.transport.JabberIMConnection.createVCardIfNeeded(JabberIMConnection.java:535)
      	at hudson.plugins.jabber.im.transport.JabberIMConnection.createConnection(JabberIMConnection.java:431)
      	at hudson.plugins.jabber.im.transport.JabberIMConnection.connect(JabberIMConnection.java:189)
      	at hudson.plugins.jabber.im.transport.JabberIMConnectionProvider.createConnection(JabberIMConnectionProvider.java:42)
      	at hudson.plugins.im.IMConnectionProvider.create(IMConnectionProvider.java:65)
      	at hudson.plugins.im.IMConnectionProvider.access$600(IMConnectionProvider.java:22)
      	at hudson.plugins.im.IMConnectionProvider$ConnectorRunnable.run(IMConnectionProvider.java:183)
      	at java.lang.Thread.run(Thread.java:745)
      
      Nov 18, 2014 5:17:45 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnection connect
      Connected to XMPP on null:0/[redacted].com using secure connection
      Nov 18, 2014 5:17:45 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnection connect
      Joined groupchat jenkins@conference.[redacted].com
      Nov 18, 2014 5:17:48 PM WARNING org.jivesoftware.smack.util.PacketParserUtils parsePresence
      Failed to parse extension packet in Presence packet.
      Nov 18, 2014 5:18:12 PM WARNING org.jivesoftware.smack.util.PacketParserUtils parsePresence
      Failed to parse extension packet in Presence packet.
      Nov 18, 2014 5:20:16 PM WARNING org.jivesoftware.smack.util.PacketParserUtils parsePresence
      Failed to parse extension packet in Presence packet.
      Nov 18, 2014 5:20:24 PM WARNING org.jivesoftware.smack.util.PacketParserUtils parsePresence
      Failed to parse extension packet in Presence packet.
      Nov 18, 2014 5:23:28 PM WARNING org.jivesoftware.smack.util.PacketParserUtils parsePresence
      Failed to parse extension packet in Presence packet.
      

      From the FINEST log:

      Nov 18, 2014 5:27:23 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: </stream:stream>
      Nov 18, 2014 5:27:23 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: <presence id='TJYtN-19' type='unavailable'></presence>
      Nov 18, 2014 5:27:23 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: </stream:stream>
      Nov 18, 2014 5:27:23 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      Connection closed
      

        Attachments

        1. error.log
          1.32 MB
        2. im-client.log
          0.1 kB
        3. im-server.log
          120 kB
        4. jenkins_im_redacted.txt
          208 kB
        5. jenkins.log
          1 kB

          Activity

          Hide
          spikerjenk2 Jordan Spiker added a comment -

          Thank you so much for the help with this one. I'll be able to test on Monday when I'm back in the office.

          Show
          spikerjenk2 Jordan Spiker added a comment - Thank you so much for the help with this one. I'll be able to test on Monday when I'm back in the office.
          Hide
          kutzi kutzi added a comment -

          @spikerjenk2 did you find the time to test this, already?

          Show
          kutzi kutzi added a comment - @spikerjenk2 did you find the time to test this, already?
          Hide
          spikerjenk2 Jordan Spiker added a comment -

          @kutzi sorry I haven't, I've had some high priority things going on. I will be able to test this next week.

          Show
          spikerjenk2 Jordan Spiker added a comment - @kutzi sorry I haven't, I've had some high priority things going on. I will be able to test this next week.
          Hide
          spikerjenk2 Jordan Spiker added a comment -

          All,

          I finally found the time to install and test this. Ironically it was right after you released 1.31. I can verify it works great! Thank you so much for the help.

          Show
          spikerjenk2 Jordan Spiker added a comment - All, I finally found the time to install and test this. Ironically it was right after you released 1.31. I can verify it works great! Thank you so much for the help.
          Hide
          kutzi kutzi added a comment -

          Thanks for testing

          Show
          kutzi kutzi added a comment - Thanks for testing

            People

            • Assignee:
              kutzi kutzi
              Reporter:
              spikerjenk2 Jordan Spiker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: