What is the /resource in your example (nick@server/resource)? To add a user to my roster I am adding, for example, “joes@office2” (without the double quotes).
From a networking perspective I believe that I am all set.
Assuming that the xmpp.domain is office1 and office2 repectively, I can:
telnet office2 5269 from office1
and
telnet office1 5269 from office2
I both cases the connection opens up. This means the ports are open on both sides, that port forwarding is working on both sides, and that DNS is setup properly.
Still I am unable to add users that are on a remote server. I get the following exception in the log file that I believe is related:
2006.11.01 18:33:51 [org.jivesoftware.wildfire.server.ServerDialback.createOutgoingSession(ServerDi alback.java:217)
] Error creating outgoing session to remote server: office1(DNS lookup: office1)
org.xmlpull.v1.XmlPullParserException: expected start tag name and not / (position: START_DOCUMENT seen </… @1:2)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1475)
at org.jivesoftware.wildfire.net.MXParser.nextImpl(MXParser.java:331)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.wildfire.server.ServerDialback.createOutgoingSession(ServerDia lback.java:177)
at org.jivesoftware.wildfire.server.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:350)
at org.jivesoftware.wildfire.server.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:140)
at org.jivesoftware.wildfire.server.OutgoingSessionPromise.createSessionAndSendPac ket(OutgoingSessionPromise.java:130)
at org.jivesoftware.wildfire.server.OutgoingSessionPromise.access$300(OutgoingSess ionPromise.java:40)
at org.jivesoftware.wildfire.server.OutgoingSessionPromise$1$1.run(OutgoingSession Promise.java:95)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
What am I doing wrong?
Erasmus