Bugzilla – Bug 17109
Eastman unhappy when not connected to internet
Last modified: 2011-05-12 21:45:58 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.
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.
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
== 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
== 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
== 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)
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.
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.