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

Unable to login to Cisco Jabber Server (bad-request - modify)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • jabber-plugin
    • Jenkins ver. 2.107.3
      jabber plugin 1.36
      Ubuntu 16.04.3 LTS x64
      java.runtime.version 1.8.0_162-8u162-b12-0ubuntu0.16.04.2-b12

      Remote XMPP server is a Cisco IM and Presense Server (10.5.2).  

      I am able to login with the Cisco Jabber client, and Pidgin

      Putting an incorrect password in Jabber plugin for Jenkins gives an "failed to login message" 

       

      Using the correct user/password result in the following;

       

       

      May 10, 2018 2:59:13 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnectionProvider createConnection
      Creating XMPP JabberIMConnection
      May 10, 2018 2:59:13 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnection connect
      Trying to connect XMPP connection
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberIMConnection
      creating new XMPP connection
      May 10, 2018 2:59:13 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnection createConnection
      Trying to connect to XMPP on /domain.com
      May 10, 2018 2:59:13 PM FINER org.jivesoftware.smack.tcp.XMPPTCPConnection
      Trying to establish TCP connection to CiscoIMP.domain.local/172.16.172.172 at port 5222
      May 10, 2018 2:59:13 PM FINER org.jivesoftware.smack.tcp.XMPPTCPConnection
      Established TCP connection to CiscoIMP.domain.local/172.16.172.172 at port 5222
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: <stream:stream xmlns='jabber:client' to='domain.com' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US.UTF-8' id='61D200121E8' from='domain.com' version='1.0'>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: <stream:stream xmlns='jabber:client' to='domain.com' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US.UTF-8' id='61D200121E8' from='domain.com' version='1.0'>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <stream:features><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>CISCO-VTG-TOKEN</mechanism></mechanisms></stream:features>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGplbmtpbnMAcnpVdUxjeEVGZHRJMlhueENmTkc=</auth>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: <stream:stream xmlns='jabber:client' to='domain.com' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' id='61D200121E8' xml:lang='en'>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US.UTF-8' id='61D200121E8' from='domain.com' version='1.0'>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <stream:features><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/><sm xmlns='urn:xmpp:sm:3'><optional/></sm></stream:features>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: <iq id='iaHgy-130' type='set'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource></resource></bind></iq>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: <iq id='iaHgy-130' type='error'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><error code='400' type='modify'><bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RECV: </stream:stream>
      May 10, 2018 2:59:13 PM WARNING hudson.plugins.jabber.im.transport.JabberIMConnection connect
      org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPPError: bad-request - modify
       at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:135)
       at org.jivesoftware.smack.PacketCollector.nextResultOrThrow(PacketCollector.java:232)
       at org.jivesoftware.smack.PacketCollector.nextResultOrThrow(PacketCollector.java:213)
       at org.jivesoftware.smack.AbstractXMPPConnection.bindResourceAndEstablishSession(AbstractXMPPConnection.java:511)
       at org.jivesoftware.smack.tcp.XMPPTCPConnection.loginNonAnonymously(XMPPTCPConnection.java:417)
       at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:457)
       at hudson.plugins.jabber.im.transport.JabberIMConnection.createConnection(JabberIMConnection.java:379)
       at hudson.plugins.jabber.im.transport.JabberIMConnection.connect(JabberIMConnection.java:205)
       at hudson.plugins.jabber.im.transport.JabberIMConnectionProvider.createConnection(JabberIMConnectionProvider.java:75)
       at hudson.plugins.im.IMConnectionProvider.create(IMConnectionProvider.java:59)
       at hudson.plugins.im.IMConnectionProvider.access$500(IMConnectionProvider.java:16)
       at hudson.plugins.im.IMConnectionProvider$ConnectorRunnable.run(IMConnectionProvider.java:165)
       at java.lang.Thread.run(Thread.java:748)
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: <presence id='iaHgy-132' type='unavailable'></presence>
      May 10, 2018 2:59:13 PM FINEST hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      RCV PKT: <iq id='iaHgy-130' type='error'><error type='modify'><bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
      May 10, 2018 2:59:13 PM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
      SENT: </stream:stream>
      May 10, 2018 2:59:13 PM FINE org.jivesoftware.smack.tcp.XMPPTCPConnection
      Reporting shutdownDone success in writer thread
      

       

            flow Florian Schmaus
            jesdrew Andrew Null
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: