Hello everyone,
I've been using Smack to create a Facebook's chat at my website. The users can login in their account and connect with the Facebook's Chat inside our website. So, there are concurrently a lot of users using the chat.
It's been working ok until now. This night, at 04:00 am, the server stoped responding. When we saw the log, there were a lot of exceptions of the same type happening recurrently, like it was a loop. Since there's none of our classes in the stacktrace, I think it was happening in one of the Smack's threads.
This is the stacktrace:
java.io.EOFException: no more data available - expected end tag </stream:stream> to close start tag <stream:stream> from line 1, parser stopped on END_TAG seen ...</mechanisms></stream:features>... @1:349
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:325)
at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
Thanks in advance of the attention.