#3123·karakeep

Android 1.11.1 stays Offline with WARP while browser access and login work

Author: stephen94125Created Sep 26, 2026Updated Sep 26, 2026

Describe the Bug

The official Android app stays Offline and is effectively unusable, while the Karakeep website works, including in Chrome on the same phone. I noticed this after upgrading to the 0.33 series; the installed mobile app reports 1.11.1.

My network setup uses Cloudflare Zero Trust / WARP. Signing out and signing back in succeeds, but the app still reports Offline and the account name only shows User. It feels as though some requests work while others never load.

WARP is part of the affected environment, but I have not confirmed that it causes the problem. The source analysis below is a possible explanation, not a device-level diagnosis.

Steps to Reproduce

These are the steps in my affected environment; I have not established a minimal reproduction on another device:

  1. Use the official Karakeep Android app 1.11.1 with a self-hosted instance and Cloudflare Zero Trust / WARP in the network path.
  2. Open the app: it reports Offline and does not load normally.
  3. Open the same instance in Chrome on the same phone: the web UI works.
  4. Sign out of the app and sign back in: login completes, but Offline persists and the account name displays User.

Expected Behaviour

The app should attempt to reach the configured Karakeep server when there is a network connection. An OS-level determination of general Internet reachability should not, by itself, prevent access to a self-hosted server that may be reachable over a VPN or local network.

Screenshots or Additional Context

Suspected cause

The Android 1.11.1 release source, and current main (3c4411430a5386b6cfb84331a788372e1dcea95e), use this in setupOnlineManager:

typescript
setOnline(state.isInternetReachable ?? state.isConnected ?? true);

If Expo reports isInternetReachable: false while isConnected: true, the explicit false wins and React Query is marked offline. Ordinary queries can then remain paused even if the configured server is reachable.

The mobile query client sets mutations to networkMode: "always", while queries retain the default online mode. Login uses mutations. This appears consistent with login still succeeding while queries such as users.whoami cannot run; the profile UI falls back to User when no name is available. This matches the symptoms, but does not prove that this is what happened on my phone.

Also, useConnectionStatus returns early when onlineManager.isOnline() is false, before attempting /api/health. Its periodic/foreground health checks therefore cannot independently recover from a false offline classification.

Suggested minimal change

Would it make sense to remove the isInternetReachable operand and use:

diff
- setOnline(state.isInternetReachable ?? state.isConnected ?? true);
+ setOnline(state.isConnected ?? true);

This is a one-line change in the shared callback for both the initial network check and subsequent network events. It would allow requests on a connected network and let the existing server health check report server-unreachable if Karakeep itself cannot be reached.

I have not tested a patched build. This only addresses the case where isInternetReachable is false but isConnected is true; it would not fix a stale/incorrect isConnected: false value. A foreground network-state refresh could be considered separately if that turns out to be involved. I would appreciate maintainer feedback on whether the one-line change is appropriate.

Device Details

  • Official Karakeep Android app 1.11.1.
  • Chrome on the same phone can access the instance.
  • Android OS version and device model: not yet recorded.

Exact Karakeep Version

  • Mobile app: 1.11.1.
  • Server: 0.33 series; exact patch version not yet confirmed.

Environment Details

Self-hosted Karakeep with Cloudflare Zero Trust / WARP used on the phone. Hosting and reverse-proxy details are not included yet.

Debug Logs

No device logs or captured Expo network-state values yet. I have not recorded the app's Test Connection result or a controlled VPN-on/VPN-off comparison, so those are not claimed as evidence here.

Have you checked the troubleshooting guide?