Title
[Bug] Large image upload (5MB) fails on supported Memos v0.26.2 via Cloudflare Tunnel
Description
I am encountering a sync failure when uploading larger images (e.g., 5MB camera photos) using Moe Memos. Smaller images (e.g., 100KB screenshots) sync without any issues.
According to the FAQ, my server version (v0.26.2) is officially supported, so this does not appear to be an API version mismatch.
Environment
- Moe Memos Version: 2.0.2
- Memos Server Version: v0.26.2
- Network Setup: Self-hosted Memos -> Cloudflare Tunnel -> Moe Memos App
Steps to Reproduce
- Open Moe Memos and compose a new memo.
- Attach a large image (approx. 5MB).
- Tap save/sync.
- Error message appears: "failed to upload one or more attachments during sync".
- Repeat the same steps with a 100KB image, and it succeeds.
Troubleshooting Performed
- Web UI Test: Uploading the exact same 5MB image via the Memos Web UI (on PC/Browser) works perfectly. This confirms that the server, Cloudflare Tunnel, are correctly configured to handle 5MB+ payloads.
- Security Settings: Checked Cloudflare Security Events; no requests were blocked. Bot Fight Mode is disabled.
- Server Limit: Memos server "Max upload size" is set to 30MB.
Expected Behavior
The app should be able to sync larger attachments successfully, similar to the Web UI, or provide a clearer error if it's a timeout issue.
Additional Context
It seems like the App's sync mechanism might have a strict timeout or a memory limit when handling larger binary data via the API, which causes it to fail during the tunnel transmission.
Title
[Bug] Large image upload (5MB) fails on supported Memos v0.26.2 via Cloudflare Tunnel
Description
I am encountering a sync failure when uploading larger images (e.g., 5MB camera photos) using Moe Memos. Smaller images (e.g., 100KB screenshots) sync without any issues.
According to the FAQ, my server version (v0.26.2) is officially supported, so this does not appear to be an API version mismatch.
Environment
Steps to Reproduce
Troubleshooting Performed
Expected Behavior
The app should be able to sync larger attachments successfully, similar to the Web UI, or provide a clearer error if it's a timeout issue.
Additional Context
It seems like the App's sync mechanism might have a strict timeout or a memory limit when handling larger binary data via the API, which causes it to fail during the tunnel transmission.