Captive portal sanity check
Check media has been downloaded correctly.
The captive portal in my local chain shopping mall serves a html login page with a code 200 OK by DNS poisoning. I guess you can easily check for media file integrity by looking for the the html tag at the start of the http stream, and both discard the file and pause download manager if corrupt?
The app already detects captive portals when updating, downloading, …
Make sure it’s enabled in Settings/Network
When downloading the app checks the answer response code, content type and file size as well to rejects invalid downloads.
Then download will fail with an error saying:
“The episode url seems to redirect to a web page instead of the episode media file. Maybe your hotspot/ISP is blocking the content or the podcast owner provided an invalid url in the RSS feed”
-
@Enno Rehling
Unfortunately this means that the portal is trying to hide that it's a portal by letting the usual pings/checks go through...
Can you please send me one of those file via email so I can check it (Settings/Feedback)
You can use the WiFi filtering setting to prevent this from happening. -
Enno Rehling commented
I have the captive portal detection enabled, and have never seen that message. The app is still downloading the portal's HTML and storing it, then failing to play. When I save the mp3 to a file, and look at it on my PC, I can see that it's nothing but text (usually the captive portal on my commuter train, where I do most of my listening):
$ file 38_713.mp3
38_713.mp3: HTML document text, UTF-8 Unicode text, with very long lines, with CRLF, LF line terminators
$ wc 38_713.mp3
1027 2995 37970 38_713.mp3There also seems to be no option to re-download a broken file. Instead, when I delete a broken episode, it gets marked as read, and re-downloading involves quite a lot of taps (go to podcast, show read episodes, scroll through hundreds of entries, try to remember which one I just deleted, hit the manual download button).
I'm going to have to limit downloads to only Wi-Fi SSIDs that have no captive portal (home and work).
-
@Anonymous
Please send me an email in case of an issue (Settings/Feedback)
Thanks -
Anonymous commented
Downloads are not running over the captive portal at my local library? I un-checked the option so that I can download, killed the downloads, killed the app, restarted everything and still no download.
-
Please send me an email to continue the discussion (podcastaddict@gmail.com) or press on the website Contact support button.
What's the status of the episode after the download finishes ? Does it display an error message when you open the episode screen ?
Which version of the app are you using ?
If the episode appears to be downloaded can you please send a copy of the file so I can check how it can 'trick' the app into thinking the episode is downloaded.BTW can you try using a website like http://web-sniffer.net/ with an episode url and let me know the content of the answer (content type hearder, ...) ?
Thanks
-
Anonymous commented
The captive portal detection is enabled already. But the app (or the android detection) doesn't detect it. A download list of 40 episodes clears in less than a second.
-
Anonymous commented
Sorry, didn't meant to be anonymous. Name is Quincy.