Bug 17109 - Eastman unhappy when not connected to internet
: Eastman unhappy when not connected to internet
Status: RESOLVED FIXED
Product: Controller App
Classification: Unclassified
Component: Networking
: unspecified
: PC Android (please specify version)
: P2 normal
: 1.2
Assigned To: sseeni
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-30 18:24 UTC by George Borden
Modified: 2011-05-12 21:45 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George Borden 2011-03-30 18:24:24 UTC
All versions of Eastman that I've used that are 1.1 or later behave poorly when using a local lan that is not connected to the internet.

Reproduce:
1) Set up a private lan with no internet connection
2) Connect some radios and a touch to the lan and use the touch as the server
3) Try to use Eastman (post setup, since Eastman won't complete initial registration until you enter you account information and let it verify that to mysb.com)

Poor behavior:
4) Eastman reports errors in getting to the internet.
5) Eastman often looses players or endlessly searches for players.

Expected behavior:
Eastman works normally without reporting errors.
Comment 1 Michael Herger 2011-03-31 06:24:56 UTC
You should only get an error message in two cases: soon after the start, and when you try to bring up the player list.

This is related to trying to get the players from mysb.com. If there was no error message, we would see a bug report saying "no message when there's no access to mysb.com". Actually I'm not even sure that that hasn't happened already...

So we can't really just get rid of it. We might re-think when and how it should be presented though.
Comment 2 Michael Herger 2011-04-21 05:35:24 UTC
I was able to reproduce the issue: our check for network availability checks against an external source. If this can't be reached, Eastman wouldn't even poll for players in the LAN
Comment 3 SVN Bot 2011-04-21 05:36:25 UTC
 == Auto-comment from SVN commit #8404 to the player repo by mherger ==
 == http://svn.slimdevices.com/player?view=revision&revision=8404 ==

Bug: 17109
Description: always poll for servers/players when the player selector is up, even if no internet is available
Comment 4 SVN Bot 2011-04-21 07:54:27 UTC
 == Auto-comment from SVN commit #8406 to the player repo by mherger ==
 == http://svn.slimdevices.com/player?view=revision&revision=8406 ==

Bug: 17109
Description: only check connectivity in case of failure, when no player can be found at all
Comment 5 SVN Bot 2011-04-27 07:05:11 UTC
 == Auto-comment from SVN commit #8411 to the player repo by mherger ==
 == http://svn.slimdevices.com/player?view=revision&revision=8411 ==

Bug: 17109
Description: add some logging for discovery mode; disable connectivity checking for local servers, as it's not reliable enough (see http://docs.phonegap.com/phonegap_network_network.md.html#NetworkStatus)
Comment 6 Michael Herger 2011-05-04 05:39:14 UTC
Senthil - please see my previous comments: I've already changed the way the app behaves when there's no internet connectivity. We should test this, review the various cases and what should happen under those circumstances. I did not close this bug yet, as I'm pretty sure on or another case isn't cover yet.
Comment 7 Michael Herger 2011-05-12 21:45:58 UTC
We applied several changes to improve behaviour when there was a network available, but no internet access. We consider this case fixed.

Please note that initial setup still requires internet access to get past the MySB screen (see bug 17091). But this shouldn't be a problem, as you need internet to install the app anyway.