Skip to content

[SYNC] cloud request timed out #1139

Description

@ixi88

💻 Platform

  • Desktop (Linux)
  • Desktop (macOS)
  • Desktop (Windows)
  • Mobile (Android)
  • Mobile (iOS)
  • Cloud / WebDAV server

ℹ️ Environment

  • App Version: 1.2.6
  • Install Channel(s): Play Store
  • Sync Backend: Self-hosted Cloud server
  • OS Version(s): Android [YOUR VERSION]
  • Device clocks auto-sync enabled: yes

🧩 What happened?

On Android, the initial automatic sync after starting the app appears to succeed.

However, when I manually press Sync now shortly afterwards, the sync reproducibly fails with:

cloud request timed out

The self-hosted cloud backend itself appears healthy. A direct request to the /v1/data endpoint returns HTTP 200 in about 46 ms with approximately 150 kB of data.

During a failed manual sync, no corresponding /v1/data request appears in the Mindwtr Cloud server log.

The same behavior occurs:

  • on Wi-Fi
  • on mobile data
  • with Tailscale disabled

I also tested ownCloud/WebDAV as an alternative backend. The Android app showed the same timeout behavior. The WebDAV server itself was independently verified to support PROPFIND, PUT, GET, strong ETags, If-Match and If-None-Match correctly.

This suggests that the timeout may occur inside the Android sync client rather than at the backend or network level.

🔄 Reproduction Steps

  1. Configure Android Mindwtr with a self-hosted Mindwtr Cloud backend.
  2. Force-stop the Android app.
  3. Start Mindwtr again.
  4. The automatic startup sync appears to complete successfully.
  5. Press Sync now manually.
  6. The sync fails with cloud request timed out.
  7. Force-stop and restart the app again.
  8. The first automatic sync again appears to work, while a subsequent manual sync times out.

✅ Expected result

Manual Sync now should complete successfully, just like the automatic sync that runs after starting the app.

📋 Diagnostic data

  • App version: 1.2.6
  • Platform: Android
  • Backend: Self-hosted Mindwtr Cloud
  • Cloud endpoint response: HTTP 200, ~46 ms, ~150 kB
  • Network: issue reproduces on Wi-Fi and mobile data
  • Tailscale: disabled during testing
  • Reproducibility: reproducible after a successful startup sync
  • Server observation: during the failed manual sync, no /v1/data request reaches the Mindwtr Cloud server

Additional cross-check:

  • ownCloud/WebDAV shows the same Android timeout behavior
  • WebDAV PROPFIND: successful
  • WebDAV PUT: HTTP 201
  • WebDAV GET: HTTP 200
  • Correct If-Match: HTTP 204
  • Incorrect If-Match: HTTP 412
  • If-None-Match on existing file: HTTP 412

Approximate test time:
2026-09-02 around 08:20–09:00 CEST (UTC+2)

mindwtr.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:syncSync engine and conflict resolutionbugSomething isn't workingplatform:androidAndroid-specificstatus:needs-confirmationFix landed; awaiting reporter or release confirmation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions