powered by Jive Software

Unknown Connection Error. Please review the logs for more information


#1

Morning please assist me, for some reason on some of our windows 7 pc’s I’m getting this error - Unknown Connection Error. Please review the logs for more information. I can log in on a number of other pc’s in our office

Jan 05, 2018 8:08:08 AM org.jivesoftware.smack.util.DNSUtil resolveDomain
WARNING: Exception while resovling SRV records for 172.80.3.5. 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.80.3.5’
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(JavaxResolver.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(AbstractXMPPConnection.java:574)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:564)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:850)
at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java: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)

Jan 05, 2018 8:08:08 AM org.jivesoftware.spark.util.log.Log warning
WARNING: Exception in Login:
java.net.SocketException: Unconnected sockets not implemented
at javax.net.SocketFactory.createSocket(Unknown Source)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:572)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:850)
at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java: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)
Caused by: java.lang.UnsupportedOperationException


#2

Do you use ip address instead of a domain name on all machines? Then maybe working ones connect differently to the network, have different dns settings? Error says that Spark tries to find domain name based on ip in your dns, which obviously doesn’t exist.


#3

All pc’s uses th ip addresses, if I tick login as invisable then it works and if I un-tick use old SSL under advanced settings then it gives me incorrect password


#4

This is weird. Maybe Invisible login code uses its own login code instead of the common one. As i’m not a developer, can’t really tell. You shouldn’t use old SSL at all. If it doesn’t work with usual SSL, then again, something is wrong in your network and setup. But it will be almost impossible to find out via forums.

I would try to setup everything correctly, with domain name, correct DNS entries, etc. instead of IP. Maybe it will help to overcome your network’s issues.
That’s my blog on setting it up correctly with domain name http://www.wroot.lt/wp/technology/very-basic-openfire-spark-guide-en/
You can find a part about SRV records in this video guide How To: Video on setting up SSO/AD with Openfire


#5

Great thanks will give it a go and will let you know