AnsweredAssumed Answered

Connection error

Question asked by Nitesh Singh on Sep 21, 2017

Hi all,

Why I am getting this exception after one minute of successfully authentication..

Connection XMPPTCPConnection[] (0) closed with error

                                                                     org.jivesoftware.smack.SmackException: Parser got END_DOCUMENT event. This could happen e.g. if the server closed the connection without sending a closing stream element

                                                                         at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPC onnection.java:1226)

                                                                         at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPCon nection.java:981)

                                                                         at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnecti on.java:997)

                                                                         at java.lang.Thread.run(Thread.java:761)

Outcomes