Hi support,
I have a kontalk client requesting my local tigase xmpp server. It can establish connection and send XML stream to the server. But the server failed to response the EXTERNAL sasl mechanism XML. Below are log from the client:
01-02 13:27:24.491 D/SMACK ( 684): SENT (22): <stream:stream xmlns='jabber:client' to='siuyinjanice.ddns.net' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
01-02 13:27:24.495 D/SMACK ( 684): RECV (22): <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='siuyinjanice.ddns.net' id='20be2159-edde-45fa-a431-b06603fe4c0b' version='1.0' xml:lang='en'>
01-02 13:27:24.515 D/SMACK ( 684): RECV (22): <stream:features><sm xmlns="urn:xmpp:sm:3"/><roster xmlns="http://kontalk.org/extensions/roster"/><ver xmlns="urn:xmpp:features:rosterver"/><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>KONTALK-TOKEN</mechanism><mechanism>PLAIN</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><csi xmlns="urn:xmpp:csi:0"/></stream:features>
01-02 13:27:24.515 D/SMACK ( 684): SENT (22): <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>
01-02 13:27:24.527 D/SMACK ( 684): RECV (22): <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
01-02 13:27:24.731 D/SMACK ( 684): SENT (22): <stream:stream xmlns='jabber:client' to='siuyinjanice.ddns.net' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
01-02 13:27:24.735 D/SMACK ( 684): RECV (22): <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='siuyinjanice.ddns.net' id='20be2159-edde-45fa-a431-b06603fe4c0b' version='1.0' xml:lang='en'>
01-02 13:27:24.779 D/SMACK ( 684): RECV (22): <stream:features><sm xmlns="urn:xmpp:sm:3"/><roster xmlns="http://kontalk.org/extensions/roster"/><ver xmlns="urn:xmpp:features:rosterver"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>EXTERNAL</mechanism><mechanism>KONTALK-TOKEN</mechanism><mechanism>PLAIN</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><csi xmlns="urn:xmpp:csi:0"/></stream:features>
01-02 13:27:24.779 D/SMACK ( 684): SENT (22): <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='EXTERNAL'>=</auth>
01-02 13:27:39.783 E/MessageCenterService( 684): connection error
01-02 13:27:39.783 E/MessageCenterService( 684): org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 15000ms (~15s). Used filter: No filter used or filter was 'null'.
01-02 13:27:39.783 E/MessageCenterService( 684): at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:250)
01-02 13:27:39.783 E/MessageCenterService( 684): at org.jivesoftware.smack.tcp.XMPPTCPConnection.loginNonAnonymously(XMPPTCPConnection.java:374)
01-02 13:27:39.783 E/MessageCenterService( 684): at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:457)
01-02 13:27:39.783 E/MessageCenterService( 684): at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:415)
01-02 13:27:39.783 E/MessageCenterService( 684): at org.kontalk.service.XMPPConnectionHelper.connectOnce(XMPPConnectionHelper.java:204)
01-02 13:27:39.783 E/MessageCenterService( 684): at org.kontalk.service.XMPPConnectionHelper.connect(XMPPConnectionHelper.java:254)
01-02 13:27:39.783 E/MessageCenterService( 684): at org.kontalk.service.XMPPConnectionHelper.run(XMPPConnectionHelper.java:137)
01-02 13:27:39.783 D/MessageCenterService( 684): retrying in 1 seconds (retry=1)
Also attached tigase server log.
tigase.log.0.txt
Please kindly advise how to fix this. Thanks.
question