quran-ios
quran-ios copied to clipboard
File urls are blocked
Recitation and translation file urls are blocked in some countries(at least in Uzbekistan). Please, ask reviewers (they are complaining and may decrease score averages) to install a vpn and try again if they can't download.
Oh, it's like 99% of Uzbekistan reviews complaining about this issue. Thanks for pointing it out. I've replied to them all. However, do you know if there is a way to detect this, so the app can provide such information directly?
It's quite tricky to detect them, because they are not timeouting the request, rather returning some invalid response. Attaching curl output to https://quranicaudio.com site.
How about spinning up a proxy-like (not an exact proxy, it's blocked as well) http server where you pass url you want to download and it serves it's content?
I see. What about quran.com? is it not reachable as well?
quran.com is reachable and also playing recitation without vpn. It’s audio files cdn looks like not blocked.
@ahmedre Could you look at this please? It's probably affecting the Android app as well. Seems like the whole country is blocked, almost all reviews from Uzbekistan is complaining about this issue. Maybe we could do something with DNS to serve the audio and translation content from a quran.com url?
I spent a bunch of time on this a few months back, the problem is it's a cat and mouse game. see quran/quran_android#1210
Just FYI, just changing DNS didn't solve the issue for me.
@ahmedre From the conversation it seems you found a solution. Is it a client-side fix? Could you point me to the commit I don't see it linked there, please?
the fix worked temporarily for some time, but I am getting more reports again, so not sure it'll help or not, but I'll ping you the details.