sxiii / gtalksms

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

"Login failed" throws when wifi is active #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect gtalksms over 3g.
2. Activate wifi. My access point is primarily WPA2-Personal encrypted, the 
SSID for me is synapse
3. gtalk will start throwing a "login failed" popup over anything active.

What is the expected output? What do you see instead?
gtalk should tolerate the introduction of a wifi point. Instead, it errors out 
with a "login failed" error, even when already logged in. Didn't seem to occur 
in earlier builds.

What version of the product are you using? On what operating system?

1.4

Starting gtalksms after wifi is enabled appears to work.

Please provide any additional information below.

Original issue reported on code.google.com by chriscar...@gmail.com on 30 Dec 2010 at 4:56

GoogleCodeExporter commented 8 years ago
I too see this to some extent - it tries to reconnect and almost never succeeds 
on the first attempt.  For me, it *usually* ends up succeeding but occasionally 
gives up retrying.  I think what happens is:
* We get notified of 3g going down so disconnect.
* We get notified the wifi connection is coming up as the "fallback" network.  
I suspect this happens before the network is actually available.
* We start connection attempts immediately, but run out of retries before it 
becomes available.
* By the time you manually attempt to reconnect the network is up, so things 
work.

I think tweaking the retry strategy would help here - we should probably use an 
exponential timeout - eg, first retry is at 5, second at 10, third at 20, 
fourth at 40 and fifth at 80 - currently it is 5, 10, 15, 20, 25.

Any thoughts on that?

Original comment by skippy.hammond@gmail.com on 30 Dec 2010 at 5:27

GoogleCodeExporter commented 8 years ago
Are you using Jabber or GTalk ? 
I have already have this issue but it's was due to jabber servers. Next day it 
was working fine.
Or you may have enter a bad username...
Login is 2nd step of connection. First with have the connection to the service 
and it's seems to work fine else you should have "xmpp connection failed" 

Original comment by Florent....@gmail.com on 30 Dec 2010 at 10:42

GoogleCodeExporter commented 8 years ago
Seems to be not reproduced, I'm closing bug for now. Reopen it if necessary

Original comment by Florent....@gmail.com on 1 Jan 2011 at 9:57

GoogleCodeExporter commented 8 years ago
Definitely not fixed as of 1.5 that hit market tonight. The error has changed 
to "connection failed" and if you switch to the app, you see the light toggle 
from green to yellow and back again. This only occurs if the app was already 
up, running, and connected over 3g when wifi connected. 

Original comment by chriscar...@gmail.com on 2 Jan 2011 at 1:33

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 2 Jan 2011 at 1:52

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 2 Jan 2011 at 11:20

GoogleCodeExporter commented 8 years ago
I hope this one is the good one.
I've done some modifications in reconnection process but I'm not totally sure 
that's fix the issue because I can't reproduce on my phone...
To reopen if necessary

Original comment by Florent....@gmail.com on 4 Jan 2011 at 10:22

GoogleCodeExporter commented 8 years ago

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