The iOS app cannot open offline: 'Cannot reach ipodderx.sdf1.net', then a black screen #506
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported 2026-11-29 from the phone in airplane mode: the app opens to the alert 'Cannot reach ipodderx.sdf1.net / Could not connect to the server', and Try Again leaves a black screen. #435 was meant to let it open offline through the page's service worker.
The access log shows the app does run the worker (/sw.js, /api/push/devices from the same address), and its launches load / (200 or 304). But the worker keeps the page only when a navigation passes through it, and the app's own load (WKWebView.load from Swift) may not; if it does not, the worker never kept the page and has nothing to answer with, and WebKit fails the load.
Fix: the page asks the worker to keep / on every load, whatever loaded it; and the app, when its load fails for want of a connection, tries once more from the web view's own cache before saying the server cannot be reached.
0bb7437: the page half is deployed (ipx-web, 2026-11-29 18:35 UTC); the app's cache retry needs a new build from Xcode. Left open until the phone opens offline.