Last modified: 2014-10-24 00:10:45 UTC
This is a bit weird... Surely the permissions required are the same across all Android devices? Few from concurrency.SaneAsyncTask.onCatch: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7662323 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7651311 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7648484 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7639550 Couple from page.PageViewFragment.commonSectionFetchOnCatch: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7650927 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7645174
Can we tell whether these are stock systems or something customized like Cyanogen? Some custom ROMs include the ability to disable individual permissions... should be a corner case though, and obviously we're not gonna work well with no internet...
According to https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7662323 - no mods, just stock Android.
This bug in Android itself may shed some light on the issue: https://code.google.com/p/android/issues/detail?id=33046 Apparently it has to do with switching to an ipv6 network (mobile link) from a wifi link (ipv4).
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7689643 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7704377 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7704412 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7705580 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7711671 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7718234 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7727963 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7728805 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7724836 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7719556 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7708728 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7705767 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7682666 https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7679539
Change 165246 had a related patch set uploaded by Dbrant: Catch SecurityException and rethrow as ApiException. https://gerrit.wikimedia.org/r/165246
Change 165246 merged by BearND: Catch SecurityException and rethrow as ApiException. https://gerrit.wikimedia.org/r/165246
Looks like this is still happening? https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7902644
Looking into it now... there may be an edge case (or two) where we make network requests outside of java-mwapi, and failing to account for SecurityException.