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

jabber-plugin 1.28 cannot resolve host with javax.naming.NameNotFoundException: DNS name not found

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: jabber-plugin
    • Labels:
      None
    • Environment:
      os: debian 7
      jenkins: 1.587
    • Similar Issues:

      Description

      i upgrade jenkins from 1.535 to 1.587 but cannot send jabber message
      System log is:

      Nov 08, 2014 10:21:57 AM WARNING hudson.plugins.jabber.im.transport.JabberIMConnection createConnection
      org.jivesoftware.smack.SmackException: javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.jabber.peykasa.ir'
      at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:405)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:811)
      at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
      at hudson.plugins.jabber.im.transport.JabberIMConnection.createConnection(JabberIMConnection.java:409)
      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)
      Caused by: javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.jabber.peykasa.ir'
      at com.sun.jndi.dns.DnsClient.checkResponseCode(DnsClient.java:651)
      at com.sun.jndi.dns.DnsClient.isMatchResponse(DnsClient.java:569)
      at com.sun.jndi.dns.DnsClient.doUdpQuery(DnsClient.java:418)
      at com.sun.jndi.dns.DnsClient.query(DnsClient.java:207)
      at com.sun.jndi.dns.Resolver.query(Resolver.java:81)
      at com.sun.jndi.dns.DnsContext.c_getAttributes(DnsContext.java:434)
      at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:235)
      at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:141)
      at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:129)
      at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:142)
      at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResolver.java:83)
      at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:153)
      at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:111)
      at org.jivesoftware.smack.ConnectionConfiguration.maybeResolveDns(ConnectionConfiguration.java:600)
      at org.jivesoftware.smack.XMPPConnection.maybeResolveDns(XMPPConnection.java:573)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:402)
      ... 9 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kutzi kutzi
                Reporter:
                mbbn Mohammad Biabani
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: