Connection closed on stream management Counter error, there was an error regarding stream counter

connection establishing successfully, but in re connection connection established successfully but after 10 sec its again disconnect my connection and throwing that exception.
W/AbstractXMPPConnection: Connection XMPPTCPConnection[+923151234567@example.com/example-Chat+923151234567] (0) closed with error
org.jivesoftware.smack.sm.StreamManagementException$StreamManagementCounterError: There was an error regarding the Stream Mangement counters. Server reported 182 handled stanzas, which means that the 123 recently send stanzas by client are now acked by the server. But Smack had only 3 to acknowledge. The stanza id of the last acked outstanding stanza is FzR3P-380
at org.jivesoftware.smack.tcp.XMPPTCPConnection.processHandledCount(XMPPTCPConnection.java:1847)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$2600(XMPPTCPConnection.java:149)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1159)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:980)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:996)
at java.lang.Thread.run(Thread.java:818)

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.