romuel / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

New autoreconnect feature fails (hangs) if connection attempt fails #162

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is more significant than the resizing problem.  If a connection 
attempt fails on a site in autoreconnect mode, everything will hang at 
that point until manually closed down.  So, if you have a connection and 
move into an area without one, autoreconnect will try once to reconnect, 
fail, and everything will cease at that point.

Autreconnect should keep trying in such cases, though perhaps with a delay 
(at least a minute?  more?  sliding backoff?) to avoid too much 
thrashing.  Another possibility would be to use one reconnect algorithm if 
connection attempts were failing but a good signal was present, vs. the 
situation when a signal is not present (so we know a connection attempt 
right then would be useless).

Original issue reported on code.google.com by lauren4...@gmail.com on 7 Jul 2009 at 11:03

GoogleCodeExporter commented 8 years ago

Original comment by kenny@the-b.org on 14 Aug 2009 at 11:37

GoogleCodeExporter commented 8 years ago
Especially frustrating given issue 299 -> tunnel goes down; one reconnect 
attempt fails; CPU ~85% (on evo4g froyo) forever after.

Original comment by kael.fis...@gmail.com on 20 Oct 2010 at 7:26

GoogleCodeExporter commented 8 years ago
I have similar behavior with latest version of connectbot on DInc (latest 
original Verizon 2.2 firmware , rooted).

For example, going down to subway (where mobile network is not available) and 
then out, ConnectBot doesn't try to reconnect anymore when out of subway. 
Connection is lost for good, unless I try to reconnect manually.

In cases where provider chooses to give your phone a "private" IP address (like 
Verizon and most others), using ConnectBot to establish and maintain a VPN 
tunnel with your chosen server (with reverse port forwarding) is one of the 
only universal ways of connecting remotely to your phone. But only if a tunnel 
is stable and reliable, i.e. can reconnect automatically when network 
conditions change.

Great app!  Just need to make it stable for background 24x7 service-like 
operation.

Original comment by dmitry.l...@gmail.com on 29 May 2011 at 4:24

GoogleCodeExporter commented 8 years ago
Same thing here (Sidekick 4G) -- establishing tunnel with my home server, but 
the tunnel goes down as the wireless signal goes down, and never reconnects 
when the connection is back. Absolutely positively need a way to keep it up 
whenever the connection is possible.

Original comment by WeshaThe...@gmail.com on 8 Jun 2011 at 11:58

GoogleCodeExporter commented 8 years ago
Bump: I have a WiFi-only tablet, and enter and leave hotspots continuously, 
even on the train.  Having to close the session and reopen is a pain; I've 
missed emails and IMs because of this.

Original comment by prr65...@gmail.com on 5 Jul 2012 at 6:44

GoogleCodeExporter commented 8 years ago
I use now ConnectBot over about 2 years. But having not reconnect automatically 
working reliably is a pain!

Please finally fix this. How can I help with spending money to get this fixed 
quickly?

Original comment by ccder...@gmail.com on 20 Jul 2012 at 2:36