Closed Bug 1003878 Opened 11 years ago Closed 11 years ago

[tarako] "Oh no!" server error displayed when trying to open some apps while offline

Categories

(Marketplace Graveyard :: General, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vcarciu, Unassigned)

References

Details

tarako build identifier: 20140331101634 connectivity used: Offline(Airplane mode) noticed on: dev (latest build) app used for test: Line steps to reproduce: 1.While offline, open Line app from Featured Apps section expected behavior: App is successfully opened observed behavior: "Oh no! A server error occurred. Please try again later. " message is displayed reproducible?: yes ashes: behavior seen on regular marketplace using inari/hamachi: yes/no Please see screencast for this bug : http://screencast.com/t/nFeTgDQlWd NOTES: Not reproducible for all apps. I saw the issue only for Line and Chess apps. Logcat : I/Gecko ( 8816): BufferUnrotate aBuffer=4386a000, aByteWidth=1280,aHeight=460,aBytesStride=640,aXBoundary=0,aYBoundary=422 I/Gecko ( 8816): BufferUnrotate smallestHeight=38 largestHeight=422 E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [nav] Received navigate event: /app/line?src=all-popular E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [nav] Updating scrollTop with replaceState E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [nav] Navigation started: /app/line?src=all-popular E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [views] Routing /app/line E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [req] Opening pool E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [model] app cache miss for key line E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [req]
Complete logcat : I/Gecko ( 8816): BufferUnrotate aBuffer=4386a000, aByteWidth=1280,aHeight=460,aBytesStride=640,aXBoundary=0,aYBoundary=422 I/Gecko ( 8816): BufferUnrotate smallestHeight=38 largestHeight=422 E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [nav] Received navigate event: /app/line?src=all-popular E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [nav] Updating scrollTop with replaceState E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [nav] Navigation started: /app/line?src=all-popular E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [views] Routing /app/line E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [req] Opening pool E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [model] app cache miss for key line E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [req] GETing https://marketplace-dev.allizom.org/api/v1/fireplace/app/line/?cache=1&dev=firefoxos&device=firefoxos&lang=en-US&limit=10&region=restofworld&vary=0 E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [model] app cache miss for key line E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [model] app cache miss for key line E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [tracking][helpers] No associated search term to track. E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [tracking] Tracking page view /app/line?src=all-popular E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [nav] Pushed state onto stack: /app/line E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [req] Request failed: GET 0 E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [req] Closing pool E/GeckoConsole( 8816): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:3 in s/<: [nav] Setting scroll to 0
Are Line and Chess expected to work when offline?
Summary: "Oh no!" server error displayed when trying to open some apps while offline → [tarako] "Oh no!" server error displayed when trying to open some apps while offline
The packaged marketplace app will not be usable offline -- the user will be blocked by a screen that informs them they are offline -- so launching an app from the featured apps section would be impossible in v1 because the user should not be able to reach this page in the first place. [The error shown is consistent with a non-Marketplace system error, assuming the app in question needs a network connection to launch.]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.