mndpsngh21 / gtalksms

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

Show as connected but disconnected #259

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect the app
2. Wait 1mn
3. Try to send a command

What is the expected output?
Executing the command

What do you see instead?
Looks disconnected in gTalk and nothing happends
Have to disconnect manually and reconnect later

Additional informations:
Phone model: Galaxy S

Original issue reported on code.google.com by tho071...@gmail.com on 22 Mar 2012 at 9:30

Attachments:

GoogleCodeExporter commented 8 years ago
Do you use a custom ROM like the cyanogen ?

Original comment by Florent....@gmail.com on 27 Mar 2012 at 12:19

GoogleCodeExporter commented 8 years ago
No, a Samsung original ROM, from XDA-Developper (Without all SFR apps ...)
It's the only application with problems over the 25 apps I installed.

Original comment by tho071...@gmail.com on 27 Mar 2012 at 12:23

GoogleCodeExporter commented 8 years ago
The app is green, but shows disconnected in GTalk after ~1mn.

Original comment by tho071...@gmail.com on 27 Mar 2012 at 12:25

GoogleCodeExporter commented 8 years ago
Android 2.3.6
Version I9000XXJVT

Original comment by tho071...@gmail.com on 27 Mar 2012 at 12:26

GoogleCodeExporter commented 8 years ago
Ok, I've got the same issue with the cyanogen.
If you use the WIFI there is no connection issue.
This bug appears for me several weeks ago (I'm trying to find if it's related 
to the ROM or the app with the smack library).

It's under investigation. 

Original comment by Florent....@gmail.com on 27 Mar 2012 at 1:29

GoogleCodeExporter commented 8 years ago
Maybe it has a connection with "Free Mobile" network, but I upgraded the phone 
at the same time.
I haven't tried if the app works correctly on Wifi.

Original comment by tho071...@gmail.com on 27 Mar 2012 at 1:33

GoogleCodeExporter commented 8 years ago
Have you got Free Mobile?
I've got that, and it's maybe due to the roaming.

Original comment by Florent....@gmail.com on 27 Mar 2012 at 1:52

GoogleCodeExporter commented 8 years ago
Yes I have "Free Mobile", and I am in roaming on Orange antennas.

Original comment by tho071...@gmail.com on 27 Mar 2012 at 1:55

GoogleCodeExporter commented 8 years ago
I'm afraid that's our issue.
I'll have a look, maybe there is a roaming option in the ROM.

Original comment by Florent....@gmail.com on 27 Mar 2012 at 1:59

GoogleCodeExporter commented 8 years ago
I tried ICS on my GS2 and I've got the same issue, then I switched the SIM card 
for another ISP with no roaming (Bouygues) and it works...

So we have a confirmation that there is a connection issue with Free ISP 
network.

Original comment by Florent....@gmail.com on 11 May 2012 at 5:22

GoogleCodeExporter commented 8 years ago
I'll work on a workaroud (if it's possible). It will be an option in advanced 
settings panel to ensure the Xmpp connection but the battery lifetime will 
probably be impacted.

Original comment by Florent....@gmail.com on 11 May 2012 at 5:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 19 Jun 2012 at 9:10

GoogleCodeExporter commented 8 years ago
Issue 275 has been merged into this issue.

Original comment by Florent....@gmail.com on 19 Jun 2012 at 11:10

GoogleCodeExporter commented 8 years ago
I've noticed this same issue, only I am not roaming. Connection will drop 
seemingly at random when on mobile, and will almost always drop when switching 
between connection modes (3/2g to WiFi and vice versa). It's understandable 
that the connection would drop, but it should really be able to detect a stale 
connection and reconnect as necessary.

Does GTalkSMS not issue periodic XMPP pings to test the connection? I think a 
configurable ping interval would be beneficial here, and alleviate a lot of the 
connection issues people are facing.

Original comment by rob.pe...@gmail.com on 3 Jan 2013 at 9:16

GoogleCodeExporter commented 8 years ago
XMPP Ping support is in the latest dev version of GTalkSMS and I just commited 
the patches upstream to Smack. :)

Original comment by fschm...@gmail.com on 4 Jan 2013 at 12:39

GoogleCodeExporter commented 8 years ago
So was this fix in the 4.3 release? Because I'm still seeing the issue...

Original comment by rob.pe...@gmail.com on 3 Feb 2013 at 6:59

GoogleCodeExporter commented 8 years ago
Users who experience this should *always* send a debug log along with some 
detailed information how the issues manifests for you and the name of your 
mobile carrier. Without that we can't really help you there.

Please note that no matter what we do, the app can't detect a stalled 
connection immediately. There is always a grace period that should be within 
the minutes range after that the reconnection should take place.

Please some mobile carriers (thankfully no German carrier does that atm) tend 
to disconnected TCP connections after a very short time, which, of course 
provokes stalled connections. That's why some users see that problem more 
often. 

Original comment by fschm...@gmail.com on 3 Feb 2013 at 9:20

GoogleCodeExporter commented 8 years ago
Understood. I know it won't detect the dead connection immediately, but 
sometimes it stays disconnected for over an hour before it realizes it's no 
longer connected. This is also happening on WIFI, not just mobile. I'm with 
Rogers for mobile, and Shaw for my WIFI internet.

Where are the debug logs stored? Or do I need to logcat it until it happens 
again?

Original comment by rob.pe...@gmail.com on 3 Feb 2013 at 9:40

GoogleCodeExporter commented 8 years ago
Hrm, something strange is going on. It looks like the account only appears to 
be offline. The connection status in the app show green, and a manual ping 
reports green, but the account still appears offline, even to the app itself 
(under 'Buddies'). Additionally it can't seem to receive commands in new 
conversations initiated by other accounts. If I manually execute a command in 
the commands tab on the app, it will open a new conversation with my linked 
jabber accounts, and that one will be able to send and receive commands 
normally.

I think this is more of an issue with the jabber server than anything (I'm 
using jabber.org for both the app and controlling accounts). I'll try switching 
to a different one to see if that performs any better.

Original comment by rob.pe...@gmail.com on 3 Feb 2013 at 11:47

GoogleCodeExporter commented 8 years ago
I switched to a different public XMPP server, and the issue seems to have 
disappeared. Thanks for making such an excellent app!

Original comment by rob.pe...@gmail.com on 4 Feb 2013 at 7:02

GoogleCodeExporter commented 8 years ago
I experience the exact same issue as yours. Please could you tell us which 
public XMPP server are you using successfully now?

Original comment by bruno.bi...@gmail.com on 25 Feb 2013 at 5:29

GoogleCodeExporter commented 8 years ago
wtfismyip.com

Original comment by rob.pe...@gmail.com on 25 Feb 2013 at 5:54

GoogleCodeExporter commented 8 years ago
wtfismyip.com does not seem to be a XMPP server?

Original comment by bruno.bi...@gmail.com on 25 Feb 2013 at 5:58

GoogleCodeExporter commented 8 years ago
Sorry, here's the full URL to their registration page:
http://wtfismyip.com/jabber/

Original comment by rob.pe...@gmail.com on 25 Feb 2013 at 6:06

GoogleCodeExporter commented 8 years ago
hi all! i see this problem too, on both wifi and cell data. gtalksms 4.3 on 
android 4.3 on a nexus 4, both accounts on google talk.

the new manual ping feature has helped a lot. when i'm in this state, clicking 
the ping button on the connection status tab always fixes it. (i believe the 
icon on that tab is usually yellow when it's in that state.)

rob's suggestion to ping at a regular interval makes sense to me. any chance 
you could add that? we'd definitely appreciate it!

Original comment by heaven on 31 Aug 2013 at 5:13

GoogleCodeExporter commented 8 years ago
I have been experiencing this issue regularly. Also on a nexus 4 with android 
4.3. It has become so bad that I've had to stop using gtalksms and have moved 
to a combination of using MightyText and chrome-to-phone. Am hoping that this 
and other issues will be taken care of soon so I can use gtalksms again.

Original comment by t...@gettheitguy.com on 31 Aug 2013 at 5:13

GoogleCodeExporter commented 8 years ago
New ping setting added.
With my ISP (Free mobile) I need to set the ping interval to 90s.
Default value is 600s.

Original comment by Florent....@gmail.com on 15 Oct 2013 at 8:49

GoogleCodeExporter commented 8 years ago
4.4.2 Beta 2 available in the Download section

Original comment by Florent....@gmail.com on 18 Oct 2013 at 10:14

GoogleCodeExporter commented 8 years ago
awesome! thanks for doing this. i've installed the beta. fingers crossed!

Original comment by heaven on 19 Oct 2013 at 12:26

GoogleCodeExporter commented 8 years ago
Final version 4.4.2 available in the Download section

Original comment by Florent....@gmail.com on 20 Oct 2013 at 7:37

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 26 Oct 2013 at 1:07