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

Download count continues if you cut off internet #841

Open
5 tasks done
Palloxin opened this issue Nov 11, 2023 · 3 comments
Open
5 tasks done

Download count continues if you cut off internet #841

Palloxin opened this issue Nov 11, 2023 · 3 comments
Labels
Bug Something isn't working

Comments

@Palloxin
Copy link
Contributor

Palloxin commented Nov 11, 2023

Steps to reproduce

  1. Go to a random novel
  2. Download all chapters
  3. Make the app download 5 chapters and then immediately turn off internet
  4. watch the download count(notification) increase even without internet
  5. after 10 chapters (so chapter 15) turn internet on again
  6. Go to Download Queue section and watch the actual download resuming from chapter 16 ignoring all chapters from 15 and below.

Expected behavior

Downloading fails, the app should check if internet is avaiable. IF it is not, wait x seconds and retry on that chapter.
I am not sure how it should behave if the download fails and internet is avaiable.

Actual behavior

With no internet the download fails and the app tries to download the next chapter repeating this process endelessly.

LNReader version

1.1.18

Android version

A8

Device

Huawei p8 lite 2017

Other details

YouCut_20231111_064902043.mp4

Also.. probably related to #403

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with a source, I should be opening an issue in the sources repository.
  • I have updated the app to version 1.1.18.
  • I will fill out all of the requested information in this form.
@Palloxin Palloxin added the Bug Something isn't working label Nov 11, 2023
@Palloxin
Copy link
Contributor Author

I just noticed that if it happens it would normally spam notifications with the related sound for EVERY chapter failed. I turned off this previously so i didn't notice:
IMG_20240128_094231

YouCut_20240128_094626280.mp4

@nyagami
Copy link
Member

nyagami commented Jul 15, 2024

in v2 app, if no internet app would throws errors on notifications, and chapters would not be marked as downloaded.
I think if your connection is slow app would still keep connection until it reaches timeout.
If you turn off internet yourself, cant help.

@nyagami nyagami closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
@Palloxin
Copy link
Contributor Author

Palloxin commented Jul 21, 2024

I present you "my" wobbly connection:
https://github.com/user-attachments/assets/fe95b535-df8a-4988-a624-592dc2faa53d

The download queue is not linear. These are missed chapters the download controllee skips due to connection problems.

Imagine users with a weak and limited connection downloading chapters "for the winter" and then discover there are undownloaded stuff (holes) "in the winter".

It can be a problem even when making epubs since they can be shared with others.

Also on cloudflare protected sources. If one mass downloads stuff and suddenly the cf protection kicks in again it will be annoying.

Tachiyomi doesnt have this problem.

PS: winter days means no internet periods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants