0 Replies Latest reply on Sep 21, 2017 5:01 AM by Nitesh Singh

    Connection error

    Nitesh Singh

      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)