[Bug]: Audiobookshelf restarts when I try to download episodes #1048

Closed
opened 2026-04-24 23:30:10 +02:00 by adam · 7 comments
Owner

Originally created by @zerquanta on GitHub (Apr 5, 2023).

Describe the issue

Hi,

I have an issue with two feeds:

  • When I search "PointerPodcast" on Audiobookshelf I can add the feed correctly but when I try to download the latest episodes the container restarts.

2023-04-05 12:42:40 ERROR Invalid inputs to parseAndCheckForUpdates
2023-04-05 12:45:56 ERROR [xmlToJSON] Error Error: Attribute without value Line: 18 Column: 376 Char: >
2023-04-05 12:45:56 ERROR [podcastUtils] Invalid XML or RSS feed
2023-04-05 12:46:41 ERROR [podcastUtils] Invalid XML or RSS feed
2023-04-05 12:50:21 ERROR Invalid inputs to parseAndCheckForUpdates
2023-04-05 12:50:47 INFO === Starting Server ===
2023-04-05 12:50:47 INFO [Server] Init v2.2.18

Is there a problem with that feed or Audiobookshelf have a bug that causes the restart when I open that feed?

  • When I search "Il disinformatico" podcast on Audiobookshelf and I click the result I get the error: "Failed to get podcast feed".

2023-04-05 23:34:19 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 403

Steps to reproduce the issue

  1. Search "PointerPodcast"

  2. Add the podcast to the library

  3. Open the podcast -> Edit -> Episodes -> Check and download new episodes.

  4. Search "Il disinformatico"

  5. Click on the result.

Audiobookshelf version

2.2.18

How are you running audiobookshelf?

Docker

Originally created by @zerquanta on GitHub (Apr 5, 2023). ### Describe the issue Hi, I have an issue with two feeds: - When I search "PointerPodcast" on Audiobookshelf I can add the feed correctly but when I try to download the latest episodes the container restarts. > 2023-04-05 12:42:40 ERROR Invalid inputs to parseAndCheckForUpdates 2023-04-05 12:45:56 ERROR [xmlToJSON] Error Error: Attribute without value Line: 18 Column: 376 Char: > 2023-04-05 12:45:56 ERROR [podcastUtils] Invalid XML or RSS feed 2023-04-05 12:46:41 ERROR [podcastUtils] Invalid XML or RSS feed 2023-04-05 12:50:21 ERROR Invalid inputs to parseAndCheckForUpdates 2023-04-05 12:50:47 INFO === Starting Server === 2023-04-05 12:50:47 INFO [Server] Init v2.2.18 Is there a problem with that feed or Audiobookshelf have a bug that causes the restart when I open that feed? - When I search "Il disinformatico" podcast on Audiobookshelf and I click the result I get the error: "Failed to get podcast feed". > 2023-04-05 23:34:19 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 403 ### Steps to reproduce the issue 1. Search "PointerPodcast" 2. Add the podcast to the library 3. Open the podcast -> Edit -> Episodes -> Check and download new episodes. 1. Search "Il disinformatico" 2. Click on the result. ### Audiobookshelf version 2.2.18 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:30:10 +02:00
adam closed this issue 2026-04-24 23:30:10 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 6, 2023):

This had to do with the title having a type attribute in the rss feed. I've never seen that before.

<title type="html">PointerPodcast</title>

https://pointerpodcast.it/index.xml

@advplyr commented on GitHub (Apr 6, 2023): This had to do with the title having a `type` attribute in the rss feed. I've never seen that before. ```xml <title type="html">PointerPodcast</title> ``` https://pointerpodcast.it/index.xml
Author
Owner

@advplyr commented on GitHub (Apr 17, 2023):

Fixed in v2.2.19

