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

Error connecting to google using jabber plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • other
    • None
    • Platform: PC, OS: Linux

    Description

      We are having an issue connecting to the google jabber server using the jabber
      plugin. We are able to connect using a different client for the same server.
      Additionally, we set up an open fire server as a test and were able to connect
      to it using jabber.

      Jabber plugin config:
      hostname: talk.google.com
      port: 5222

      System info:
      Hudson build #150
      Linux OS - Ubuntu 7.4
      Tomcat 5.5.23
      Java 1.5.0_12

      stream:error (text)
      at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:320)
      at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
      at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63)
      No response from the server.:
      at
      org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:58)
      at
      org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:228)
      at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:426)
      at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:389)
      at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:370)
      at
      hudson.plugins.jabber.im.transport.JabberIMConnection.createConnection(JabberIMConnection
      .java:118)
      at
      hudson.plugins.jabber.im.transport.JabberIMConnection.<init>(JabberIMConnection.java:69)
      at
      hudson.plugins.jabber.im.transport.JabberIMConnectionProvider.createConnection(JabberIMCo
      nnectionProvider.java:37)
      at
      hudson.plugins.jabber.im.transport.JabberPublisherDescriptor.configure(JabberPublisherDes
      criptor.java:255)
      at hudson.model.Hudson.doConfigSubmit(Hudson.java:1205)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
      at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:59)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63)
      at
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:294)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:231)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:79)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
      ava:269)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

      at
      hudson.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:79)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
      ava:215)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      at
      org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt
      p11BaseProtocol.java:665)
      at
      org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at
      org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.ja
      va:81)
      at
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      at java.lang.Thread.run(Thread.java:595)

      Attachments

        Activity

          Fix confirmed.

          kohsuke Kohsuke Kawaguchi added a comment - Fix confirmed.
          uwodi uwodi added a comment -

          Ok, following the instructions on the wiki in addition to upgrading fixed the
          issue. Thanks for you help

          uwodi uwodi added a comment - Ok, following the instructions on the wiki in addition to upgrading fixed the issue. Thanks for you help

          Did you look at http://hudson.gotdns.com/wiki/display/JENKINS/Jabber+Plugin and
          updated your settings accordingly? You don't need to have anything in the
          advanced section set — just the account name.

          kohsuke Kohsuke Kawaguchi added a comment - Did you look at http://hudson.gotdns.com/wiki/display/JENKINS/Jabber+Plugin and updated your settings accordingly? You don't need to have anything in the advanced section set — just the account name.
          uwodi uwodi added a comment -

          I downloaded the 0.4 release and still receive an error when attempting to
          connect to the Google Talk server. I have verified the username and password
          and I am able to successfully connect using a different client.

          stream:error (text)
          at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:320)
          at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
          at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63)
          No response from the server.:
          at
          org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:58)
          at
          org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:228)
          at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:426)
          at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:389)
          at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:370)
          at
          hudson.plugins.jabber.im.transport.JabberIMConnection.createConnection(JabberIMConnection
          .java:145)
          at
          hudson.plugins.jabber.im.transport.JabberIMConnection.<init>(JabberIMConnection.java:76)
          at
          hudson.plugins.jabber.im.transport.JabberIMConnectionProvider.createConnection(JabberIMCo
          nnectionProvider.java:37)
          at
          hudson.plugins.jabber.im.transport.JabberPublisherDescriptor.configure(JabberPublisherDes
          criptor.java:270)
          at hudson.model.Hudson.doConfigSubmit(Hudson.java:1218)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at
          sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at
          sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
          at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:59)
          at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63)
          at
          org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:294)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:231)
          at org.kohsuke.stapler.Stapler.service(Stapler.java:79)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          at
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
          ava:269)
          at
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

          at
          hudson.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:79)
          at
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
          ava:215)
          at
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

          at
          org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
          at
          org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
          at
          org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at
          org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at
          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
          at
          org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
          at
          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
          at
          org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
          at
          org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt
          p11BaseProtocol.java:665)
          at
          org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
          at
          org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.ja
          va:81)
          at
          org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
          at java.lang.Thread.run(Thread.java:595)

          uwodi uwodi added a comment - I downloaded the 0.4 release and still receive an error when attempting to connect to the Google Talk server. I have verified the username and password and I am able to successfully connect using a different client. stream:error (text) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:320) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63) No response from the server.: at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:58) at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:228) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:426) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:389) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:370) at hudson.plugins.jabber.im.transport.JabberIMConnection.createConnection(JabberIMConnection .java:145) at hudson.plugins.jabber.im.transport.JabberIMConnection.<init>(JabberIMConnection.java:76) at hudson.plugins.jabber.im.transport.JabberIMConnectionProvider.createConnection(JabberIMCo nnectionProvider.java:37) at hudson.plugins.jabber.im.transport.JabberPublisherDescriptor.configure(JabberPublisherDes criptor.java:270) at hudson.model.Hudson.doConfigSubmit(Hudson.java:1218) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:59) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:294) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:231) at org.kohsuke.stapler.Stapler.service(Stapler.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at hudson.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt p11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.ja va:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:595)

          Fixed in the upcoming 0.4 release.

          kohsuke Kohsuke Kawaguchi added a comment - Fixed in the upcoming 0.4 release.

          People

            Unassigned Unassigned
            uwodi uwodi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: