I’m aware of two scenarios where this is happening 1) After request time using EntityTimeManager 2) After send a message to any chatĪs extra information, I’m using the PingManager to keep connection alive and that works ok until I try to send one of the packets mentioned previously. W/XMPPConnection(11370): at .PacketReader$1.run(PacketReader.java:82)ĭ/SMACK (11370): Connection closed due to an exception (0)ĭ/dalvikvm( 2213): GC_CONCURRENT freed 379K, 4% free 17966K/18548K, paused 1ms+2ms, total 19msĭ/MyApp (11370): MyAppMessagingService: Reconnecting to XMPP in, 5, seconds,ĭ/SMACK (11370): Connection (0) will reconnect in 5ĭ/MyApp (11370): MyAppMessagingService: Reconnecting to XMPP in, 4, seconds,ĭ/SMACK (11370): Connection (0) will reconnect in 4ĭ/MyApp (11370): MyAppMessagingService: Reconnecting to XMPP in, 3, seconds,ĭ/SMACK (11370): Connection (0) will reconnect in 3ĭ/MyApp (11370): MyAppMessagingService: Reconnecting to XMPP in, 2, seconds,ĭ/SMACK (11370): Connection (0) will reconnect in 2ĭ/MyApp (11370): MyAppMessagingService: Reconnecting to XMPP in, 1, seconds,ĭ/SMACK (11370): Connection (0) will reconnect in 1ĭ/MyApp (11370): MyAppMessagingService: Reconnecting to XMPP in, 0, seconds,ĭ/SMACK (11370): Connection (0) will reconnect in 0 W/XMPPConnection(11370): at .PacketReader.access$000(PacketReader.java:48) W/XMPPConnection(11370): at .PacketReader.parsePackets(PacketReader.java:174) W/XMPPConnection(11370): at .PacketParserUtils.parseContentDepth(PacketParserUti ls.java:161) Time for a class action lawsuit 1 more reply deleted 5 mo. Honestly, even without the terms, it is clear that you should be paid for your resources. W/XMPPConnection(11370): : Parser should never return ‘null’ on getText() here If Packetstream used your resources, and the terms show that they are to pay you for those resources, and they didn't.then sure, there is legal ground. W/XMPPConnection(11370): Connection closed with error Please take a look into the following logs: I’ve researched about the exception but there is no information about it, so hope that someone can help me to find the problem.īasically what it is happening is that after sent some kind of packets the smack client is trying to send this packet “” causing an IllegalStateException and start the reconnection process. My Android app is running aSmack 4.0.0, so far aSmack is helping a lot in my project, the mobile app is able to connect, authenticate, extent for custom features and send/receive packages as expected but, I’ve a weird problem in some scenarios that is causing an unexpected connection shutdown. I’m developing an Android messaging application that is connected to a server running ejabberd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |