powered by Jive Software

Smack Issue "Undefined_condition"

Hi, Im using openfire 4.2.2 (connected to openLDAP), smack 4.2.3. Android client gets disconnected all the time (I handle the disconnections but messages received in this time window may be lost)
This is the trace of the error:
Connection XMPPTCPConnection[laura@activage.lst.tfo.upm.es/Activeaging] (0) closed with 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:errorYou acknowledged stanzas that we didn’t send. Your Ack h: 18, our last stanza: 15</stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1058)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:994)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1010)
at java.lang.Thread.run(Thread.java:818)

That’s an known openfire issue. Simply disable stream management on the client or server side.