baqir123 / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

GTalkSMS doesn't reconnect. #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here's an applog + system log from a random disconnection.

From applog:

07-05 16:57:40.669 W/gtalksms(28293): xmpp disconnected due to error: 
07-05 16:57:40.669 W/gtalksms(28293): java.io.IOException: Read error: I/O 
error during system call, Connection reset by peer
07-05 16:57:40.669 W/gtalksms(28293): at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativeread(Native 
Method)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.access$300(OpenSSLSocket
Impl.java:55)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.read(Open
SSLSocketImpl.java:542)
07-05 16:57:40.669 W/gtalksms(28293): at 
java.io.InputStreamReader.read(InputStreamReader.java:275)
07-05 16:57:40.669 W/gtalksms(28293): at 
java.io.BufferedReader.read(BufferedReader.java:338)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.kxml2.io.KXmlParser.peek(KXmlParser.java:931)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.kxml2.io.KXmlParser.pushText(KXmlParser.java:881)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:354)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.kxml2.io.KXmlParser.next(KXmlParser.java:1385)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:326)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
07-05 16:57:40.669 W/gtalksms(28293): at 
org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:71)

System log around that time:

07-05 16:57:14.993 D/dalvikvm(  128): GC_EXPLICIT freed 34344 objects / 1535752 
bytes in 370ms
07-05 16:57:20.855 D/dalvikvm(29547): GC_FOR_MALLOC freed 7524 objects / 442272 
bytes in 104ms
07-05 16:57:20.865 I/Gmail   (29547): MainSyncRequestProto: lowestBkwdConvoId: 
0, highestHandledServerOp: 1649663, normalSync: true
07-05 16:57:20.875 D/NativeCrypto(29547): Freeing OpenSSL session
07-05 16:57:22.005 D/dalvikvm(29547): GC_EXPLICIT freed 4669 objects / 223896 
bytes in 100ms
07-05 16:57:22.015 I/Gmail   (29547): MainSyncRequestProto: lowestBkwdConvoId: 
0, highestHandledServerOp: 1649671, normalSync: true
07-05 16:57:40.169 I/Gmail   (29547): MainSyncRequestProto: lowestBkwdConvoId: 
0, highestHandledServerOp: 1649671, normalSync: true
07-05 16:57:40.399 W/System.err(28293): java.io.IOException: Write error: I/O 
error during system call, Broken pipe
07-05 16:57:40.520 W/System.err(28293):     at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativewrite(Native 
Method)
07-05 16:57:40.520 W/System.err(28293):     at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.access$600(OpenSSLSocket
Impl.java:55)
07-05 16:57:40.529 W/System.err(28293):     at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLOutputStream.write(Op
enSSLSocketImpl.java:583)
07-05 16:57:40.529 W/System.err(28293):     at 
java.io.OutputStreamWriter.flush(OutputStreamWriter.java:175)
07-05 16:57:40.529 W/System.err(28293):     at 
java.io.BufferedWriter.flush(BufferedWriter.java:158)
07-05 16:57:40.529 W/System.err(28293):     at 
org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:210)
07-05 16:57:40.529 W/System.err(28293):     at 
org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:42)
07-05 16:57:40.529 W/System.err(28293):     at 
org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:78)
07-05 16:57:40.549 W/System.err(28293): java.io.IOException: Read error: I/O 
error during system call, Connection reset by peer
07-05 16:57:40.589 W/System.err(28293):     at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativeread(Native 
Method)
07-05 16:57:40.589 W/System.err(28293):     at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.access$300(OpenSSLSocket
Impl.java:55)
07-05 16:57:40.589 W/System.err(28293):     at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.read(Open
SSLSocketImpl.java:542)
07-05 16:57:40.589 W/System.err(28293):     at 
java.io.InputStreamReader.read(InputStreamReader.java:275)
07-05 16:57:40.589 W/System.err(28293):     at 
java.io.BufferedReader.read(BufferedReader.java:338)
07-05 16:57:40.589 W/System.err(28293):     at 
org.kxml2.io.KXmlParser.peek(KXmlParser.java:931)
07-05 16:57:40.599 W/System.err(28293):     at 
org.kxml2.io.KXmlParser.pushText(KXmlParser.java:881)
07-05 16:57:40.599 W/System.err(28293):     at 
org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:354)
07-05 16:57:40.599 W/System.err(28293):     at 
org.kxml2.io.KXmlParser.next(KXmlParser.java:1385)
07-05 16:57:40.599 W/System.err(28293):     at 
org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:326)
07-05 16:57:40.599 W/System.err(28293):     at 
org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
07-05 16:57:40.599 W/System.err(28293):     at 
org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:71)
07-05 16:57:40.669 W/gtalksms(28293): xmpp disconnected due to error: 
07-05 16:57:40.669 W/gtalksms(28293): java.io.IOException: Read error: I/O 
error during system call, Connection reset by peer
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativeread(Native 
Method)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.access$300(OpenSSLSocket
Impl.java:55)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.read(Open
SSLSocketImpl.java:542)
07-05 16:57:40.669 W/gtalksms(28293):   at 
java.io.InputStreamReader.read(InputStreamReader.java:275)
07-05 16:57:40.669 W/gtalksms(28293):   at 
java.io.BufferedReader.read(BufferedReader.java:338)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.kxml2.io.KXmlParser.peek(KXmlParser.java:931)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.kxml2.io.KXmlParser.pushText(KXmlParser.java:881)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:354)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.kxml2.io.KXmlParser.next(KXmlParser.java:1385)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:326)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
07-05 16:57:40.669 W/gtalksms(28293):   at 
org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:71)
07-05 16:57:40.689 I/gtalksms(28293): broadcasting state transition from 2 to 4 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
07-05 16:57:40.719 I/gtalksms(28293): maybeStartReconnect scheduling retry in 
5000
07-05 16:57:40.849 I/gtalksms(28293): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
07-05 16:57:40.849 I/gtalksms(28293): teardownListenersForConnection()
07-05 16:57:40.899 I/gtalksms(28293): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
07-05 16:57:40.949 I/gtalksms(28293): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 4
07-05 16:57:40.949 I/gtalksms(28293): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 4

Additional informations:
Phone model: <enter phone model>

Original issue reported on code.google.com by Eckankar on 5 Jul 2011 at 3:25

GoogleCodeExporter commented 9 years ago
Oh, forgot to attach the following info:

GTalkSMS Version: 2.2.4
Android API: 8
Kernel info: 2.6.29.6Villain-Fly-flykernel-11c
pulser@new )
#2 PREEMPT Mon Nov 15 18:07:52 CET 2010

Original comment by Eckankar on 5 Jul 2011 at 3:26

GoogleCodeExporter commented 9 years ago
Thanks for the detailed report. This looks like a problem on the server-side:

07-05 16:57:40.669 W/gtalksms(28293): java.io.IOException: Read error: I/O 
error during system call, Connection reset by peer

Nothing we can do here. Does the reconnect succeed? 

Original comment by fschm...@gmail.com on 8 Jul 2011 at 11:54

GoogleCodeExporter commented 9 years ago
I'm not sure of how many times it happens when the reconnect does succeed, but 
it happens a fair bit where it doesn't reconnect - the icon is still green, so 
the app must still think it's connected.

Original comment by Eckankar on 8 Jul 2011 at 11:57

GoogleCodeExporter commented 9 years ago
If you still having issues with GTalkSMS beeing not able to reconnect after 
some time, then please send an applog.

Original comment by fschm...@gmail.com on 25 Aug 2011 at 10:50

GoogleCodeExporter commented 9 years ago

Original comment by fschm...@gmail.com on 25 Aug 2011 at 10:51

GoogleCodeExporter commented 9 years ago

Original comment by fschm...@gmail.com on 9 Sep 2011 at 9:43