[Bug]: OPML Import Failed #2079

Closed
opened 2026-04-25 00:03:13 +02:00 by adam · 13 comments
Owner

Originally created by @hardwareadictos on GitHub (Jul 5, 2024).

What happened?

WWhen i import an opml file from AntennaPod/Pocketcast podcastUtils crashes and doesn't import any subscription

What did you expect to happen?

Podcasts being imported from OPML file, even if any suscription doesnt exists anymore or returns a 404 error

Steps to reproduce the issue

Just importing an opml file on the web UI

Audiobookshelf version

v2.10.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Windows

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

None

Logs

2024-07-05 10:48:32.005

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:48:32.605

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:49:06.776

ERROR

[podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND compilando.audio

2024-07-05 10:49:18.809

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:49:32.252

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "http:" not supported. Expected "https:"

2024-07-05 10:49:33.842

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:49:41.946

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:49:50.536

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:50:02.407

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:50:41.092

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:50:51.982

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:51:00.969

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:51:07.391

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:51:08.585

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:52:04.777

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:52:09.011

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:52:14.265

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 403

2024-07-05 10:52:16.661

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:52:24.899

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:52:25.881

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:52:30.336

ERROR

[podcastUtils] Invalid XML or RSS feed

2024-07-05 10:52:41.841

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:52:42.391

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:52:42.705

ERROR

[podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND podcastelardelgeek.com

2024-07-05 10:52:46.365

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:52:46.741

ERROR

[podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND compilando.audio

2024-07-05 10:52:51.651

ERROR

[podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND podcasteltelardelgeek.com

2024-07-05 10:52:51.744

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:52:54.408

ERROR

[podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND www.geekjoze.es

2024-07-05 10:52:58.705

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:52:59.432

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:53:03.108

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:53:06.196

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:53:09.735

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:53:10.552

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:53:11.958

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:53:12.026

ERROR

[podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND www.hablandodehardware.com

2024-07-05 10:53:18.209

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:53:40.055

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: timeout of 12000ms exceeded

2024-07-05 10:53:40.174

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:53:40.272

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:53:48.904

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "http:" not supported. Expected "https:"

2024-07-05 10:53:53.868

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:53:56.760

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:53:56.952

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:53:57.281

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:54:00.669

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:54:05.690

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:54:11.847

ERROR

[xmlToJSON] Error Error: Unexpected close tag Line: 274 Column: 7 Char: >

2024-07-05 10:54:11.848

ERROR

[podcastUtils] Invalid XML or RSS feed

2024-07-05 10:54:27.815

ERROR

[podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND compilando.audio

2024-07-05 10:54:27.821

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:54:29.257

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:54:29.324

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:54:30.531

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:54:34.929

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:54:35.039

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:54:36.499

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 500

2024-07-05 10:54:36.896

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:54:38.472

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:55:09.162

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "http:" not supported. Expected "https:"

2024-07-05 10:55:10.476

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:55:18.428

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:55:26.018

ERROR

[podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"

2024-07-05 10:55:33.485

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:56:10.887

ERROR

[podcastUtil] Invalid podcast no episodes

2024-07-05 10:56:18.809

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:56:25.769

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:56:32.079

ERROR

[podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404

2024-07-05 10:56:32.865

ERROR

[podcastUtil] Invalid podcast no episodes

Additional Notes

OPML file: https://pastecode.io/s/j10cuenc

Originally created by @hardwareadictos on GitHub (Jul 5, 2024). ### What happened? WWhen i import an opml file from AntennaPod/Pocketcast podcastUtils crashes and doesn't import any subscription ### What did you expect to happen? Podcasts being imported from OPML file, even if any suscription doesnt exists anymore or returns a 404 error ### Steps to reproduce the issue Just importing an opml file on the web UI ### Audiobookshelf version v2.10.1 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Windows ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell 2024-07-05 10:48:32.005 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:48:32.605 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:49:06.776 ERROR [podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND compilando.audio 2024-07-05 10:49:18.809 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:49:32.252 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "http:" not supported. Expected "https:" 2024-07-05 10:49:33.842 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:49:41.946 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:49:50.536 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:50:02.407 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:50:41.092 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:50:51.982 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:51:00.969 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:51:07.391 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:51:08.585 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:52:04.777 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:52:09.011 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:52:14.265 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 403 2024-07-05 10:52:16.661 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:52:24.899 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:52:25.881 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:52:30.336 ERROR [podcastUtils] Invalid XML or RSS feed 2024-07-05 10:52:41.841 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:52:42.391 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:52:42.705 ERROR [podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND podcastelardelgeek.com 2024-07-05 10:52:46.365 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:52:46.741 ERROR [podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND compilando.audio 2024-07-05 10:52:51.651 ERROR [podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND podcasteltelardelgeek.com 2024-07-05 10:52:51.744 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:52:54.408 ERROR [podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND www.geekjoze.es 2024-07-05 10:52:58.705 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:52:59.432 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:53:03.108 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:53:06.196 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:53:09.735 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:53:10.552 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:53:11.958 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:53:12.026 ERROR [podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND www.hablandodehardware.com 2024-07-05 10:53:18.209 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:53:40.055 ERROR [podcastUtils] getPodcastFeed Error AxiosError: timeout of 12000ms exceeded 2024-07-05 10:53:40.174 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:53:40.272 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:53:48.904 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "http:" not supported. Expected "https:" 2024-07-05 10:53:53.868 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:53:56.760 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:53:56.952 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:53:57.281 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:54:00.669 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:54:05.690 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:54:11.847 ERROR [xmlToJSON] Error Error: Unexpected close tag Line: 274 Column: 7 Char: > 2024-07-05 10:54:11.848 ERROR [podcastUtils] Invalid XML or RSS feed 2024-07-05 10:54:27.815 ERROR [podcastUtils] getPodcastFeed Error Error: getaddrinfo ENOTFOUND compilando.audio 2024-07-05 10:54:27.821 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:54:29.257 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:54:29.324 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:54:30.531 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:54:34.929 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:54:35.039 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:54:36.499 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 500 2024-07-05 10:54:36.896 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:54:38.472 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:55:09.162 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "http:" not supported. Expected "https:" 2024-07-05 10:55:10.476 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:55:18.428 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:55:26.018 ERROR [podcastUtils] getPodcastFeed Error Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:" 2024-07-05 10:55:33.485 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:56:10.887 ERROR [podcastUtil] Invalid podcast no episodes 2024-07-05 10:56:18.809 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:56:25.769 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:56:32.079 ERROR [podcastUtils] getPodcastFeed Error AxiosError: Request failed with status code 404 2024-07-05 10:56:32.865 ERROR [podcastUtil] Invalid podcast no episodes ``` ### Additional Notes OPML file: https://pastecode.io/s/j10cuenc
adam added the bug label 2026-04-25 00:03:13 +02:00
adam closed this issue 2026-04-25 00:03:13 +02:00
Author
Owner

@mikiher commented on GitHub (Jul 10, 2024):

I tried importing your OPML, and it successfully imported all the podcasts that it did find.

There were many podcasts in the list for which the podcast feed link is broken or empty, and therefore you get errors for those - that is normal. You said: "podcastUtils crashes and doesn't import any subscription". Is the server actually crashing? when I tried it, I saw no crush, but the import took quite a bit of time (maybe 5-10 minutes), due to the large number of feeds.

What would you want Audiobookshelf to do with a podcast that does not have a working feed? If it doesn't have a feed it's not actionable (you cannot search and download episodes, you cannot display its cover image - you can't do anything with it).

@mikiher commented on GitHub (Jul 10, 2024): I tried importing your OPML, and it successfully imported all the podcasts that it did find. There were many podcasts in the list for which the podcast feed link is broken or empty, and therefore you get errors for those - that is normal. You said: "podcastUtils crashes and doesn't import any subscription". Is the server actually crashing? when I tried it, I saw no crush, but the import took quite a bit of time (maybe 5-10 minutes), due to the large number of feeds. What would you want Audiobookshelf to do with a podcast that does not have a working feed? If it doesn't have a feed it's not actionable (you cannot search and download episodes, you cannot display its cover image - you can't do anything with it).
Author
Owner

@hardwareadictos commented on GitHub (Jul 10, 2024):

I tried importing your OPML, and it successfully imported all the podcasts that it did find.

There were many podcasts in the list for which the podcast feed link is broken or empty, and therefore you get errors for those - that is normal. You said: "podcastUtils crashes and doesn't import any subscription". Is the server actually crashing? when I tried it, I saw no crush, but the import took quite a bit of time (maybe 5-10 minutes), due to the large number of feeds.

What would you want Audiobookshelf to do with a podcast that does not have a working feed? If it doesn't have a feed it's not actionable (you cannot search and download episodes, you cannot display its cover image - you can't do anything with it).

Nice! I didn't wait those five minutes as i saw lots of 404 errors on the logs, glad it worked for you.

I'm going to reproduce it and see if it works.

@hardwareadictos commented on GitHub (Jul 10, 2024): > I tried importing your OPML, and it successfully imported all the podcasts that it did find. > > There were many podcasts in the list for which the podcast feed link is broken or empty, and therefore you get errors for those - that is normal. You said: "podcastUtils crashes and doesn't import any subscription". Is the server actually crashing? when I tried it, I saw no crush, but the import took quite a bit of time (maybe 5-10 minutes), due to the large number of feeds. > > What would you want Audiobookshelf to do with a podcast that does not have a working feed? If it doesn't have a feed it's not actionable (you cannot search and download episodes, you cannot display its cover image - you can't do anything with it). Nice! I didn't wait those five minutes as i saw lots of 404 errors on the logs, glad it worked for you. I'm going to reproduce it and see if it works.
Author
Owner

@hardwareadictos commented on GitHub (Jul 10, 2024):

Well, still the same. I just load the OPML file and it crashes 2/3 minutes later:

image

image

image

Which browser are you using? I tried Edge on Windows Server 2019, and Edge/Firefox on OpenSUSE.

@hardwareadictos commented on GitHub (Jul 10, 2024): Well, still the same. I just load the OPML file and it crashes 2/3 minutes later: ![image](https://github.com/advplyr/audiobookshelf/assets/20403906/b5673b2c-fbec-4072-854b-b76b9f90cc78) ![image](https://github.com/advplyr/audiobookshelf/assets/20403906/e25fc424-90c4-4a25-ab5e-c4401327dc19) ![image](https://github.com/advplyr/audiobookshelf/assets/20403906/9e8cc993-d55d-4ddc-8fbf-70c1fb3d26a0) Which browser are you using? I tried Edge on Windows Server 2019, and Edge/Firefox on OpenSUSE.
Author
Owner

@mikiher commented on GitHub (Jul 10, 2024):

I doubt the browser is the issue here (this is all happening on the server).

So, just to be clear, what I see in your screenshots is a message saying "Failed to parse OPML file". I don't see a crash - so the server is still running, but the OPML import fails, correct?

@mikiher commented on GitHub (Jul 10, 2024): I doubt the browser is the issue here (this is all happening on the server). So, just to be clear, what I see in your screenshots is a message saying "Failed to parse OPML file". I don't see a crash - so the server is still running, but the OPML import fails, correct?
Author
Owner

@hardwareadictos commented on GitHub (Jul 10, 2024):

I doubt the browser is the issue here (this is all happening on the server).

So, just to be clear, what I see in your screenshots is a message saying "Failed to parse OPML file". I don't see a crash - so the server is still running, but the OPML import fails, correct?

yes. that's it!

@hardwareadictos commented on GitHub (Jul 10, 2024): > I doubt the browser is the issue here (this is all happening on the server). > > So, just to be clear, what I see in your screenshots is a message saying "Failed to parse OPML file". I don't see a crash - so the server is still running, but the OPML import fails, correct? yes. that's it!
Author
Owner

@mikiher commented on GitHub (Jul 10, 2024):

Can I ask you to please set Audiobookshelf Server Log Level (in Settings -> Logs) to Debug, and try to import the OPML again?
After that can you please attach the latest actual log file from the server? It can be found at /metadata/logs/daily
Also if there's any crash log at /metadata/logs/crash_logs.txt, please attach that as well.

@mikiher commented on GitHub (Jul 10, 2024): Can I ask you to please set Audiobookshelf `Server Log Level` (in `Settings` -> `Logs`) to `Debug`, and try to import the OPML again? After that can you please attach the latest actual log file from the server? It can be found at `/metadata/logs/daily` Also if there's any crash log at `/metadata/logs/crash_logs.txt`, please attach that as well.
Author
Owner

@hardwareadictos commented on GitHub (Jul 10, 2024):

Can I ask you to please set Audiobookshelf Server Log Level (in Settings -> Logs) to Debug, and try to import the OPML again? After that can you please attach the latest actual log file from the server? It can be found at /metadata/logs/daily Also if there's any crash log at /metadata/logs/crash_logs.txt, please attach that as well.

Done! Uploading the logs, just search on todays log from 12:00 and beyond, on crash logs you will see something about SQLITE DB crashing, i think (but im not sure) that's realted to another issue i opened: https://github.com/advplyr/audiobookshelf/issues/3123

crash_logs.txt
2024-07-10.txt

@hardwareadictos commented on GitHub (Jul 10, 2024): > Can I ask you to please set Audiobookshelf `Server Log Level` (in `Settings` -> `Logs`) to `Debug`, and try to import the OPML again? After that can you please attach the latest actual log file from the server? It can be found at `/metadata/logs/daily` Also if there's any crash log at `/metadata/logs/crash_logs.txt`, please attach that as well. Done! Uploading the logs, just search on todays log from 12:00 and beyond, on crash logs you will see something about SQLITE DB crashing, i think (but im not sure) that's realted to another issue i opened: https://github.com/advplyr/audiobookshelf/issues/3123 [crash_logs.txt](https://github.com/user-attachments/files/16160412/crash_logs.txt) [2024-07-10.txt](https://github.com/user-attachments/files/16160406/2024-07-10.txt)
Author
Owner

@mikiher commented on GitHub (Jul 10, 2024):

OK, thanks for sending the logs. The logs seem to indicate that the OPML upload operation on the server finished successfuly, so I'm suspecting maybe some timeout or another connection-related error between the browser and the server.

Can I ask you to open the developer tools on the browser (f12 on Chrome and Edge), and go to the Console tab. Then try to import the opml file again, and wait for the "Failed to parse OPML file" message. Please check if some error message is printed to the console at same time the "Failed to parse OPML file" message appears, and paste it here.

@mikiher commented on GitHub (Jul 10, 2024): OK, thanks for sending the logs. The logs seem to indicate that the OPML upload operation on the server finished successfuly, so I'm suspecting maybe some timeout or another connection-related error between the browser and the server. Can I ask you to open the developer tools on the browser (f12 on Chrome and Edge), and go to the Console tab. Then try to import the opml file again, and wait for the "Failed to parse OPML file" message. Please check if some error message is printed to the console at same time the "Failed to parse OPML file" message appears, and paste it here.
Author
Owner

@hardwareadictos commented on GitHub (Jul 10, 2024):

And you were right:

image

Error 504. I'm runing under an nginx proxy manager with websockets enabled.

BUT: If i attack de service via the internal ip:port i am able to get all the podcasts correctly and i can add them to my library!!:

image

So something in the proxy is giving those timeouts. Let me check the proxy and the documentation.

EDIT: as of the documentation, only websockets needs to be enabled so let me investigate how to make those timeouts bigger to avoid the 502 error on Nginx Proxy Manager.

@hardwareadictos commented on GitHub (Jul 10, 2024): And you were right: ![image](https://github.com/advplyr/audiobookshelf/assets/20403906/b6810f43-f56b-42e3-8e13-abab8e15ca9b) Error 504. I'm runing under an nginx proxy manager with websockets enabled. BUT: If i attack de service via the internal ip:port i am able to get all the podcasts correctly and i can add them to my library!!: ![image](https://github.com/advplyr/audiobookshelf/assets/20403906/3adb4413-2cd9-4b8d-8290-de3780dc6cc3) So something in the proxy is giving those timeouts. Let me check the proxy and the documentation. EDIT: as of the documentation, only websockets needs to be enabled so let me investigate how to make those timeouts bigger to avoid the 502 error on Nginx Proxy Manager.
Author
Owner

@hardwareadictos commented on GitHub (Jul 10, 2024):

Okay seems that adding proxy_read_timeout 600s (10 minutes in my case because the opml was taking 5 mins to import through the proxy); to Advanced tab on the proxy host helps:

image

Let me test this fore some days and i will report back :)

@hardwareadictos commented on GitHub (Jul 10, 2024): Okay seems that adding ```proxy_read_timeout 600s``` (10 minutes in my case because the opml was taking 5 mins to import through the proxy); to Advanced tab on the proxy host helps: ![image](https://github.com/advplyr/audiobookshelf/assets/20403906/ccd5f402-62c1-4402-94a4-82b3a9862f57) Let me test this fore some days and i will report back :)
Author
Owner

@mikiher commented on GitHub (Jul 10, 2024):

@advplyr that's an interesting type of failure. We should probably make the OPML import a non-blocking task like metadata embedding. What do you think?

@mikiher commented on GitHub (Jul 10, 2024): @advplyr that's an interesting type of failure. We should probably make the OPML import a non-blocking task like metadata embedding. What do you think?
Author
Owner

@advplyr commented on GitHub (Jul 12, 2024):

Yeah we definitely should. We may have to skip the confirmation step then and just add the podcasts. Showing a task in the appbar.

@advplyr commented on GitHub (Jul 12, 2024): Yeah we definitely should. We may have to skip the confirmation step then and just add the podcasts. Showing a task in the appbar.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 5, 2024):

Fixed in v2.12.0.

@github-actions[bot] commented on GitHub (Aug 5, 2024): Fixed in [v2.12.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.12.0).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2079