Hi all,
I’m trying to setup s2s and have run into a problem. My firewall is configured to allow traffic on 5269, but when I try to add a contact from jabber.org I see this in the debug log:
2007.12.05 13:10:59 OS
2007.12.05 13:10:59 OS - Error, no
SASL mechanisms were offered by jabber.org
2007.12.05 13:10:59 OS - Going to try
connecting using server dialback with: jabber.org
2007.12.05 13:10:59 OS - Trying to
connect to jabber.org:5269(DNS lookup: jabber.org:5269)
2007.12.05 13:10:59 OS -
Connection to jabber.org:5269 successful
2007.12.05 13:10:59 OS - Sent dialback key to
host: jabber.org id: 3337556968 from domain: mydomain.com
Can anyone enlighten me on why I might get a SASL error from jabber.org?
I’m running openfire 3.4.1 with a spark client 2.5.4. I have it set as optional to establish secure connections between servers.
Many thanks!
-Mike
I wouldn’t say that you are getting a SASL error from jabber.org. Instead I would say that jabber.org is not configured to use TLS + SASL EXTERNAL for server-2-server.
Regards,
– Gato
Hmmm, fair enough. But any ideas on how to remedy the problem? I found this existing post with the same issue and posted the full: http://www.igniterealtime.org/community/message/161877#161877
It seems to crap out waiting for a dialback key response from jabber.org. Is there a misconfiguration in my server that’s not accepting the dialback correctly?
See the full log below…
2007.12.10 10:50:41 OS - TLS negotiation with jabber.org was successful
2007.12.10 10:50:41 OS - Error, no SASL mechanisms were offered by jabber.org
2007.12.10 10:50:41 OS - Going to try connecting using server dialback with: jabber.org
2007.12.10 10:50:41 OS - Trying to connect to jabber.org:5269(DNS lookup: jabber.org:5269)
2007.12.10 10:50:41 OS - Connection to jabber.org:5269 successful
2007.12.10 10:50:41 OS - Sent dialback key to host: jabber.org id: 604152653 from domain: mydomain.com
2007.12.10 10:51:01 OS - Time out waiting for answer in validation from: jabber.org id: 604152653 for domain: mydomain.com
2007.12.10 10:51:01 Finishing Outgoing Server Reader. No session to close.
java.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)at
org.jivesoftware.openfire.net.ServerTrafficCounter$InputStreamWrapper.read(Serv erTrafficCounter.java:209)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)at
org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:75)
at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)
at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:317)at
org.jivesoftware.openfire.server.OutgoingServerSocketReader$1.run(OutgoingServe rSocketReader.java:92)2007.12.10 10:51:01 Error sending
packet to remote server:
java.lang.Exception: Failed to create connection to remote serverat
org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:218)at
org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Out goingSessionPromise.java:185)
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)