You have been told a number of times in chat to fix your DNS. If you don’t have experience with DNS/networking, it will be very hard or even impossible to deal with this issue.
Anyway, on PC that you fail to connect check the logs.
Error Logs:
C:\Users\User\AppData\Roaming\Spark\logs
There is a bunch of files, look through all of them and select events that correlate with the time of your issue.
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)
First of all don’t post in other forum topics or the first topic you find. Post only in this topic. Do you know how forums work?
You have provided this IP address yourself in the comment above and now you are asking me what it is? Why do you constantly change domain names? I’m starting to think you are just a troll and maybe i should ban you…
If you don’t know what A record is or how to create it in DNS i suggest hiring some network administrator to setup everything for you. You’ve already wasted enough time that amounts to a payment to a specialist that would setup everything in an hour or less.
I’m not angry, just annoyed that you are wasting our (and your) time by providing conflicting information every time.
Also, do not demand replies or send private messages. This is not a professional support. We are volunteers here and reply when we can.
I’m curious. Are you an IT/systems administrator in this company?
I’m guessing you are adding SRV records in your website domain DNS console, which will have no effect in your local network.
Do you need to be able to connect with Spark from the internet or only from the local network/office?
Do you have an AD domain in your local network? If you don’t need connection from the internet, you can just create an A record or alias in local DNS console and point your desired xmpp domain name to that local PC name or its IP. But i would suggest not using real website domain name in that case, but call it say i-pre-chat.
If you want this server be available from the internet, you will have to configure your internet facing firewall/router to forward 5222 port to your local network.
Your boss should task this with a systems administrator or hire one instead of assigning this to a developer.
If you have no local domain/DNS there is nothing i can suggest.
You can remove these SRV records from your website DNS as they are not doing anything.
I don’t care if this is urgent. We all have daily jobs and are not providing professional services in this forums. If you want something done quickly, you pay for software and services. You can try contacting GoodBytes or others here and agree on payment, then maybe someone will be able to help you. http://www.igniterealtime.org/support/service_providers.jsp
Local DNS is required in both cases, either for the local usage only or for local+internet access.
SRV records needed if you want to access a server from internet and not necessary for local usage only, but will not harm if you have them. SRV records are added on an internet domain DNS, which you already tried to do. Although you haven’t said if you actually need access from the internet, so not sure if they are really needed.
I’ve already told you what to do in local DNS. Create either A or alias/cname record and point it to PC name or its IP where Openfire is installed. This shouldn’t be so hard if you were a network administrator. Now it feels like i’m trying to talk about car repair with a cook…
sir, i want to access spark chat form server. Is it possible? because i have already added SRV records in my DNS pannel. But when i try to put my domain i-pre.org in spark chat it is showing the error i.e unknown connection error.
if it is not possible throw server i will do through local DNS.