[Bug]: Cant download certain podcasts. #2221

Closed
opened 2026-04-25 00:05:07 +02:00 by adam · 8 comments
Owner

Originally created by @Truth-And-Reason on GitHub (Sep 2, 2024).

What happened?

I cant download certain podcasts. ( Behind The Bastards and This Podcast Will Kill You) Its been going on for quite a few release versions of Audiobookshelf now.
Initially I thought it was an rss error on their side or a corruption in my system, but I've since reinstalled the server and it still occurs.
When copying the URL from the error it functions and plays normally in a browser, Audiobookshelf just cant download it.
I noticed the podcasts that cant download have links with redirects.
After breaking down the links , both of these podcasts use services that utilise Triton audio advertising solutions, one of the features is user-agent blocking.
Could this be due to referrer string or user-agent blocking?

What did you expect to happen?

I expected selected podcast episodes from a subscribed podcast to download.

Steps to reproduce the issue

  1. Open podcast library
  2. select podcast
  3. search or look at new episodes
  4. select which ones to download
  5. click download

Audiobookshelf version

v2.13.2

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

[ffmpegHelpers] Failed to download podcast episode with url "https://chtbl.com/track/5899E/podtrac.com/pts/redirect.mp3/pscrb.fm/rss/p/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/e5f91208-cc7e-4726-a312-ae280140ad11/7a2edc45-8feb-484a-81f5-b193005b9fee/audio.mp3?utm_source=Podcast&in_playlist=d64f756d-6d5e-4fae-b24f-ae280140ad36" AggregateError


Log from the log folder:
{"timestamp":"2024-09-02 13:25:43.131","source":"ffmpegHelpers.js:111","message":"[ffmpegHelpers] Failed to download podcast episode with url \"https://chtbl.com/track/5899E/podtrac.com/pts/redirect.mp3/pscrb.fm/rss/p/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/e5f91208-cc7e-4726-a312-ae280140ad11/7a2edc45-8feb-484a-81f5-b193005b9fee/audio.mp3?utm_source=Podcast&in_playlist=d64f756d-6d5e-4fae-b24f-ae280140ad36\" AggregateError","levelName":"ERROR","level":4}
{"timestamp":"2024-09-02 14:04:46.139","source":"ffmpegHelpers.js:111","message":"[ffmpegHelpers] Failed to download podcast episode with url \"https://www.podtrac.com/pts/redirect.mp3/pdst.fm/e/chrt.fm/track/47G541/pscrb.fm/rss/p/mgln.ai/e/433/claritaspod.com/measure/traffic.megaphone.fm/ERM7625058301.mp3?updated=1723144550\" AggregateError","levelName":"ERROR","level":4}
{"timestamp":"2024-09-02 14:04:48.508","source":"ffmpegHelpers.js:111","message":"[ffmpegHelpers] Failed to download podcast episode with url \"https://www.podtrac.com/pts/redirect.mp3/pdst.fm/e/chrt.fm/track/47G541/pscrb.fm/rss/p/mgln.ai/e/433/claritaspod.com/measure/traffic.megaphone.fm/ERM3271590468.mp3?updated=1723577946\" AggregateError","levelName":"ERROR","level":4}

More logs from my server but I dont think these will help :


} (ffmpegHelpers.js:111)
CODE_FILE
src/ctr_logging.c
CODE_FUNC
write_journald
CODE_LINE
329
CONTAINER_ID
7be1d4c3118b
CONTAINER_ID_FULL
7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80
CONTAINER_NAME
audiobookshelf
PRIORITY
3
SYSLOG_IDENTIFIER
audiobookshelf
_BOOT_ID
3ce39c6d3fec419a9a1cb81f12ba95b0
_CAP_EFFECTIVE
1ffffffffff
_CMDLINE
/usr/bin/conmon --api-version 1 -c 7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80 -u 7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80 -r /usr/bin/crun -b /var/lib/containers/storage/overlay-containers/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80/userdata -p /run/containers/storage/overlay-containers/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80/userdata/pidfile -n audiobookshelf --exit-dir /run/libpod/exits --persist-dir /run/libpod/persist/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80 --full-attach -s -l journald --log-level warning --syslog --runtime-arg --log-format=json --runtime-arg --log --runtime-arg=/run/containers/storage/overlay-containers/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80/userdata/oci-log --conmon-pidfile /run/containers/storage/overlay-containers/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /var/lib/containers/storage --exit-command-arg --runroot --exit-command-arg /run/containers/storage --exit-command-arg --log-level --exit-command-arg warning --exit-command-arg --cgroup-manager --exit-command-arg systemd --exit-command-arg --tmpdir --exit-command-arg /run/libpod --exit-command-arg --network-config-dir --exit-command-arg "" --exit-command-arg --network-backend --exit-command-arg netavark --exit-command-arg --volumepath --exit-command-arg /var/lib/containers/storage/volumes --exit-command-arg --db-backend --exit-command-arg sqlite --exit-command-arg --transient-store=false --exit-command-arg --runtime --exit-command-arg crun --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg --storage-opt --exit-command-arg overlay.imagestore=/usr/lib/containers/storage --exit-command-arg --storage-opt --exit-command-arg overlay.mountopt=nodev,metacopy=on --exit-command-arg --events-backend --exit-command-arg journald --exit-command-arg container --exit-command-arg cleanup --exit-command-arg 7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80
_COMM
conmon
_EXE
/usr/bin/conmon
_GID
0
_HOSTNAME
MY_PC
_MACHINE_ID
2274cc0e979045ddb62d3417f48f7a42
_PID
169538
_RUNTIME_SCOPE
system
_SELINUX_CONTEXT
system_u:system_r:container_runtime_t:s0
_SOURCE_REALTIME_TIMESTAMP
1725254743136494
_SYSTEMD_CGROUP
/system.slice/audiobookshelf.service
_SYSTEMD_INVOCATION_ID
2f9da6f74723421bbe85c71ea70aa49e
_SYSTEMD_SLICE
system.slice
_SYSTEMD_UNIT
audiobookshelf.service
_TRANSPORT
journal
_UID
0
__CURSOR
s=adabf0ebc8b2453883d207d7cc27f3a5;i=a0923;b=3ce39c6d3fec419a9a1cb81f12ba95b0;m=15648796be;t=6211c2c1d3cb5;x=f0bc07a73d3e66cb
__MONOTONIC_TIMESTAMP
91880920766
__REALTIME_TIMESTAMP
1725254743178421
__SEQNUM
657699
__SEQNUM_ID
adabf0ebc8b2453883d207d7cc27f3a5

Additional Notes

No response

Originally created by @Truth-And-Reason on GitHub (Sep 2, 2024). ### What happened? I cant download certain podcasts. ( Behind The Bastards and This Podcast Will Kill You) Its been going on for quite a few release versions of Audiobookshelf now. Initially I thought it was an rss error on their side or a corruption in my system, but I've since reinstalled the server and it still occurs. When copying the URL from the error it functions and plays normally in a browser, Audiobookshelf just cant download it. I noticed the podcasts that cant download have links with redirects. After breaking down the links , both of these podcasts use services that utilise Triton audio advertising solutions, one of the features is user-agent blocking. Could this be due to referrer string or user-agent blocking? ### What did you expect to happen? I expected selected podcast episodes from a subscribed podcast to download. ### Steps to reproduce the issue 1. Open podcast library 2. select podcast 3. search or look at new episodes 4. select which ones to download 5. click download ### Audiobookshelf version v2.13.2 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell [ffmpegHelpers] Failed to download podcast episode with url "https://chtbl.com/track/5899E/podtrac.com/pts/redirect.mp3/pscrb.fm/rss/p/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/e5f91208-cc7e-4726-a312-ae280140ad11/7a2edc45-8feb-484a-81f5-b193005b9fee/audio.mp3?utm_source=Podcast&in_playlist=d64f756d-6d5e-4fae-b24f-ae280140ad36" AggregateError Log from the log folder: {"timestamp":"2024-09-02 13:25:43.131","source":"ffmpegHelpers.js:111","message":"[ffmpegHelpers] Failed to download podcast episode with url \"https://chtbl.com/track/5899E/podtrac.com/pts/redirect.mp3/pscrb.fm/rss/p/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/e5f91208-cc7e-4726-a312-ae280140ad11/7a2edc45-8feb-484a-81f5-b193005b9fee/audio.mp3?utm_source=Podcast&in_playlist=d64f756d-6d5e-4fae-b24f-ae280140ad36\" AggregateError","levelName":"ERROR","level":4} {"timestamp":"2024-09-02 14:04:46.139","source":"ffmpegHelpers.js:111","message":"[ffmpegHelpers] Failed to download podcast episode with url \"https://www.podtrac.com/pts/redirect.mp3/pdst.fm/e/chrt.fm/track/47G541/pscrb.fm/rss/p/mgln.ai/e/433/claritaspod.com/measure/traffic.megaphone.fm/ERM7625058301.mp3?updated=1723144550\" AggregateError","levelName":"ERROR","level":4} {"timestamp":"2024-09-02 14:04:48.508","source":"ffmpegHelpers.js:111","message":"[ffmpegHelpers] Failed to download podcast episode with url \"https://www.podtrac.com/pts/redirect.mp3/pdst.fm/e/chrt.fm/track/47G541/pscrb.fm/rss/p/mgln.ai/e/433/claritaspod.com/measure/traffic.megaphone.fm/ERM3271590468.mp3?updated=1723577946\" AggregateError","levelName":"ERROR","level":4} More logs from my server but I dont think these will help : } (ffmpegHelpers.js:111) CODE_FILE src/ctr_logging.c CODE_FUNC write_journald CODE_LINE 329 CONTAINER_ID 7be1d4c3118b CONTAINER_ID_FULL 7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80 CONTAINER_NAME audiobookshelf PRIORITY 3 SYSLOG_IDENTIFIER audiobookshelf _BOOT_ID 3ce39c6d3fec419a9a1cb81f12ba95b0 _CAP_EFFECTIVE 1ffffffffff _CMDLINE /usr/bin/conmon --api-version 1 -c 7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80 -u 7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80 -r /usr/bin/crun -b /var/lib/containers/storage/overlay-containers/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80/userdata -p /run/containers/storage/overlay-containers/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80/userdata/pidfile -n audiobookshelf --exit-dir /run/libpod/exits --persist-dir /run/libpod/persist/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80 --full-attach -s -l journald --log-level warning --syslog --runtime-arg --log-format=json --runtime-arg --log --runtime-arg=/run/containers/storage/overlay-containers/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80/userdata/oci-log --conmon-pidfile /run/containers/storage/overlay-containers/7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /var/lib/containers/storage --exit-command-arg --runroot --exit-command-arg /run/containers/storage --exit-command-arg --log-level --exit-command-arg warning --exit-command-arg --cgroup-manager --exit-command-arg systemd --exit-command-arg --tmpdir --exit-command-arg /run/libpod --exit-command-arg --network-config-dir --exit-command-arg "" --exit-command-arg --network-backend --exit-command-arg netavark --exit-command-arg --volumepath --exit-command-arg /var/lib/containers/storage/volumes --exit-command-arg --db-backend --exit-command-arg sqlite --exit-command-arg --transient-store=false --exit-command-arg --runtime --exit-command-arg crun --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg --storage-opt --exit-command-arg overlay.imagestore=/usr/lib/containers/storage --exit-command-arg --storage-opt --exit-command-arg overlay.mountopt=nodev,metacopy=on --exit-command-arg --events-backend --exit-command-arg journald --exit-command-arg container --exit-command-arg cleanup --exit-command-arg 7be1d4c3118bca683d3963b70fafaf37bc65035c78441940e6af61a42dfc7f80 _COMM conmon _EXE /usr/bin/conmon _GID 0 _HOSTNAME MY_PC _MACHINE_ID 2274cc0e979045ddb62d3417f48f7a42 _PID 169538 _RUNTIME_SCOPE system _SELINUX_CONTEXT system_u:system_r:container_runtime_t:s0 _SOURCE_REALTIME_TIMESTAMP 1725254743136494 _SYSTEMD_CGROUP /system.slice/audiobookshelf.service _SYSTEMD_INVOCATION_ID 2f9da6f74723421bbe85c71ea70aa49e _SYSTEMD_SLICE system.slice _SYSTEMD_UNIT audiobookshelf.service _TRANSPORT journal _UID 0 __CURSOR s=adabf0ebc8b2453883d207d7cc27f3a5;i=a0923;b=3ce39c6d3fec419a9a1cb81f12ba95b0;m=15648796be;t=6211c2c1d3cb5;x=f0bc07a73d3e66cb __MONOTONIC_TIMESTAMP 91880920766 __REALTIME_TIMESTAMP 1725254743178421 __SEQNUM 657699 __SEQNUM_ID adabf0ebc8b2453883d207d7cc27f3a5 ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:05:07 +02:00
adam closed this issue 2026-04-25 00:05:07 +02:00
Author
Owner

@nichwall commented on GitHub (Sep 2, 2024):

Possibly related to https://github.com/advplyr/audiobookshelf/issues/3322

@nichwall commented on GitHub (Sep 2, 2024): Possibly related to https://github.com/advplyr/audiobookshelf/issues/3322
Author
Owner

@Bigmack3000 commented on GitHub (Sep 3, 2024):

Do you currently have over 650 episodes of those podcasts? That's when i started having the same issue

@Bigmack3000 commented on GitHub (Sep 3, 2024): Do you currently have over 650 episodes of those podcasts? That's when i started having the same issue
Author
Owner

@Truth-And-Reason commented on GitHub (Sep 3, 2024):

No I typically download 2 or 3 episodes, listen to them then delete them.
At any one time I have less than 20 episodes across multiple sources stored.

@Truth-And-Reason commented on GitHub (Sep 3, 2024): No I typically download 2 or 3 episodes, listen to them then delete them. At any one time I have less than 20 episodes across multiple sources stored.
Author
Owner

@litzingr commented on GitHub (Nov 20, 2024):

I am running into this same issue with: https://feeds.megaphone.fm/theannaguide

@litzingr commented on GitHub (Nov 20, 2024): I am running into this same issue with: https://feeds.megaphone.fm/theannaguide
Author
Owner

@Truth-And-Reason commented on GitHub (Nov 20, 2024):

Megaphone uses user-agent blocking, this isn't what user agent strings were originally designed for.

I understand Audiobookshelf wants to follow best practises but these companies are not doing that.
Audiobookshelf needs to implement or add a "use this user-agent" field in the podcast details page so users can work around this issue.

@Truth-And-Reason commented on GitHub (Nov 20, 2024): Megaphone uses user-agent blocking, this isn't what user agent strings were originally designed for. I understand Audiobookshelf wants to follow best practises but these companies are not doing that. Audiobookshelf needs to implement or add a "use this user-agent" field in the podcast details page so users can work around this issue.
Author
Owner

@rightsaidfred99 commented on GitHub (Dec 16, 2024):

I am running into this same issue with: https://feeds.megaphone.fm/theannaguide

This works for me.

Other podcasts don't

"ffmpegHelpers] Failed to download podcast episode with url " it then gives the URL and if I click on the link on Safari...well it opens/downloads

@rightsaidfred99 commented on GitHub (Dec 16, 2024): > I am running into this same issue with: https://feeds.megaphone.fm/theannaguide This works for me. Other podcasts don't "ffmpegHelpers] Failed to download podcast episode with url " it then gives the URL and if I click on the link on Safari...well it opens/downloads
Author
Owner

@advplyr commented on GitHub (Dec 21, 2024):

Are you still having the issue with those 2 podcasts you mentioned in the original post?

I tested both of those and they are working for me.

I added an exception for the CBC Radio podcasts in #3322 so those are working now.

@advplyr commented on GitHub (Dec 21, 2024): Are you still having the issue with those 2 podcasts you mentioned in the original post? I tested both of those and they are working for me. I added an exception for the CBC Radio podcasts in #3322 so those are working now.
Author
Owner

@Truth-And-Reason commented on GitHub (Dec 22, 2024):

I am still having issues.

The podcasts I am having issues with are very popular, because of this I now believe there has to be a problem with my server that has developed over time. It is the only thing that makes sense otherwise there would be far more reports of this issue.

I still believe the issue stems from podcast distributors use of Megaphone, its redirects, and the underlying advertising client filter that they employ, but for what ever reason my server doesn't play nice with it.

I am simplifying and rebuilding my server over Christmas as new parts arrive.
I will investigate and test as I go. I am going to reinstall Audiobookshelf first then retest it after enabling each server component.

I would mark this as closed, unable to reproduce. If I find a specific traceable issue I will report back.

Thanks for looking into this and thanks for working on the software.

I personally want to thank you for developing something that has made many peoples lives better.

A member of my family developed many health issues, he became immobile and blind a few years ago.
Audiobookshelf became his primary form of entertainment, he listened to countless audio-books and podcasts.
Your efforts with this software made a difference in his quality of life towards the end.
Your efforts with this software makes a difference in many peoples lives.

Thank you, and Merry Christmas.

Are you still having the issue with those 2 podcasts you mentioned in the original post?

@Truth-And-Reason commented on GitHub (Dec 22, 2024): I am still having issues. The podcasts I am having issues with are very popular, because of this I now believe there has to be a problem with my server that has developed over time. It is the only thing that makes sense otherwise there would be far more reports of this issue. I still believe the issue stems from podcast distributors use of Megaphone, its redirects, and the underlying advertising client filter that they employ, but for what ever reason my server doesn't play nice with it. I am simplifying and rebuilding my server over Christmas as new parts arrive. I will investigate and test as I go. I am going to reinstall Audiobookshelf first then retest it after enabling each server component. I would mark this as closed, unable to reproduce. If I find a specific traceable issue I will report back. Thanks for looking into this and thanks for working on the software. **_I personally want to thank you for developing something that has made many peoples lives better._** A member of my family developed many health issues, he became immobile and blind a few years ago. Audiobookshelf became his primary form of entertainment, he listened to countless audio-books and podcasts. Your efforts with this software made a difference in his quality of life towards the end. Your efforts with this software makes a difference in many peoples lives. Thank you, and Merry Christmas. > Are you still having the issue with those 2 podcasts you mentioned in the original post?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2221