Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on pending for large files. #4138

Closed
Bo1bo1ii opened this issue Dec 15, 2024 · 25 comments · Fixed by #4143
Closed

Stuck on pending for large files. #4138

Bo1bo1ii opened this issue Dec 15, 2024 · 25 comments · Fixed by #4143
Assignees
Labels
Milestone

Comments

@Bo1bo1ii
Copy link

Small files are fine, large ones are always stuck on pending. It's been pending for the last 2 hours

@Bo1bo1ii
Copy link
Author

Oh yeah also tried APK and Google play

@Bo1bo1ii
Copy link
Author

Screenshot_20241215-143943.png

Also good WiFi speed

@Bo1bo1ii
Copy link
Author

Also periodically gives this error: Paused: WAITING_TO_RETRY

@kelson42 kelson42 added the bug label Dec 16, 2024
@kelson42 kelson42 added this to the 3.13.0 milestone Dec 16, 2024
@MohitMaliFtechiz
Copy link
Collaborator

@Bo1bo1ii Is the behavior similar to #4106?

@Bo1bo1ii
Copy link
Author

@Bo1bo1ii Is the behavior similar to #4106?
No, I left the app open with my screen on

@MohitMaliFtechiz
Copy link
Collaborator

@Bo1bo1ii Can you please share the device logs with us?

@Bo1bo1ii
Copy link
Author

@Bo1bo1ii Can you please share the device logs with us?
Diagnostic report from kiwix app?

@MohitMaliFtechiz
Copy link
Collaborator

@Bo1bo1ii Yes.

@Bo1bo1ii
Copy link
Author

https://docs.google.com/document/d/17Gq4nPnmTI0MgsryQycZe-epJaSsyVK0pwUjIOJ9rIA/edit?usp=drivesdk

@Bo1bo1ii
Copy link
Author

Hope this is it

@MohitMaliFtechiz
Copy link
Collaborator

@Bo1bo1ii Thanks for the device logs.

@Bo1bo1ii
Copy link
Author

@Bo1bo1ii Thanks for the device logs.

Np

@Bo1bo1ii
Copy link
Author

Is there anything else needed?

@MohitMaliFtechiz
Copy link
Collaborator

@Bo1bo1ii Not for now, I will come back to you after some debugging and let you know.

@Bo1bo1ii
Copy link
Author

@Bo1bo1ii Not for now, I will come back to you after some debugging and let you know.

Ok thanks

@MohitMaliFtechiz
Copy link
Collaborator

Small files are fine, large ones are always stuck on pending. It's been pending for the last 2 hours

@Bo1bo1ii We have made many improvements around downloading(I suspect the issue you are facing with pending downloads are also addressed). Can you please try this APK https://drive.google.com/file/d/1x4aIJ7BlYBAfzEH_KtxhWxmiSg83vJYm/view?usp=sharing, and if you still face the same error please share the Diagnostic report with us. This APK has some attached debug logs that will help us in debugging.

Also periodically gives this error: Paused: WAITING_TO_RETRY

Regarding this issue, I have also connected with the WIFI. There are two connections on that WIFI:

  1. 4G.
  2. 5G.
  • The 5G one is a little slow and when I am on this network then my downloads are paused sometimes like you are facing the problem. So I have debugged this it's due to network fluctuation and a slow internet connection at a particular time, and due to this, the downloading pauses and resumes on the network regain. However, I have checked the speed as you have done, there it is showing good strength. But sometimes the internet fluctuates on this network then it pauses the download.

Image

  • On the other network(4G), there is a seamless network connection available, there I have not faced this type of error with bigger ZIM files.

Also, the WAITING_TO_RETRY error only happens when there is a network throttling or some network error occurs. Since the downloadManager checks the network connection every time before proceeding with the incoming bytes.

Image

@Bo1bo1ii
Copy link
Author

Ok will try

@Bo1bo1ii
Copy link
Author

Small files are fine, large ones are always stuck on pending. It's been pending for the last 2 hours

@Bo1bo1ii We have made many improvements around downloading(I suspect the issue you are facing with pending downloads are also addressed). Can you please try this APK https://drive.google.com/file/d/1x4aIJ7BlYBAfzEH_KtxhWxmiSg83vJYm/view?usp=sharing, and if you still face the same error please share the Diagnostic report with us. This APK has some attached debug logs that will help us in debugging.

Also periodically gives this error: Paused: WAITING_TO_RETRY

Regarding this issue, I have also connected with the WIFI. There are two connections on that WIFI:

  1. 4G.
  2. 5G.
  • The 5G one is a little slow and when I am on this network then my downloads are paused sometimes like you are facing the problem. So I have debugged this it's due to network fluctuation and a slow internet connection at a particular time, and due to this, the downloading pauses and resumes on the network regain. However, I have checked the speed as you have done, there it is showing good strength. But sometimes the internet fluctuates on this network then it pauses the download.

Image

  • On the other network(4G), there is a seamless network connection available, there I have not faced this type of error with bigger ZIM files.

Also, the WAITING_TO_RETRY error only happens when there is a network throttling or some network error occurs. Since the downloadManager checks the network connection every time before proceeding with the incoming bytes.

Image

The new app works better as of the pending issue but the waiting_to_retry error doesn't seem to clear up no matter how long I wait.

@Bo1bo1ii
Copy link
Author

Current Zim File:
null
All Zim Files in DB:

Current Locale:
en

BluetoothClass.Device Details:
Device:[raven]
Model:[Pixel 6 Pro]
Manufacturer:[Google]
Time:[1728407475000]
Android Version:[15]
App Version:[3.12.0 7231253]

  Mount Points
MountInfo(device=/dev/block/dm-10, mountPoint=/, fileSystem=ext4)

, MountInfo(device=tmpfs, mountPoint=/dev, fileSystem=tmpfs)
, MountInfo(device=devpts, mountPoint=/dev/pts, fileSystem=devpts)
, MountInfo(device=none, mountPoint=/dev/blkio, fileSystem=cgroup)
, MountInfo(device=none, mountPoint=/dev/cpuctl, fileSystem=cgroup)
, MountInfo(device=none, mountPoint=/dev/cpuset, fileSystem=cgroup)
, MountInfo(device=binder, mountPoint=/dev/binderfs, fileSystem=binder)
, MountInfo(device=adb, mountPoint=/dev/usb-ffs/adb, fileSystem=functionfs)
, MountInfo(device=mtp, mountPoint=/dev/usb-ffs/mtp, fileSystem=functionfs)
, MountInfo(device=ptp, mountPoint=/dev/usb-ffs/ptp, fileSystem=functionfs)
, MountInfo(device=proc, mountPoint=/proc, fileSystem=proc)
, MountInfo(device=sysfs, mountPoint=/sys, fileSystem=sysfs)
, MountInfo(device=selinuxfs, mountPoint=/sys/fs/selinux, fileSystem=selinuxfs)
, MountInfo(device=none, mountPoint=/sys/fs/cgroup, fileSystem=cgroup2)
, MountInfo(device=tracefs, mountPoint=/sys/kernel/tracing, fileSystem=tracefs)
, MountInfo(device=none, mountPoint=/sys/fs/fuse/connections, fileSystem=fusectl)
, MountInfo(device=none, mountPoint=/sys/fs/bpf, fileSystem=bpf)
, MountInfo(device=pstore, mountPoint=/sys/fs/pstore, fileSystem=pstore)
, MountInfo(device=tmpfs, mountPoint=/mnt, fileSystem=tmpfs)
, MountInfo(device=tmpfs, mountPoint=/mnt/installer, fileSystem=tmpfs)
, MountInfo(device=/dev/fuse, mountPoint=/mnt/installer/0/emulated, fileSystem=fuse)
, MountInfo(device=/dev/fuse, mountPoint=/mnt/installer/11/emulated, fileSystem=fuse)
, MountInfo(device=tmpfs, mountPoint=/mnt/androidwritable, fileSystem=tmpfs)
, MountInfo(device=/dev/fuse, mountPoint=/mnt/androidwritable/0/emulated, fileSystem=fuse)
, MountInfo(device=/dev/fuse, mountPoint=/mnt/androidwritable/11/emulated, fileSystem=fuse)
, MountInfo(device=/dev/block/sda1, mountPoint=/mnt/vendor/persist, fileSystem=ext4)
, MountInfo(device=/dev/block/sda5, mountPoint=/mnt/vendor/efs, fileSystem=ext4)
, MountInfo(device=/dev/block/sda6, mountPoint=/mnt/vendor/efs_backup, fileSystem=ext4)
, MountInfo(device=/dev/block/sda7, mountPoint=/mnt/vendor/modem_userdata, fileSystem=ext4)
, MountInfo(device=/dev/block/sda20, mountPoint=/mnt/vendor/modem_img, fileSystem=ext4)
, MountInfo(device=/dev/fuse, mountPoint=/mnt/user/0/emulated, fileSystem=fuse)
, MountInfo(device=/dev/block/dm-57, mountPoint=/mnt/pass_through/0/emulated, fileSystem=f2fs)
, MountInfo(device=/dev/fuse, mountPoint=/mnt/user/11/emulated, fileSystem=fuse)
, MountInfo(device=/dev/block/dm-57, mountPoint=/mnt/pass_through/11/emulated, fileSystem=f2fs)
, MountInfo(device=/dev/block/sda8, mountPoint=/metadata, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-11, mountPoint=/system_ext, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-12, mountPoint=/product, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-13, mountPoint=/vendor, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-14, mountPoint=/vendor_dlkm, fileSystem=ext4)
, MountInfo(device=tmpfs, mountPoint=/apex, fileSystem=tmpfs)
, MountInfo(device=/dev/block/loop7, mountPoint=/apex/com.android.i18n@1, fileSystem=ext4)
, MountInfo(device=/dev/block/loop7, mountPoint=/apex/com.android.i18n, fileSystem=ext4)
, MountInfo(device=/dev/block/loop12, mountPoint=/apex/com.android.devicelock@1, fileSystem=ext4)
, MountInfo(device=/dev/block/loop13, mountPoint=/apex/com.android.virt@2, fileSystem=ext4)
, MountInfo(device=/dev/block/loop8, mountPoint=/apex/com.android.hardware.biometrics.fingerprint.virtual@1, fileSystem=ext4)
, MountInfo(device=/dev/block/loop12, mountPoint=/apex/com.android.devicelock, fileSystem=ext4)
, MountInfo(device=/dev/block/loop8, mountPoint=/apex/com.android.hardware.biometrics.fingerprint.virtual, fileSystem=ext4)
, MountInfo(device=/dev/block/loop13, mountPoint=/apex/com.android.virt, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-56, mountPoint=/apex/com.android.configinfrastructure@351010000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-26, mountPoint=/apex/com.android.uwb@351011040, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-51, mountPoint=/apex/com.android.healthfitness@351120040, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-47, mountPoint=/apex/com.android.adservices@351314010, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-48, mountPoint=/apex/com.android.neuralnetworks@351010000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-26, mountPoint=/apex/com.android.uwb, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-47, mountPoint=/apex/com.android.adservices, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-56, mountPoint=/apex/com.android.configinfrastructure, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-48, mountPoint=/apex/com.android.neuralnetworks, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-51, mountPoint=/apex/com.android.healthfitness, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-54, mountPoint=/apex/com.android.resolv@351111020, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-54, mountPoint=/apex/com.android.resolv, fileSystem=ext4)
, MountInfo(device=/dev/block/loop21, mountPoint=/apex/com.google.pixel.euicc.update@352090000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-49, mountPoint=/apex/com.android.cellbroadcast@351111000, fileSystem=ext4)
, MountInfo(device=/dev/block/loop20, mountPoint=/apex/com.google.android.widevine@190240428, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-41, mountPoint=/apex/com.android.rkpd@351011000, fileSystem=ext4)
, MountInfo(device=/dev/block/loop17, mountPoint=/apex/com.android.nfcservices@352090000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-45, mountPoint=/apex/com.android.scheduling@351010000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-49, mountPoint=/apex/com.android.cellbroadcast, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-45, mountPoint=/apex/com.android.scheduling, fileSystem=ext4)
, MountInfo(device=/dev/block/loop26, mountPoint=/apex/com.android.btservices@342010100, fileSystem=ext4)
, MountInfo(device=/dev/block/loop21, mountPoint=/apex/com.google.pixel.euicc.update, fileSystem=ext4)
, MountInfo(device=/dev/block/loop20, mountPoint=/apex/com.google.android.widevine, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-41, mountPoint=/apex/com.android.rkpd, fileSystem=ext4)
, MountInfo(device=/dev/block/loop17, mountPoint=/apex/com.android.nfcservices, fileSystem=ext4)
, MountInfo(device=/dev/block/loop26, mountPoint=/apex/com.android.btservices, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-36, mountPoint=/apex/com.android.adbd@351010000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-40, mountPoint=/apex/com.android.os.statsd@350911020, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-40, mountPoint=/apex/com.android.os.statsd, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-36, mountPoint=/apex/com.android.adbd, fileSystem=ext4)
, MountInfo(device=/dev/block/loop40, mountPoint=/apex/com.android.hardware.biometrics.face.virtual@2, fileSystem=ext4)
, MountInfo(device=/dev/block/loop36, mountPoint=/apex/com.google.pixel.wifi.ext@1, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-29, mountPoint=/apex/com.android.ondevicepersonalization@351315010, fileSystem=ext4)
, MountInfo(device=/dev/block/loop41, mountPoint=/apex/com.google.mainline.primary.libs@350728050, fileSystem=ext4)
, MountInfo(device=/dev/block/loop40, mountPoint=/apex/com.android.hardware.biometrics.face.virtual, fileSystem=ext4)
, MountInfo(device=/dev/block/loop32, mountPoint=/apex/com.android.hardware.cas@1, fileSystem=ext4)
, MountInfo(device=/dev/block/loop36, mountPoint=/apex/com.google.pixel.wifi.ext, fileSystem=ext4)
, MountInfo(device=/dev/block/loop25, mountPoint=/apex/com.android.apex.cts.shim@1, fileSystem=ext4)
, MountInfo(device=/dev/block/loop31, mountPoint=/apex/com.android.tzdata@350820260, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-35, mountPoint=/apex/com.android.media.swcodec@351010060, fileSystem=ext4)
, MountInfo(device=/dev/block/loop43, mountPoint=/apex/com.android.runtime@1, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-37, mountPoint=/apex/com.android.tethering@351110060, fileSystem=ext4)
, MountInfo(device=/dev/block/loop31, mountPoint=/apex/com.android.tzdata, fileSystem=ext4)
, MountInfo(device=/dev/block/loop32, mountPoint=/apex/com.android.hardware.cas, fileSystem=ext4)
, MountInfo(device=/dev/block/loop43, mountPoint=/apex/com.android.runtime, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-21, mountPoint=/apex/com.android.conscrypt@351110000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-53, mountPoint=/apex/com.android.sdkext@351110000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-29, mountPoint=/apex/com.android.ondevicepersonalization, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-35, mountPoint=/apex/com.android.media.swcodec, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-37, mountPoint=/apex/com.android.tethering, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-21, mountPoint=/apex/com.android.conscrypt, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-42, mountPoint=/apex/com.android.media@351010060, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-28, mountPoint=/apex/com.google.mainline.primary.libs@351165000, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-53, mountPoint=/apex/com.android.sdkext, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-32, mountPoint=/apex/com.android.ipsec@351111040, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-23, mountPoint=/apex/com.android.appsearch@351112060, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-42, mountPoint=/apex/com.android.media, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-23, mountPoint=/apex/com.android.appsearch, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-32, mountPoint=/apex/com.android.ipsec, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-33, mountPoint=/apex/com.android.profiling@352090000, fileSystem=ext4)
, MountInfo(device=/dev/block/loop44, mountPoint=/apex/com.google.pixel.camera.hal@1712470370, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-33, mountPoint=/apex/com.android.profiling, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-19, mountPoint=/apex/com.android.permission@351112280, fileSystem=ext4)
, MountInfo(device=/dev/block/loop44, mountPoint=/apex/com.google.pixel.camera.hal, fileSystem=ext4)
, MountInfo(device=/dev/block/loop35, mountPoint=/apex/com.android.compos@2, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-27, mountPoint=/apex/com.android.extservices@351122083, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-25, mountPoint=/apex/com.android.art@351110180, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-19, mountPoint=/apex/com.android.permission, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-27, mountPoint=/apex/com.android.extservices, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-25, mountPoint=/apex/com.android.art, fileSystem=ext4)
, MountInfo(device=/dev/block/loop35, mountPoint=/apex/com.android.compos, fileSystem=ext4)
, MountInfo(device=/dev/block/loop25, mountPoint=/apex/com.android.apex.cts.shim, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-31, mountPoint=/apex/com.android.wifi@351110060, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-24, mountPoint=/apex/com.android.mediaprovider@351113060, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-31, mountPoint=/apex/com.android.wifi, fileSystem=ext4)
, MountInfo(device=/dev/block/dm-24, mountPoint=/apex/com.android.mediaprovider, fileSystem=ext4)
, MountInfo(device=tmpfs, mountPoint=/apex/apex-info-list.xml, fileSystem=tmpfs)
, MountInfo(device=tmpfs, mountPoint=/bootstrap-apex, fileSystem=tmpfs)
, MountInfo(device=/dev/block/loop2, mountPoint=/bootstrap-apex/com.android.i18n@1, fileSystem=ext4)
, MountInfo(device=/dev/block/loop1, mountPoint=/bootstrap-apex/com.android.runtime@1, fileSystem=ext4)
, MountInfo(device=/dev/block/loop0, mountPoint=/bootstrap-apex/com.android.tzdata@350820260, fileSystem=ext4)
, MountInfo(device=/dev/block/loop1, mountPoint=/bootstrap-apex/com.android.runtime, fileSystem=ext4)
, MountInfo(device=/dev/block/loop0, mountPoint=/bootstrap-apex/com.android.tzdata, fileSystem=ext4)
, MountInfo(device=/dev/block/loop2, mountPoint=/bootstrap-apex/com.android.i18n, fileSystem=ext4)
, MountInfo(device=tmpfs, mountPoint=/bootstrap-apex/apex-info-list.xml, fileSystem=tmpfs)
, MountInfo(device=tmpfs, mountPoint=/linkerconfig, fileSystem=tmpfs)
, MountInfo(device=tmpfs, mountPoint=/linkerconfig, fileSystem=tmpfs)
, MountInfo(device=tmpfs, mountPoint=/tmp, fileSystem=tmpfs)
, MountInfo(device=none, mountPoint=/config, fileSystem=configfs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data/user/0, fileSystem=f2fs)
, MountInfo(device=/proc/self/fd/12, mountPoint=/data/incremental/MT_data_app_vmdl597/mount, fileSystem=incremental-fs)
, MountInfo(device=/proc/self/fd/12, mountPoint=/data/app/~~rUt7DANvrL9oHl1sQNzsgg==, fileSystem=incremental-fs)
, MountInfo(device=tmpfs, mountPoint=/data_mirror, fileSystem=tmpfs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data_mirror/data_ce/null, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data_mirror/data_ce/null/0, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data_mirror/data_de/null, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data_mirror/misc_ce/null, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data_mirror/misc_de/null, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data_mirror/storage_area, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data_mirror/cur_profiles, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data_mirror/ref_profiles, fileSystem=f2fs)
, MountInfo(device=tmpfs, mountPoint=/storage, fileSystem=tmpfs)
, MountInfo(device=/dev/fuse, mountPoint=/storage/emulated, fileSystem=fuse)
, MountInfo(device=tmpfs, mountPoint=/data/data, fileSystem=tmpfs)
, MountInfo(device=tmpfs, mountPoint=/data/user, fileSystem=tmpfs)
, MountInfo(device=tmpfs, mountPoint=/data/user_de, fileSystem=tmpfs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data/user_de/0/org.kiwix.kiwixmobile, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data/data/org.kiwix.kiwixmobile, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data/user_de/0/com.google.android.gms, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data/data/com.google.android.gms, fileSystem=f2fs)
, MountInfo(device=tmpfs, mountPoint=/data/misc/profiles/cur, fileSystem=tmpfs)
, MountInfo(device=tmpfs, mountPoint=/data/misc/profiles/ref, fileSystem=tmpfs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data/misc/profiles/cur/0/org.kiwix.kiwixmobile, fileSystem=f2fs)
, MountInfo(device=/dev/block/dm-57, mountPoint=/data/misc/profiles/ref/org.kiwix.kiwixmobile, fileSystem=f2fs)

External Directories
/storage/emulated/0/Android/data/org.kiwix.kiwixmobile/files

@MohitMaliFtechiz
Copy link
Collaborator

MohitMaliFtechiz commented Dec 17, 2024

The new app works better as of the pending issue

Good to know that the pending issue has been resolved.

but the waiting_to_retry error doesn't seem to clear up no matter how long I wait.

We need a diagnostic report after the issue happens. The above logs do not have much information, and the generated file that is generated when you try to send the diagnostic report is also missing.

Please try to download the file, and when the issue happens (When it is paused for waiting_to_retry) after that try to send the diagnostic report.

@Bo1bo1ii One more thing, does this "waiting_for_retry" error happen after resuming the downloads or it is happening when you freshly start the download?

@Bo1bo1ii
Copy link
Author

download

It happens while downloading, when I press the retry button, it goes to pending and doesn't recover so I have to end the download and restart it.

@MohitMaliFtechiz
Copy link
Collaborator

MohitMaliFtechiz commented Dec 17, 2024

It happens while downloading, when I press the retry button, it goes to pending and doesn't recover so I have to end the download and restart it.

The retry button means the resume button right? Okay, so it seems the downloading is not resuming for you. It is happening with all large ZIM files or with a particular file?

@MohitMaliFtechiz
Copy link
Collaborator

Okay, I have tested this with different devices, and I am able to reproduce the error of "stuck on pending" in a Redmi device. The direct downloading is working fine in this phone, if I pause the download and try to resume the download then this error happens. It goes into the pending state forever until I restart the download(Stop the current download and resume it).

@Bo1bo1ii Thank you for opening the issue we will fix this ASAP.

@MohitMaliFtechiz
Copy link
Collaborator

MohitMaliFtechiz commented Dec 23, 2024

@Bo1bo1ii We have fixed this issue in #4143, and will merge this soon. Can you please install and give your feedback on this APK https://drive.google.com/file/d/1x4aIJ7BlYBAfzEH_KtxhWxmiSg83vJYm/view?usp=sharing. Are you still facing this issue?

@Bo1bo1ii
Copy link
Author

@Bo1bo1ii We have fixed this issue in #4143, and will merge this soon. Can you please install and give your feedback on this APK https://drive.google.com/file/d/1x4aIJ7BlYBAfzEH_KtxhWxmiSg83vJYm/view?usp=sharing. Is still you are facing this issue?

Will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants