Cannot download episodes

App version: 3.12.0

Android version: 17

Device model: Pixel 9 Pro

Expected behaviour: Download & install AntennaPod. Listen to podcasts.

Current behaviour: First episode chosen does not download. Only received complicated error message.

First occurred: (e.g. about x days/weeks ago) today (16 August)

Steps to reproduce:

  1. See above
  2. Then that
  3. Then this
  4. Etc.

Environment: Not applicable.

Crash info:

Status:

Unable to establish a secure connection. This can mean that another app on your device (like a VPN or an ad blocker) blocked the download, or that something is wrong with the server certificates.

Technical details:

java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

File URL:

Hi @Barney
Welcome to the AntennaPod community forum.

  1. Do you happen to use a VPN or ad-blocker app on your phone?
  2. Can you share the podcast you have this issue with? (Open the podcast, tap the three dots in the top-right, tap Share)

Hello, thanks for replying.

I don’t have an ad blocker app.

The podcasts I attempted are:

Rick Rubin Broken record

Shirtloads of science

Hi @Barney

Could I ask you please to follow the steps indicated here and share the output in the forum?

Without the exact URLs there’s always a chance we’re not finding the relevant podcast or look at the wrong one. (Sometimes multiple versions of the same podcast are registered in the databases AntennaPod uses for search.)

It might be easiest to log in to the forum on your phone, so you can directly copy the output from AntennaPod and paste it in your browser.

Many thanks in advance.

I’m having the same problem also using Pixel 9 Pro XL (AntennaPod version 3.12.0).

Cannot refresh podcast feeds and/or download episode for several shows I attempted, including IHIP News, Don’t Listen to Us, and Conspiratuality. [PLEASE NOTE: I’ve added spaces after https or before com to the URLs below to force the chat to accept my reply]

Sample Feed Error:
Status:

Cannot find the server. Check if the address is typed correctly and if you have a working network connection.

Technical details:

Unable to resolve host “rss.art19. com”: No address associated with hostname

File URL:

https ://rss.art19.com/ihip-news

Sample Download Error:
Status:

Cannot find the server. Check if the address is typed correctly and if you have a working network connection.

Technical details:

Unable to resolve host “dts.podtrac. com”: No address associated with hostname

File URL:
https ://pscrb.fm/rss/p/arttrk.com/p/PDPN1/claritaspod.com/measure/prfx.byspotify.com/e/dts.podtrac.com/redirect.mp3/rss.art19.com/episodes/6cb2e0a8-0a3c-47fd-bbde-9722e0b56086.mp3?rss_browser=BAhJIg9BbnRlbm5hUG9kBjoGRVQ%3D–bba5bdd77df5f5806138bf3e7d4615ea7f8e6a75

Same problem. No VPN or ad blocker. The other feeds have no problem at all.

Status:
Unable to establish a secure connection. This can mean that another app on your device (like a VPN or an ad blocker) blocked the download, or that something is wrong with the server certificates.

Technical details:
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

File URL:
https://www.fitnessrevolucionario.com/feed/podcast

Same problem.


Unable to establish a secure connection. This can mean that another app on your device (like a VPN or an ad blocker) blocked the download, or that something is wrong with the server certificates.

Technical reason:
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

File URL:
https://www.tele-task.de/feed/series/1568/

This url is an issue feed with links to a bunch of podcasts.


Checked that I have the latest system updates and I do. Checked that it loads okay in a browser and it does. Not using a VPN. I do have an adblocker on Firefox. I do not have an adblocker on the Android system brower.

Thanks.

Shirtloads of Science: More with Toby Hagon: The EV Deep Dive Continues (487)

Episode webpage: https://shirtloadsofscience.libsyn.com/more-with-toby-hagon-the-ev-deep-dive-continues-486

Media file: https://traffic.libsyn.com/secure/shirtloadsofscience/SOS_487_TH_EVs_Part_Two.mp3?dest-id=436327

Broken Record with Rick Rubin, Malcolm Gladwell, Bruce Headlam and Justin Richmond: Radiohead’s Ed O’Brien

Episode webpage: Radiohead’s Ed O’Brien - Broken Record with Rick Rubin, Malcolm Gladwell, Bruce Headlam and Justin Richmond - Omny.fm

Media file: https://pdrl.fm/2b09fd/podtrac.com/pts/redirect.mp3/tracking.swap.fm/track/SxlTEPDY7xDg35RXkASs/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/ff0ba2f2-f33c-4193-aba2-ae32006cd633/4fdfe4a1-2199-4a7b-b23f-b4720014838c/audio.mp3?utm_source=Podcast&in_playlist=11c188a1-cb86-4869-9c57-ae32006cd63c

I got this when I tried to paste the address into my browser…

@Barney
Sorry, indeed the forum software tries to be smart when pasting an audio URL. I’ll try to remember to look into that.

But what you’re sharing is the episode. I would like to ask you to share the podcast (the thing you’re subscribed to):

It should produce a link like this:

The Bugcast

https://antennapod.org/deeplink/subscribe/?url=%68%74%74ps%3A%2F%2Fthebugcast.org%2Ffeed%2Fpodcast%2F&title=The+Bugcast

The reason I’m asking for this is so that I can easily subscribe to the same podcast as you and inspect the episode’s metadata. If you just the episode (audio file URL) we don’t get all the metadata that comes with it in the podcast.

@Tammy_Nelson The RSS feed address mentioned in that error message loads just fine for me. It might be that the podcast’s webserver was temporarily offline, or there could be something with your network (DNS not resolving properly).

@smoke Same device also? Which Android version are you on?

Does the RSS feed of the podcast (the URL you shared in your post) open in the browser of your phone (I mean the device AntennaPod is installed on)?

@JeffV8 Your device manufacturer might have been slacking with publishing updates, though (some brands are notoriously bad at this). Could you share the phone model and the Android version you’re on?

Also for you the question: does the feed load fine for you on your phone’s browser?

@keunes

I’m on Android 16 (OxygenOS 16.0.9)

The feed opens fine in Firefox and Chrome.

@keunes My phone is a Samsung A52 5G. Android 14. There are still regular updates - last update 1 July 26, with Android security patch level 1 March 25 (! I didn’t know this until you asked).

Yes, the RSS loads fine in the Samsung Android browser. I thought that this was probably using Webview, but after some investigation, it seems like it’s not - it’s Chromium based. So I downloaded a test tool for Webview, and the RSS feed url is fine with the Webview too, so it’s not that.

I don’t know the code for AntennaPod, but the error messages for my error suggest that the root CA’s are not in the trust store…

So I had a look on SSL Labs, to see the certificate chain for the RSS feed URL. There are two chains for the encryption. SSL Labs has the root CAs in their trust store: HARICA TLS RSA Root CA 2021 and Hellenic Academic and Research Institutions RootCA 201. I checked my Android CA store, which is what I think Java uses as the store, and both certs are present - I checked against their fingerprints.

What does jump out is that to check the chain, there’s an extra download of a certificate required for GEANT TLS RSA 1 - but I don’t think this is super unusual to have a chain of 3 or 4 - even not prepackaged. Perhaps there’s a parameter in the call to check the certs, which is not set to download extra certs (this is a guess - I haven’t looked at AntennaPod code - but it seems unlikely or I would imagine you’d see this error a lot more often.)

I’m not sure that this is not a red herring but it’s the only thing I see in tracing the certificate chain.


Edit: I found that the Java certification path is broken for my feed URL; SSL Labs says that for one of the two paths, the HARICA TLS RSA Root CA 2021 is not in the Java store, and requires an extra download. I think that Java on Android uses the Android cert store, but this could be the issue if not.

Had a look at www.fitnessrevolucionario.com - another one with the same error message.

It has two paths - one with an extra download, and the other untrusted. Plus more issues - anchor in the chain; an invalid cert in the chain; more extra downloads.

This was a very quick look, and it needs more investigation to double check.

Similarly the other urls with the same error need checking to see if they also have broken chains.

Grand, thanks for the investigation and details @JeffV8 ! I’m not a developer so I can’t comment on your findings, but I was indeed thinking in that direction because we had issues like that in the past and we ‘fixed’ it by adding some certificate in AntennaPod:

Hence my questions about the Android version. But a dev would have to take it from here.

Like this?

Broken Record with Rick Rubin, Malcolm Gladwell, Bruce Headlam and Justin Richmond

This is the link that AntennaPod offers me when I tap the menu burger for the podcast and then tap share.

Then I paste the link here and it seems the forum converts it to whatever form you see.

Shirtloads of Science

Today the problematic feed has refreshed fine with no changes from my part.:man_shrugging: