-
Notifications
You must be signed in to change notification settings - Fork 258
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
Yalp shows apps, but can't download #526
Comments
Same here. It starts a download but never receives any data. LineageOS 15.1 aswell. Aurora Store exhibits the same problem. Doesn't matter if I'm using the anonymous or my own Google account. |
Thanks for this feedback. So it is a LineageOS 15.1 issue? What device do you have? Which LOS date? Did you found a workaround? |
I suspect it's either an issue with LOS, or with Android 8. I'm using lineage-15.1-20180828-nightly-shamu (Nexus 6). Another device running Cyanogenmod 13 works for me. Are you using a firewall like Afwall by any chance? No workaround or solution so far, but you can use apkpure.com to download apks in the meantime. |
all working fine on Lineage 15.1 for me tho |
This log line seems to indicate there is a problem with DownloadManager. It is an internal android component used by Yalp Store. DownloadManager is a consistent source of problems for a small number of users. Here is a FAQ entry about it:
I wrote this FAQ entry over a year ago. There have been many bug reports exactly like this one since that time, but no bug reports related to the fallback. Maybe it is time to consider it stable and make it default. Fallback is used on:
So it should be used all the time on quite a lot of devices. Thoughts? An unrelated question: why don't people read the FAQ? ;) Even googling "yalp store download doesnt start" gives me gives me issues from the beginning of 2017 with answers. Not trying to be rude. Maybe there is a way to make it more visible or in a more obvious place? |
Thanks for your answer! I didn't think to check the FAQ, as I have two devices set up quite similarly. The CM13 one can download apks, the LOS15.1 one doesn't. So in my shortsightedness I expected the issue to be the OS ;) In my case, disabling the adblocker and using the internal downloader doesn't help. Is there any way to log the HTTP request used to do the final apk download, including headers sent? Is it the one to If you want to make it more visible, I would suggest adding the hint to the app itself. Something like "Download failed, check the FAQ". Also putting the final http request in the log in its entirety (unless it contains sensitive information) would be a good idea for debugging. |
Blame on me that I don't find this. I went through this settings but I couldn't guess that "load to internal memory" changes the things (with it, it works). |
Long-pressing download button lets you choose which app to use for download.
No,
And you are not expected to.
What other apps use DownloadManager?
Internal/external switch has a different purpose, obviously. If DownloadManager doesn't work, it should be fixed or replaced. Making the user try some unrelated setting to fix this is worse then making it fail. At least this way the user has to come here and make a bug report, otherwise I won't even know about the problem. And the FAQ seemed to be a good place to explain this since DM works properly for 99% of users. And technically it is a LOS issue ;) since DownloadManager is a part of the OS and it fails to report the problem to the app using it and only drops a warning into a log. So I'm curious - what LOS build do you guys have? For example lineage-15.1-20180903-nightly-gemini-signed |
Thanks, that's exactly what I needed to debug this :) The URL points to It looks like IPv6 is the culprit. Falling back to IPv4 fixes the problem entirely! How weird is that? My IPv6 setup is definitely working correctly. Have you ever encountered such a problem, @yeriomin? |
For me it is also the case on Samsung running Oreo. Disabling VPN unbreaks Download Manager. |
That part did the trick for me. Had the same problem after I updated from LineageOS 14.1. to 15.1. |
This issue is VPN- and DownloadManager-related one (probably LineageOS's bug, not sure). Walkarounds:
Notes:
|
I experienced these issues on a Motorola G5 running LineageOS 15.1. Yalp initially works flawlessly, then suddenly no download will go through and Yalp will report an HTTP error once a timeout is reached. I can once again confirm that enabling the option to download to internal storage fixes the issue. However, I have some doubts that it is VPN-related, as turning my VPN (DNS66) on and off did nothing to alleviate the issue. A shot in the dark here, but could there be a connection to encrypting the phone? I seem to remember myself installing every applications I wanted through Yalp, apart from two, then encrypting the phone. The next day when I sought to install those last two applications I ran into the HTTP issues, so it could be related. Then again, it is just a thought, I am not a very seasoned Android developer. Lastly, a big thank you to the Yalp devs, your work is very much appreciated. |
For me turning VPN on makes download work even via DownloadManager. But about phone encryption - it's a good point, it's quite probable co-reason! Never thought about it, but timing of issue appearance is right in my case, android encryption can affect it somehow. |
do you guys and gals have a cross ( X ) symbol on your wifi symbol when you turn on wifi? and when you go into wifi setting it says "connected, no internet" but you actually can use internet, surf on your browser and stuff? thats not an issue with lineageOS. that method is used in china for example, to block google store. to enable a connection to google store, you need to set captive portal to null. go to terminal (you need root for that). first of all put in
to check if it worked, ask for the current status with:
if system answers with "null", everything worked fine. then restart your device. |
DownloadManager is dropped in master. Yalp Store's own implementation is now used all the time. This should fix the DownloadManager related problems, obviously. And make the rest easier to diagnose. |
Yalp has network connection an can show me the desired app in store. But after pressing download nothing happened.
I created a log.
This issue doesn't happened right at the beginning, but after a while of using it. I don't know how to trigger it. I can't exclude an LOS issue.
Even clearing data and reboot doesn't solve the issue.
Device is a Galaxy A3 A320FL with latest LOS 15.1, Yalp is latest stable 0.43 from FDroid, ientified with yalp acount.
los15.1 - yalp-download.txt
I don't know what the camera is involved here. Also the download path seems ok for me. I can't create files there.
The text was updated successfully, but these errors were encountered: