powered by Jive Software

Connection error connecting from another computer

Dear wroot,
We want to use spark chat in our office environment

Unknown connection errror. Please review the logs for more information.

This message is showing when i want to login on spark chat
This error message is showing in other computer
In my system it is working well

Last 15 days i am very frustrated for this eroor

Can you help me plz

Please tell me how to connect spark chat in another computer
My xammp domain and Fdq… is corporateranking.com

Can you tell me please how to connect spark chat in other computer in my office environment

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:
There is a bunch of files, look through all of them and select events that correlate with the time of your issue.

I got this error

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)

can you send me what is exact srv recods to add in my DNS

You can read this about DNS and SRV. It is for internet access, but also works for local network Explanation: Connecting to your internal server from internet

•_xmpp-client._tcp.elizondointranet.com. 86400 IN SRV 0 5 5222

Sir how many records i have to add in my dns pannel (Only this one written as above)

Please let me know What i will add instead of on the above record

When installing Openfire set XMPP domain to elizondointranet.com and Server’s FQDN say to chat.elizondointranet.com
Then SRV would be
_xmpp-client._tcp.elizondointranet.com. 86400 IN SRV 0 5 5222 chat.elizondointranet.com
And you also would need A record pointing chat.elizondointranet.com to

ok sir, i understood

Ok let me know exact process

i have corporateranking.com domain name . When i install open fire i have already added XMPP domain corporateranking.com and chat.corporateranking.com add ed in FQDN server

but you have wriiten, i didn’t get

And you also would need A record pointing chat.elizondointranet.com to

What is this

how to point this one

After successfully add all these things
Then SRV record have to add in DNS pannel

is it right to add in my dns PANNEl

_xmpp-client._tcp. corporateranking.com. 86400 IN SRV 0 5 5222 chat.corporateranking.com

And how to open Open fire instead of localpath
i want to live path , how to get

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.

Dear Sir,
I got the below address from this URl : How to create DNS SRV record and where?

•_xmpp-client._tcp.elizondointranet.com. 86400 IN SRV 0 5 5222
•_xmpp-server._tcp.elizondointranet.com. 86400 IN SRV 0 5 5269

This is not my IP address
i want to know what i will put instead of this

Please don’t get angry, This is not my Falult

Bytheway Accroding to your procedure i have added SRV record successfully in i-pre.org domain
Still it is not working



When i attempt to login in spark messenger , this error is showing


Sir please reply the above question

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.

Thanks for reply

You replied

I’m guessing you are adding SRV records in your website domain DNS console, which will have no effect in your local network.

In this case what i will do. according to your instruction i have added SRV record for my i-preg.org domain.

AD domain is not here. My boss told me only integrate to spark chat not pre-chat
so please don’t get irritate to me for asking again by again

i have already sent you screen shot of openfire and spark chat
i have already update SRV record in my domain
stiil it is not working



sir, its urgent for me , if you help me i am very thankful to you.

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

spark will work only in local domain/DNS?

Just what i will do in local domain/DNS? i will do it

But it has been already mentioned in Explanation: Connecting to your internal server from internet to add SRV records to access spark chat.

Where i will add SRV records

but you are telling about local domain/DNS. can you please tell me how to connect local domain/DNS.

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…:woozy_face:

Thanks a lot for reply

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.

I don’t understand what you mean by “access from the server”.

Do you only need chat inside organization in the office or also to be able to access it from the internet, outside the office?

Do you have local, inside the office, DNS?

Thanks for your reply

Yes i need chat inside organization in our office not out side the office

Do you have DNS inside the office network?