6 Replies Latest reply on Aug 8, 2017 7:03 AM by dkeller

    Spark Client not Connecting to Server

    dkeller

      I have recently setup a new Openfire (4.1.4) server on CentOS 7 server box. As far as I can see we have installed everything correctly and I have been able to connect a Pidgin client, located on the same server, to the Openfire service. When I try to connect my Spark client (I was using 2.6.3 now updated to 2.8.3) it won't connect. I have tried connect both through DNS and with the IP address. We have added "Spark" and "Spark.buckeyehq.com" into our DNS server and I am able to ping the Openfire server. I can also access the Openfire console from my desktop just fine. (It is connected to our Active Directory).

       

      Below are the error logs. Any help would be appreciated and thank you in advance.

      ============================================================

      Jul 20, 2017 11:01:13 AM org.jivesoftware.smack.util.DNSUtil resolveDomain

      WARNING: Exception while resovling SRV records for spark. Consider adding '_xmpp-(server|client)._tcp' DNS SRV Records

      javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.spark'

          at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

          at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

          at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

          at com.sun.jndi.dns.DnsClient.query(Unknown Source)

          at com.sun.jndi.dns.Resolver.query(Unknown Source)

          at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

          at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResol ver.java:78)

          at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:171)

          at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:120)

          at org.jivesoftware.smack.AbstractXMPPConnection.populateHostAddresses(AbstractXMP PConnection.java:574)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:564)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:01:34 AM org.jivesoftware.spark.util.log.Log warning

      WARNING: Exception in Login:

      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '_xmpp-client._tcp.spark:5222' failed because javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.spark', 'spark:5222' failed because java.net.ConnectException: Connection timed out: connect

          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:01:45 AM org.jivesoftware.smack.util.DNSUtil resolveDomain

      WARNING: Exception while resovling SRV records for spark.buckeyehq.com. Consider adding '_xmpp-(server|client)._tcp' DNS SRV Records

      javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.spark.buckeyehq.com'

          at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

          at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

          at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

          at com.sun.jndi.dns.DnsClient.query(Unknown Source)

          at com.sun.jndi.dns.Resolver.query(Unknown Source)

          at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

          at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResol ver.java:78)

          at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:171)

          at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:120)

          at org.jivesoftware.smack.AbstractXMPPConnection.populateHostAddresses(AbstractXMP PConnection.java:574)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:564)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:02:06 AM org.jivesoftware.spark.util.log.Log warning

      WARNING: Exception in Login:

      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '_xmpp-client._tcp.spark.buckeyehq.com:5222' failed because javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.spark.buckeyehq.com', 'spark.buckeyehq.com:5222' failed because java.net.ConnectException: Connection timed out: connect

          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:02:20 AM org.jivesoftware.smack.util.DNSUtil resolveDomain

      WARNING: Exception while resovling SRV records for 172.16.173141. Consider adding '_xmpp-(server|client)._tcp' DNS SRV Records

      javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.172.16.173141'

          at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

          at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

          at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

          at com.sun.jndi.dns.DnsClient.query(Unknown Source)

          at com.sun.jndi.dns.Resolver.query(Unknown Source)

          at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

          at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResol ver.java:78)

          at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:171)

          at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:120)

          at org.jivesoftware.smack.AbstractXMPPConnection.populateHostAddresses(AbstractXMP PConnection.java:574)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:564)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:02:23 AM org.jivesoftware.spark.util.log.Log warning

      WARNING: Exception in Login:

      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '_xmpp-client._tcp.172.16.173141:5222' failed because javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.172.16.173141', '172.16.173141:5222' failed because java.net.UnknownHostException: 172.16.173141

          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:02:45 AM org.jivesoftware.smack.util.DNSUtil resolveDomain

      WARNING: Exception while resovling SRV records for 172.16.173.141. Consider adding '_xmpp-(server|client)._tcp' DNS SRV Records

      javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.172.16.173.141'

          at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

          at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

          at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

          at com.sun.jndi.dns.DnsClient.query(Unknown Source)

          at com.sun.jndi.dns.Resolver.query(Unknown Source)

          at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

          at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResol ver.java:78)

          at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:171)

          at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:120)

          at org.jivesoftware.smack.AbstractXMPPConnection.populateHostAddresses(AbstractXMP PConnection.java:574)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:564)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:03:06 AM org.jivesoftware.spark.util.log.Log warning

      WARNING: Exception in Login:

      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '_xmpp-client._tcp.172.16.173.141:5222' failed because javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.172.16.173.141', '172.16.173.141:5222' failed because java.net.ConnectException: Connection timed out: connect

          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:23:12 AM org.jivesoftware.smack.util.DNSUtil resolveDomain

      WARNING: Exception while resovling SRV records for 172.16.173.141. Consider adding '_xmpp-(server|client)._tcp' DNS SRV Records

      javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.172.16.173.141'

          at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

          at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

          at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

          at com.sun.jndi.dns.DnsClient.query(Unknown Source)

          at com.sun.jndi.dns.Resolver.query(Unknown Source)

          at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

          at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResol ver.java:78)

          at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:171)

          at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:120)

          at org.jivesoftware.smack.AbstractXMPPConnection.populateHostAddresses(AbstractXMP PConnection.java:574)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:564)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:23:33 AM org.jivesoftware.spark.util.log.Log warning

      WARNING: Exception in Login:

      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '_xmpp-client._tcp.172.16.173.141:5222' failed because javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.172.16.173.141', '172.16.173.141:5222' failed because java.net.ConnectException: Connection timed out: connect

          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:25:43 AM org.jivesoftware.smack.util.DNSUtil resolveDomain

      WARNING: Exception while resovling SRV records for Spark. Consider adding '_xmpp-(server|client)._tcp' DNS SRV Records

      javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.Spark'

          at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

          at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

          at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

          at com.sun.jndi.dns.DnsClient.query(Unknown Source)

          at com.sun.jndi.dns.Resolver.query(Unknown Source)

          at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

          at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

          at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResol ver.java:78)

          at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:171)

          at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:120)

          at org.jivesoftware.smack.AbstractXMPPConnection.populateHostAddresses(AbstractXMP PConnection.java:574)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:564)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

       

      Jul 20, 2017 11:26:04 AM org.jivesoftware.spark.util.log.Log warning

      WARNING: Exception in Login:

      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '_xmpp-client._tcp.Spark:5222' failed because javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.Spark', 'Spark:5222' failed because java.net.ConnectException: Connection timed out: connect

          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

          at java.lang.Thread.run(Unknown Source)

        • Re: Spark Client not Connecting to Server
          wroot

          What is your Openfire server's XMPP Domain value?

            • Re: Spark Client not Connecting to Server
              dkeller

              spark.buckeyehq.com

                • Re: Spark Client not Connecting to Server
                  wroot

                  So, you should only try spark.buckeyehq.com as Domain in Spark. These looks like only warning that it can't find an SRV record for this domain, but this is not absolutely required. There might be more in other logs. What error does Spark give when you try to login to spark.buckeyehq.com? have you tried enabling "Accept all certificates" in the Advanced menu in Spark? If nothing works, you can also try a workaround by additionally putting IP of the server into host field in Advanced menu.

                    • Re: Spark Client not Connecting to Server
                      dkeller

                      I do have the "Accept All Certificates" checked. I tried using "spark.buckeyehq.com" in the Domain field of Spark. I also tried the IP address in the Host field.

                      The error I get for both is "Unknown connection errror. Please review the logs for more information."

                       

                      ==========================================================

                      Jul 21, 2017 4:51:27 PM org.jivesoftware.smack.util.DNSUtil resolveDomain

                      WARNING: Exception while resovling SRV records for spark.buckeyehq.com. Consider adding '_xmpp-(server|client)._tcp' DNS SRV Records

                      javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.spark.buckeyehq.com'

                          at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

                          at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

                          at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

                          at com.sun.jndi.dns.DnsClient.query(Unknown Source)

                          at com.sun.jndi.dns.Resolver.query(Unknown Source)

                          at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

                          at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

                          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

                          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

                          at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

                          at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResol ver.java:78)

                          at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:171)

                          at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:120)

                          at org.jivesoftware.smack.AbstractXMPPConnection.populateHostAddresses(AbstractXMP PConnection.java:574)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:564)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

                          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

                          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

                          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

                          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

                          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

                          at java.lang.Thread.run(Unknown Source)

                       

                      Jul 21, 2017 4:51:48 PM org.jivesoftware.spark.util.log.Log warning

                      WARNING: Exception in Login:

                      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '_xmpp-client._tcp.spark.buckeyehq.com:5222' failed because javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.spark.buckeyehq.com', 'spark.buckeyehq.com:5222' failed because java.net.ConnectException: Connection timed out: connect

                          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

                          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

                          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

                          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

                          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

                          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

                          at java.lang.Thread.run(Unknown Source)

                       

                      Jul 21, 2017 4:52:25 PM org.jivesoftware.spark.util.log.Log warning

                      WARNING: Exception in Login:

                      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '172.16.173.141:5222' failed because java.net.ConnectException: Connection timed out: connect

                          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

                          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

                          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

                          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

                          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

                          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

                          at java.lang.Thread.run(Unknown Source)

                       

                      Jul 21, 2017 4:54:11 PM org.jivesoftware.spark.util.log.Log warning

                      WARNING: Exception in Login:

                      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '172.16.173.141:5222' failed because java.net.ConnectException: Connection timed out: connect

                          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

                          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

                          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

                          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

                          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

                          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

                          at java.lang.Thread.run(Unknown Source)

                       

                      Jul 21, 2017 4:55:07 PM org.jivesoftware.smack.util.DNSUtil resolveDomain

                      WARNING: Exception while resovling SRV records for spark.buckeyehq.com. Consider adding '_xmpp-(server|client)._tcp' DNS SRV Records

                      javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.spark.buckeyehq.com'

                          at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

                          at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

                          at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

                          at com.sun.jndi.dns.DnsClient.query(Unknown Source)

                          at com.sun.jndi.dns.Resolver.query(Unknown Source)

                          at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

                          at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

                          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

                          at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

                          at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

                          at org.jivesoftware.smack.util.dns.javax.JavaxResolver.lookupSRVRecords(JavaxResol ver.java:78)

                          at org.jivesoftware.smack.util.DNSUtil.resolveDomain(DNSUtil.java:171)

                          at org.jivesoftware.smack.util.DNSUtil.resolveXMPPDomain(DNSUtil.java:120)

                          at org.jivesoftware.smack.AbstractXMPPConnection.populateHostAddresses(AbstractXMP PConnection.java:574)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:564)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

                          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

                          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

                          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

                          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

                          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

                          at java.lang.Thread.run(Unknown Source)

                       

                      Jul 21, 2017 4:55:28 PM org.jivesoftware.spark.util.log.Log warning

                      WARNING: Exception in Login:

                      org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '_xmpp-client._tcp.spark.buckeyehq.com:5222' failed because javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '_xmpp-client._tcp.spark.buckeyehq.com', 'spark.buckeyehq.com:5222' failed because java.net.ConnectException: Connection timed out: connect

                          at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.j ava:255)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPC onnection.java:612)

                          at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:850)

                          at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:364)

                          at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1107)

                          at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:335)

                          at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:894)

                          at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java:138)

                          at java.lang.Thread.run(Unknown Source)