Problem: After connecting, openfire servers disconnects from Smack client giving an exception as below –
Connection XMPPTCPConnection[dhee@dheeyantra.com/bot] (0) closed w ith error org.jivesoftware.smack.XMPPException$StreamErrorException: undefined-condition You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120 .html#streams-error-conditions <stream:error><undefined-condition xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>You acknowledged stanzas that we didn't send. Your Ack h: 11, our last stanz a: 10</text></stream:error> at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1057) [smack-tcp-4.3.0.jar:4.3.0]
Fix:
- In Openfire admin too, go to Server Manager => Server Properties
- Set stream.management.active = false
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.