@advplyr commented on GitHub (Apr 17, 2023): Fixed in [v2.2.19](https://github.com/advplyr/audiobookshelf/releases/tag/v2.2.19)
Author
Owner

@zerquanta commented on GitHub (Apr 17, 2023):

Hi, I have the same issue even with v2.2.19: Audiobookshelf restarts when I try to download episodes from that rss feed.

@zerquanta commented on GitHub (Apr 17, 2023): Hi, I have the same issue even with v2.2.19: Audiobookshelf restarts when I try to download episodes from that rss feed.
Author
Owner

@advplyr commented on GitHub (Apr 17, 2023):

I'm testing with that podcast and not having an issue. Are you sure you have updated to 2.2.19? Can you be more specific in the issue again?

@advplyr commented on GitHub (Apr 17, 2023): I'm testing with that podcast and not having an issue. Are you sure you have updated to 2.2.19? Can you be more specific in the issue again?
Author
Owner

@zerquanta commented on GitHub (Apr 17, 2023):

Yes, I have updated to 2.2.19. Steps to reproduce the issue:
Search "PointerPodcast"
Add the podcast to the library
Open the podcast -> Edit -> Episodes -> Check and download new episodes.
Audiobookshelf restarts same as the previous version.

2023-04-17 22:34:46 DEBUG [iTunes] Searching for podcast with term "pointerpodcast"
2023-04-17 22:34:48 DEBUG [iTunes] Podcast search for "pointerpodcast" returned 1 results
2023-04-17 22:34:50 DEBUG [podcastUtils] getPodcastFeed for "https://pointerpodcast.it/index.xml"
2023-04-17 22:34:50 DEBUG [podcastUtils] getPodcastFeed for "https://pointerpodcast.it/index.xml" success - parsing xml
2023-04-17 22:34:57 DEBUG Not modifying permissions since no uid/gid is specified
2023-04-17 22:34:57 DEBUG [fileUtils] Downloading file to /audiobooks/PointerPodcast/cover
2023-04-17 22:34:57 INFO [CoverManager] Downloaded libraryItem cover "/audiobooks/PointerPodcast/cover.jpg" from url "https://is1-ssl.mzstatic.com/image/thumb/Podcasts115/v4/78/f6/9d/78f69dab-dd6e-1a14-8ebd-cbac8156f527/mza_17210995197010023943.png/600x600bb.jpg" for "PointerPodcast"
2023-04-17 22:34:57 DEBUG Not modifying permissions since no uid/gid is specified
2023-04-17 22:34:57 DEBUG [LibraryItem] Success saving abmetadata to "/audiobooks/PointerPodcast/metadata.abs"
2023-04-17 22:34:57 DEBUG [DB] Library Items inserted 1
2023-04-17 22:34:58 DEBUG [FfmpegHelpers] Resize Image Cmd: ffmpeg -i /audiobooks/PointerPodcast/cover.jpg -y -vf scale=400:-1 /metadata/cache/covers/li_3a11fvl1ekhvjfau71_400.webp
2023-04-17 22:34:58 DEBUG [FfmpegHelpers] Image resized Successfully
2023-04-17 22:34:58 DEBUG Not modifying permissions since no uid/gid is specified
2023-04-17 22:34:59 DEBUG [Watcher] File Added /audiobooks/PointerPodcast/cover.jpg
2023-04-17 22:34:59 DEBUG [Watcher] Modified file in library "Podcast" and folder "fol_enusoidc8lkxp5ejra" with relPath "/PointerPodcast/cover.jpg"
2023-04-17 22:34:59 DEBUG [Watcher] File Added /audiobooks/PointerPodcast/metadata.abs
2023-04-17 22:34:59 DEBUG [Watcher] Modified file in library "Podcast" and folder "fol_enusoidc8lkxp5ejra" with relPath "/PointerPodcast/metadata.abs"
2023-04-17 22:35:00 DEBUG [Watcher] File Added /audiobooks/Metadata/cache/covers/li_3a11fvl1ekhvjfau71_400.webp
2023-04-17 22:35:00 DEBUG [Watcher] Modified file in library "Podcast" and folder "fol_enusoidc8lkxp5ejra" with relPath "/Metadata/cache/covers/li_3a11fvl1ekhvjfau71_400.webp"
2023-04-17 22:35:04 INFO [Server] 3 Files Changed
2023-04-17 22:35:04 INFO [Scanner] No important changes to scan for in folder "fol_enusoidc8lkxp5ejra"
2023-04-17 22:35:11 DEBUG [Podcast] Key updated autoDownloadSchedule 40 5 * * 4,5
2023-04-17 22:35:11 DEBUG [Podcast] Key updated maxEpisodesToKeep 3
2023-04-17 22:35:11 INFO [CronManager] Added podcast "PointerPodcast" to auto dl episode cron "40 5 * * 4,5"
2023-04-17 22:35:11 DEBUG [LibraryItemController] Updated library item media PointerPodcast
2023-04-17 22:35:11 DEBUG [LibraryItem] Success saving abmetadata to "/audiobooks/PointerPodcast/metadata.abs"
2023-04-17 22:35:11 DEBUG [DB] Library Items updated 1
2023-04-17 22:35:18 DEBUG [iTunes] Searching for podcast with term "PointerPodcast"
2023-04-17 22:35:18 DEBUG [iTunes] Podcast search for "PointerPodcast" returned 1 results
2023-04-17 22:35:19 INFO [Scanner] Scanning Library Item "PointerPodcast"
2023-04-17 22:35:19 DEBUG [Podcast] "PointerPodcast" changes found in metadata.abs file [object Object]
2023-04-17 22:35:19 DEBUG [PodcastMetadata] Key updated itunesId 1465505870
2023-04-17 22:35:19 DEBUG [LibraryItem] Success saving abmetadata to "/audiobooks/PointerPodcast/metadata.abs"
2023-04-17 22:35:19 DEBUG [DB] Library Items updated 1
2023-04-17 22:35:27 DEBUG [Podcast] Key updated lastEpisodeCheck 1681158840000
2023-04-17 22:35:27 DEBUG [LibraryItemController] Updated library item media PointerPodcast
2023-04-17 22:35:27 DEBUG [LibraryItem] Success saving abmetadata to "/audiobooks/PointerPodcast/metadata.abs"
2023-04-17 22:35:27 DEBUG [DB] Library Items updated 1
2023-04-17 22:35:27 INFO [PodcastManager] checkAndDownloadNewEpisodes for "PointerPodcast" - Last episode check: Mon Apr 10 2023 22:34:00 GMT+0200 (Central European Summer Time)
2023-04-17 22:35:27 DEBUG [podcastUtils] getPodcastFeed for "https://pointerpodcast.it/index.xml"
2023-04-17 22:35:27 DEBUG [podcastUtils] getPodcastFeed for "https://pointerpodcast.it/index.xml" success - parsing xml
2023-04-17 22:35:31 DEBUG [LogManager] Daily log file already exists - set in Logger
2023-04-17 22:35:31 DEBUG [DailyLog] 2023-04-17: Loaded 2366 Logs
2023-04-17 22:35:30 INFO === Starting Server ===
2023-04-17 22:35:30 INFO [Server] Init v2.2.19
2023-04-17 22:35:30 INFO [DB] 0 Collections Loaded
2023-04-17 22:35:30 INFO [DB] 0 Authors Loaded
2023-04-17 22:35:30 INFO [DB] 0 Series Loaded
2023-04-17 22:35:30 INFO [DB] 0 Playlists Loaded
2023-04-17 22:35:31 INFO [DB] 1 Users Loaded
2023-04-17 22:35:31 INFO [DB] 1 Libraries Loaded
2023-04-17 22:35:31 DEBUG Set Log Level to DEBUG
2023-04-17 22:35:31 INFO [DB] 36 Library Items Loaded
2023-04-17 22:35:31 INFO [BackupManager] 0 Backups Found
2023-04-17 22:35:31 INFOn[BackupManager] Auto Backups are disabled
2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-11.txt
2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-12.txt
2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-13.txt
2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-14.txt
2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-15.txt
2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-16.txt
2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-17.txt
2023-04-17 22:35:31 INFO [LogManager] Init current daily log filename: 2023-04-17.txt
2023-04-17 22:35:31 DEBUG [CronManager] Found 36 podcast episode schedules to start

Screenshot

@zerquanta commented on GitHub (Apr 17, 2023): Yes, I have updated to 2.2.19. Steps to reproduce the issue: Search "PointerPodcast" Add the podcast to the library Open the podcast -> Edit -> Episodes -> Check and download new episodes. Audiobookshelf restarts same as the previous version. > 2023-04-17 22:34:46 DEBUG [iTunes] Searching for podcast with term "pointerpodcast" 2023-04-17 22:34:48 DEBUG [iTunes] Podcast search for "pointerpodcast" returned 1 results 2023-04-17 22:34:50 DEBUG [podcastUtils] getPodcastFeed for "https://pointerpodcast.it/index.xml" 2023-04-17 22:34:50 DEBUG [podcastUtils] getPodcastFeed for "https://pointerpodcast.it/index.xml" success - parsing xml 2023-04-17 22:34:57 DEBUG Not modifying permissions since no uid/gid is specified 2023-04-17 22:34:57 DEBUG [fileUtils] Downloading file to /audiobooks/PointerPodcast/cover 2023-04-17 22:34:57 INFO [CoverManager] Downloaded libraryItem cover "/audiobooks/PointerPodcast/cover.jpg" from url "https://is1-ssl.mzstatic.com/image/thumb/Podcasts115/v4/78/f6/9d/78f69dab-dd6e-1a14-8ebd-cbac8156f527/mza_17210995197010023943.png/600x600bb.jpg" for "PointerPodcast" 2023-04-17 22:34:57 DEBUG Not modifying permissions since no uid/gid is specified 2023-04-17 22:34:57 DEBUG [LibraryItem] Success saving abmetadata to "/audiobooks/PointerPodcast/metadata.abs" 2023-04-17 22:34:57 DEBUG [DB] Library Items inserted 1 2023-04-17 22:34:58 DEBUG [FfmpegHelpers] Resize Image Cmd: ffmpeg -i /audiobooks/PointerPodcast/cover.jpg -y -vf scale=400:-1 /metadata/cache/covers/li_3a11fvl1ekhvjfau71_400.webp 2023-04-17 22:34:58 DEBUG [FfmpegHelpers] Image resized Successfully 2023-04-17 22:34:58 DEBUG Not modifying permissions since no uid/gid is specified 2023-04-17 22:34:59 DEBUG [Watcher] File Added /audiobooks/PointerPodcast/cover.jpg 2023-04-17 22:34:59 DEBUG [Watcher] Modified file in library "Podcast" and folder "fol_enusoidc8lkxp5ejra" with relPath "/PointerPodcast/cover.jpg" 2023-04-17 22:34:59 DEBUG [Watcher] File Added /audiobooks/PointerPodcast/metadata.abs 2023-04-17 22:34:59 DEBUG [Watcher] Modified file in library "Podcast" and folder "fol_enusoidc8lkxp5ejra" with relPath "/PointerPodcast/metadata.abs" 2023-04-17 22:35:00 DEBUG [Watcher] File Added /audiobooks/Metadata/cache/covers/li_3a11fvl1ekhvjfau71_400.webp 2023-04-17 22:35:00 DEBUG [Watcher] Modified file in library "Podcast" and folder "fol_enusoidc8lkxp5ejra" with relPath "/Metadata/cache/covers/li_3a11fvl1ekhvjfau71_400.webp" 2023-04-17 22:35:04 INFO [Server] 3 Files Changed 2023-04-17 22:35:04 INFO [Scanner] No important changes to scan for in folder "fol_enusoidc8lkxp5ejra" 2023-04-17 22:35:11 DEBUG [Podcast] Key updated autoDownloadSchedule 40 5 * * 4,5 2023-04-17 22:35:11 DEBUG [Podcast] Key updated maxEpisodesToKeep 3 2023-04-17 22:35:11 INFO [CronManager] Added podcast "PointerPodcast" to auto dl episode cron "40 5 * * 4,5" 2023-04-17 22:35:11 DEBUG [LibraryItemController] Updated library item media PointerPodcast 2023-04-17 22:35:11 DEBUG [LibraryItem] Success saving abmetadata to "/audiobooks/PointerPodcast/metadata.abs" 2023-04-17 22:35:11 DEBUG [DB] Library Items updated 1 2023-04-17 22:35:18 DEBUG [iTunes] Searching for podcast with term "PointerPodcast" 2023-04-17 22:35:18 DEBUG [iTunes] Podcast search for "PointerPodcast" returned 1 results 2023-04-17 22:35:19 INFO [Scanner] Scanning Library Item "PointerPodcast" 2023-04-17 22:35:19 DEBUG [Podcast] "PointerPodcast" changes found in metadata.abs file [object Object] 2023-04-17 22:35:19 DEBUG [PodcastMetadata] Key updated itunesId 1465505870 2023-04-17 22:35:19 DEBUG [LibraryItem] Success saving abmetadata to "/audiobooks/PointerPodcast/metadata.abs" 2023-04-17 22:35:19 DEBUG [DB] Library Items updated 1 2023-04-17 22:35:27 DEBUG [Podcast] Key updated lastEpisodeCheck 1681158840000 2023-04-17 22:35:27 DEBUG [LibraryItemController] Updated library item media PointerPodcast 2023-04-17 22:35:27 DEBUG [LibraryItem] Success saving abmetadata to "/audiobooks/PointerPodcast/metadata.abs" 2023-04-17 22:35:27 DEBUG [DB] Library Items updated 1 2023-04-17 22:35:27 INFO [PodcastManager] checkAndDownloadNewEpisodes for "PointerPodcast" - Last episode check: Mon Apr 10 2023 22:34:00 GMT+0200 (Central European Summer Time) 2023-04-17 22:35:27 DEBUG [podcastUtils] getPodcastFeed for "https://pointerpodcast.it/index.xml" 2023-04-17 22:35:27 DEBUG [podcastUtils] getPodcastFeed for "https://pointerpodcast.it/index.xml" success - parsing xml 2023-04-17 22:35:31 DEBUG [LogManager] Daily log file already exists - set in Logger 2023-04-17 22:35:31 DEBUG [DailyLog] 2023-04-17: Loaded 2366 Logs 2023-04-17 22:35:30 INFO === Starting Server === 2023-04-17 22:35:30 INFO [Server] Init v2.2.19 2023-04-17 22:35:30 INFO [DB] 0 Collections Loaded 2023-04-17 22:35:30 INFO [DB] 0 Authors Loaded 2023-04-17 22:35:30 INFO [DB] 0 Series Loaded 2023-04-17 22:35:30 INFO [DB] 0 Playlists Loaded 2023-04-17 22:35:31 INFO [DB] 1 Users Loaded 2023-04-17 22:35:31 INFO [DB] 1 Libraries Loaded 2023-04-17 22:35:31 DEBUG Set Log Level to DEBUG 2023-04-17 22:35:31 INFO [DB] 36 Library Items Loaded 2023-04-17 22:35:31 INFO [BackupManager] 0 Backups Found 2023-04-17 22:35:31 INFOn[BackupManager] Auto Backups are disabled 2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-11.txt 2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-12.txt 2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-13.txt 2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-14.txt 2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-15.txt 2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-16.txt 2023-04-17 22:35:31 DEBUG Daily Log file found 2023-04-17.txt 2023-04-17 22:35:31 INFO [LogManager] Init current daily log filename: 2023-04-17.txt 2023-04-17 22:35:31 DEBUG [CronManager] Found 36 podcast episode schedules to start [Screenshot](https://imgur.com/a/uJX2u5F)
Author
Owner

@advplyr commented on GitHub (Apr 18, 2023):

There is another issue with this RSS feed that I found. They put an empty space in front of the mp3 file path.

This seems like an error on their side but I updated it so that spaces will be removed.

image

@advplyr commented on GitHub (Apr 18, 2023): There is another issue with this RSS feed that I found. They put an empty space in front of the mp3 file path. This seems like an error on their side but I updated it so that spaces will be removed. ![image](https://user-images.githubusercontent.com/67830747/232620759-8a08f280-2161-49fe-881c-e9d7ce472188.png)
Author
Owner

@advplyr commented on GitHub (May 6, 2023):

Fixed in v2.2.20

@advplyr commented on GitHub (May 6, 2023): Fixed in [v2.2.20](https://github.com/advplyr/audiobookshelf/releases/tag/v2.2.20)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1048