aniyomiorg / aniyomi

An app for manga and anime
https://aniyomi.org
Apache License 2.0
4.58k stars 290 forks source link

Cannot download through mobile data #1454

Open zerakori opened 4 months ago

zerakori commented 4 months ago

Steps to reproduce

Open mobile data and close wifi Disable download only on wifi option Download episode

Expected behavior

It should start downloading

Actual behavior

It pauses itself and doesn't even start again no matter how many times i press resume, the button just immediately changes to show resume again

Crash logs

No response

Aniyomi version

0 15.2.4

Android version

Android 11

Device

Infinix note 10

Other details

No response

Acknowledgements

fakebhai commented 4 months ago

it's not possible to reproduce this, it's very likely specific extension problem like link getting expired. also if it's not starting at all (like 0%/fail) it could very well be network restrictions or cloudflare getting activated again. in any case if this happens check your webview and also try refreshing your episode list and check for any errors. and also go through troubleshooting steps for more diagnosis.

And give more information on your issues otherwise we might just have to close it for lack of information.

zerakori commented 4 months ago

I am downloading the episodes from gogoanime which doesn't have a cloudfare, have also tried aniwatch so it isn't specific to the extension, it's not even starting to show the percentage of the episode downloaded

zerakori commented 4 months ago

https://github.com/aniyomiorg/aniyomi/assets/85497048/4f1d41a3-7f1a-4ec5-9486-61626d7b8bd3

fakebhai commented 4 months ago

https://github.com/aniyomiorg/aniyomi/assets/85497048/4f1d41a3-7f1a-4ec5-9486-61626d7b8bd3

if you're changing it midway it's very likely not gonna work. it doesn't fetch url till it starts downloading. when you change your network or vpn it should go through all those steps without any errors to fetch the url so whenever you change your network state make sure you do steps mentioned above:

check your webview and also try refreshing your episode list and check for any errors. and also go through troubleshooting steps for more diagnosis.

to ensure it fetches everything correctly.

cancel those downloads, do mentioned steps and then start your download again.

zerakori commented 4 months ago

screen-20240221-205329.mp4

if you're changing it midway it's very likely not gonna work. it doesn't fetch url till it starts downloading. when you change your network or vpn it should go through all those steps without any errors to fetch the url so whenever you change your network state make sure you do steps mentioned above:

check your webview and also try refreshing your episode list and check for any errors. and also go through troubleshooting steps for more diagnosis.

to ensure it fetches everything correctly.

cancel those downloads, do mentioned steps and then start your download again.

I just wanted to show it was off you can see that it was already off before starting the video

fakebhai commented 4 months ago

I just wanted to show it was off you can see that it was already off before starting the video

  1. it likely won't work or may fail on network change.
  2. if you're talking "only" about download not continuing on pressing resume after changing from "wifi only" you can try resume and pause (or sort it a little) few times but it can result it failure as it's not recommended to pause/retry your downloads. + your issue isn't about that as mentioned in your issue:

Open mobile data and close wifi Disable download only on wifi option Download episode

and if it is then you can create/edit it accordingly. and download fail issues are already reported in different formats in #1359 #1326 and maybe few others too.

either way network status change and/or pausing your downloads isn't doable in every case and is already reported.

zerakori commented 4 months ago

Ohhhh I see where the problem occured, I am only talking about downloading through mobile data , and not continuing the download by changing networks

zerakori commented 4 months ago

So can you guide what to do now

fakebhai commented 4 months ago

Ohhhh I see where the problem occured, I am only talking about downloading through mobile data , and not continuing the download by changing networks

well it actually starts downloading for me (mostly) when I press on resume but you can try (if you want a solution/workaround) just tapping on 2 lines of extension or individual episode in more - download queue and it'll very likely start your download or fail it. or u can just pause and resume few more times (again possibility of download failure)