Cannot open any files any ~1.5+ GB file with cache on!

Open
#677 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, google-cloud, kotlin
Domain
cloud, mobile

Research direction

Start by checking the file open and export paths and the cache handling they share, then reproduce with a 1.5–4 GB file in Google Drive while cache is enabled and inspect the attached logs. Confirm that the same file works with caching disabled; done means large files open and export successfully with caching enabled.

Written by the indexing model from the issue text.

Description

type:bug
Please agree to the following
Summary

Any time you attempt to open or export a larger file (~1.5GB-4 GB is what I've seen), it will just say "An error occurred"

System Setup
- Android: 16.0.10.500
- Cryptomator: latest 2.1.0
Cloud Type

Google Drive

Steps to Reproduce
  1. Open a larger file (with cache enabled, of any size, even larger than the files!)
Expected Behavior

Files work like smaller ones

Actual Behavior

File does not open. "An error occurred."
Clearing cache does not fix issue, even with cache >> file size. Only DISABLING cache fixes the issue.

Reproducibility

Always

Relevant Log Output
No upload option? Debug log attached below.
Anything else?

logs.zip

Dominant language
Kotlin
Stars
1.2k
Forks
229
Avg merge
2d 3h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cryptomator/android

All issues in cryptomator/android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.