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

Disconnect from XMPP after a few minutes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • jabber-plugin
    • None
    • Jenkins 1.580.1

      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
      

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

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

              Created:
              Updated:
              Resolved: