Project

General

Profile

Bug #446

Terminates or hungs up immediately after lost connectivity

Added by Anonymous over 12 years ago. Updated almost 12 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
07/24/2012
Due date:
% Done:

0%

Estimated time:
Affected version:
0.1.7
Locale:
Close

Description

I think it may be related to Bug #444

Observed:
When connectivity is lost (e.g. WiFi turned off) Beem immediately disappears from notifications bar. When connectivity is back, after relaunching the application goes into a kind of unresponsive state, buddies are not visible in the roster, "Disconnect" button does not work. It is possible to reconnect only after some time passes. (Maybe after the connection is dropped by the server?)

The issue is problematic if the network connectivity is unstable. Desired behaviour would be that Beem would automatically reconnect after network connectivity is regained.

#1

Updated by J Pinkava almost 12 years ago

I did not see the problem with werd buddies state, but other is identical for my.
The same problem applies for latest development version (c337d8c387f5). Bellow is attached log which I presume describes this error.

D/SMACK (27927): 11:59:49 dop. Connection closed due to an exception (1091990272)
W/System.err(27927): javax.net.ssl.SSLException: Read error: ssl=0x35e420: I/O error during system call, Connection timed out
W/System.err(27927): at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_read(Native Method)
W/System.err(27927): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:671)
W/System.err(27927): at java.io.InputStreamReader.read(InputStreamReader.java:244)
W/System.err(27927): at java.io.BufferedReader.read(BufferedReader.java:310)
W/System.err(27927): at org.jivesoftware.smack.util.ObservableReader.read(ObservableReader.java:42)
W/System.err(27927): at org.kxml2.io.KXmlParser.fillBuffer(KXmlParser.java:1496)
W/System.err(27927): at org.kxml2.io.KXmlParser.peekType(KXmlParser.java:979)
W/System.err(27927): at org.kxml2.io.KXmlParser.next(KXmlParser.java:346)
W/System.err(27927): at org.kxml2.io.KXmlParser.next(KXmlParser.java:310)
W/System.err(27927): at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:320)
W/System.err(27927): at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
W/System.err(27927): at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:69)
I/qtaguid ( 389): Failed write_ctrl(u 71) res=-1 errno=22
I/qtaguid ( 389): Untagging socket 71 failed errno=-22
W/NetworkManagementSocketTagger( 389): untagSocket(71) failed with errno -22
D/ConnectivityService( 232): handleInetConditionChange: no active default network - ignore
I/BeemService(27927): Stopping the service

Also available in: Atom PDF