Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some podcast episodes don't download #1123

Open
5 tasks done
Patriot2407 opened this issue Jan 7, 2025 · 9 comments
Open
5 tasks done

Some podcast episodes don't download #1123

Patriot2407 opened this issue Jan 7, 2025 · 9 comments

Comments

@Patriot2407
Copy link

Describe the bug

I click download podcast episode to server (cloud button) and it says Episode downloaded to server, but it doesn't download and the log is

2025-01-07T12:18:38 ℹ️ - Downloading podcast episode: A New Control Tool to Disrupt Freedom and Free Speech
2025-01-07T12:19:10 ❌ - Error during reqwest: error decoding response body
thread '' panicked at src/controllers/podcast_episode_controller.rs:193:18:
called Result::unwrap() on an Err value: Initial error: Bad Request: Error requesting resource from server
Error context:
disabled backtrace
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
2025-01-07T12:19:10 ❌ - Error Bad Request: Error requesting resource from server: disabled backtrace with error

This podcast used to work in podfetch.

Reproduction

Add rss feed for https://odysee.com/$/rss/@RobBraxmanTech:6 and try to download an episode

System Info

Unraid
Docker

Used Package Manager

n/a

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@Patriot2407
Copy link
Author

I added the environment variable for rust backtrace this is the new log:

2025-01-07T12:35:45 ℹ️ - Downloading podcast episode: Here's a Practical Email Plan that has Nothing to Do With Email Encryption
2025-01-07T12:36:18 ❌ - Error during reqwest: error decoding response body
thread '' panicked at src/controllers/podcast_episode_controller.rs:193:18:
called Result::unwrap() on an Err value: Initial error: Bad Request: Error requesting resource from server
Error context:
0:
1:
2:
3:
4:
5:
6:
7:
stack backtrace:
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
2025-01-07T12:36:18 ❌ - Error Bad Request: Error requesting resource from server: 0:
1:
2:
3:
4:
5:
6:
7:

 with error

@Patriot2407
Copy link
Author

This is with backtrace set to full:

2025-01-07T12:38:05 ℹ️ - Downloading podcast episode: Scary New AI Companion (on Copilot, Iphone 16) Will Be Your Personal PsyOp and Surveillance Bot
2025-01-07T12:38:38 ❌ - Error during reqwest: error decoding response body
thread '' panicked at src/controllers/podcast_episode_controller.rs:193:18:
called Result::unwrap() on an Err value: Initial error: Bad Request: Error requesting resource from server
Error context:
0:
1:
2:
3:
4:
5:
6:
7:
stack backtrace:
0: 0x151ffa81928a -
1: 0x151ff9cdeb83 -
2: 0x151ffa8148e3 -
3: 0x151ffa8190e2 -
4: 0x151ffa81a1a6 -
5: 0x151ffa819ff0 -
6: 0x151ffa81a747 -
7: 0x151ffa81a5ea -
8: 0x151ffa819739 -
9: 0x151ffa81a28c -
10: 0x151ff9b75e40 -
11: 0x151ff9b76246 -
12: 0x151ffa50cb36 -
13: 0x151ffa39a1c1 -
14: 0x151ffa81dbdb -
2025-01-07T12:38:38 ❌ - Error Bad Request: Error requesting resource from server: 0:
1:
2:
3:
4:
5:
6:
7:

 with error

@SamTV12345
Copy link
Owner

Feel free to try again. I enabled the debug flags on Docker images so you should see the error without a problem

@Patriot2407
Copy link
Author

2025-01-07T19:48:29 ℹ️ - Downloading podcast episode: A New Control Tool to Disrupt Freedom and Free Speech
2025-01-07T19:49:02 ❌ - Error during reqwest: error decoding response body
thread '' panicked at src/controllers/podcast_episode_controller.rs:193:18:
called Result::unwrap() on an Err value: Initial error: Bad Request: Error requesting resource from server
Error context:
0: <podfetch::utils::error::BacktraceError as core::convert::Frompodfetch::utils::error::CustomErrorInner>::from
at /home/rust/src/src/utils/error.rs:27:34
1: <T as core::convert::Into>::into
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/convert/mod.rs:759:9
2: podfetch::utils::error::map_reqwest_error
at /home/rust/src/src/utils/error.rs:231:87
3: core::ops::function::FnOnce::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
4: core::result::Result<T,E>::map_err
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:856:27
5: podfetch::service::download_service::DownloadService::handle_suffix_response
at /home/rust/src/src/service/download_service.rs:42:22
6: podfetch::service::download_service::DownloadService::download_podcast_episode
at /home/rust/src/src/service/download_service.rs:80:28
7: podfetch::service::podcast_episode_service::PodcastEpisodeService::perform_download
at /home/rust/src/src/service/podcast_episode_service.rs:68:9
8: <podfetch::controllers::podcast_episode_controller::download_podcast_episodes_of_podcast as actix_web::service::HttpServiceFactory>::register::download_podcast_episodes_of_podcast::{{closure}}::{{closure}}
at /home/rust/src/src/controllers/podcast_episode_controller.rs:192:13
9: std::sys::backtrace::rust_begin_short_backtrace
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:154:18
10: std::thread::Builder::spawn_unchecked
::{{closure}}::{{closure}}
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:538:17
11: <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
12: std::panicking::try::do_call
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
13: std::panicking::try
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
14: std::panic::catch_unwind
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
15: std::thread::Builder::spawn_unchecked
::{{closure}}
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:537:30
16: core::ops::function::FnOnce::call_once{{vtable.shim}}
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
17: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
18: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
19: std::sys::pal::unix::thread::Thread::new::thread_start
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/pal/unix/thread.rs:105:17
stack backtrace:
0: 0x14a7c653861a - std::backtrace_rs::backtrace::libunwind::trace::h02232dcd2b3d95ab
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
1: 0x14a7c653861a - std::backtrace_rs::backtrace::trace_unsynchronized::he18cdbdf1382b082
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x14a7c653861a - std::sys::backtrace::_print_fmt::hafaa66a1cafa54a3
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:66:9
3: 0x14a7c653861a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h4e2ed00da9626c89
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:39:26
4: 0x14a7c65844b3 - core::fmt::rt::Argument::fmt::h928bbafab3e6161d
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/rt.rs:177:76
5: 0x14a7c65844b3 - core::fmt::write::h1e2817ad6effb3a8
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/mod.rs:1186:21
6: 0x14a7c65335a3 - std::io::Write::write_fmt::h2248a88e59fb6993
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/io/mod.rs:1839:15
7: 0x14a7c6538462 - std::sys::backtrace::BacktraceLock::print::he72565f9e0b2846f
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:42:9
8: 0x14a7c653962c - std::panicking::default_hook::{{closure}}::hd88bc1072bff8016
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:268:22
9: 0x14a7c6539472 - std::panicking::default_hook::h2975aaf8fe1bdbb2
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:295:9
10: 0x14a7c6539c07 - std::panicking::rust_panic_with_hook::h54f358af0528b0ac
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:801:13
11: 0x14a7c6539a9a - std::panicking::begin_panic_handler::{{closure}}::h8022c92830c406a8
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:674:13
12: 0x14a7c6538af9 - std::sys::backtrace::__rust_end_short_backtrace::h4b072f3484fb4e42
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:170:18
13: 0x14a7c653972c - rust_begin_unwind
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5
14: 0x14a7c53a6670 - core::panicking::panic_fmt::h8143c7df49e27964
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14
15: 0x14a7c53a6ab6 - core::result::unwrap_failed::h77d9a525433959c1
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:1700:5
16: 0x14a7c558ad5f - core::result::Result<T,E>::unwrap::ha7fc63e6a597120f
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:1104:23
17: 0x14a7c558ad5f - <podfetch::controllers::podcast_episode_controller::download_podcast_episodes_of_podcast as actix_web::service::HttpServiceFactory>::register::download_podcast_episodes_of_podcast::{{closure}}::{{closure}}::h4ad9ea70bd7ace18
at /home/rust/src/src/controllers/podcast_episode_controller.rs:192:13
18: 0x14a7c558ad5f - std::sys::backtrace::rust_begin_short_backtrace::h9304fcb43fece14b
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:154:18
19: 0x14a7c54b3d69 - std::thread::Builder::spawn_unchecked
::{{closure}}::{{closure}}::h7ec68a9e1e36368c
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:538:17
20: 0x14a7c54b3d69 - <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once::hd2487547a83a6c93
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
21: 0x14a7c54b3d69 - std::panicking::try::do_call::h7ffa0d84a68b81d7
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
22: 0x14a7c54b3d69 - std::panicking::try::h31be7739c797c948
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
23: 0x14a7c54b3d69 - std::panic::catch_unwind::hafc2c20475f6a280
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
24: 0x14a7c54b3d69 - std::thread::Builder::spawn_unchecked
::{{closure}}::hd3faeb967cca7326
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:537:30
25: 0x14a7c54b3d69 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb61f69660b3414ae
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
26: 0x14a7c653ce6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once::ha103b0c337a9ba9c
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
27: 0x14a7c653ce6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once::h018378fba1261253
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
28: 0x14a7c653ce6b - std::sys::pal::unix::thread::Thread::new::thread_start::hf31c722d9a85cd08
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/pal/unix/thread.rs:105:17
2025-01-07T19:49:02 ❌ - Error Bad Request: Error requesting resource from server: 0: <podfetch::utils::error::BacktraceError as core::convert::Frompodfetch::utils::error::CustomErrorInner>::from
at /home/rust/src/src/utils/error.rs:27:34
1: <T as core::convert::Into>::into
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/convert/mod.rs:759:9
2: podfetch::utils::error::map_reqwest_error
at /home/rust/src/src/utils/error.rs:231:87
3: core::ops::function::FnOnce::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
4: core::result::Result<T,E>::map_err
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:856:27
5: podfetch::service::download_service::DownloadService::handle_suffix_response
at /home/rust/src/src/service/download_service.rs:42:22
6: podfetch::service::download_service::DownloadService::download_podcast_episode
at /home/rust/src/src/service/download_service.rs:80:28
7: podfetch::service::podcast_episode_service::PodcastEpisodeService::perform_download
at /home/rust/src/src/service/podcast_episode_service.rs:68:9
8: <podfetch::controllers::podcast_episode_controller::download_podcast_episodes_of_podcast as actix_web::service::HttpServiceFactory>::register::download_podcast_episodes_of_podcast::{{closure}}::{{closure}}
at /home/rust/src/src/controllers/podcast_episode_controller.rs:192:13
9: std::sys::backtrace::rust_begin_short_backtrace
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:154:18
10: std::thread::Builder::spawn_unchecked
::{{closure}}::{{closure}}
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:538:17
11: <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
12: std::panicking::try::do_call
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
13: std::panicking::try
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
14: std::panic::catch_unwind
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
15: std::thread::Builder::spawn_unchecked
::{{closure}}
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:537:30
16: core::ops::function::FnOnce::call_once{{vtable.shim}}
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
17: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
18: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
19: std::sys::pal::unix::thread::Thread::new::thread_start
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/pal/unix/thread.rs:105:17
with error

@Patriot2407
Copy link
Author

Weird, this rss feed is apparently only .mp4 and .webp files. I don't know how this used to work before, but I don't expect your software to encode video to audio, so this is not a huge issue if this feed doesn't work anymore.

@Patriot2407
Copy link
Author

I honestly did not even know it was a video only feed

@SamTV12345
Copy link
Owner

I honestly did not even know it was a video only feed

Yeah I was also a bit surprised when I opened the files and view a preview of a video in the explorer. I guess his intention is that you don't download the files. Or you can click on it multiple times and hope it works. I'll keep this open. Maybe I find a solution on how to download such big files 😅.

@Patriot2407
Copy link
Author

So the podcast actually does download in antenna pod somehow, but it doesn't download on the podfetch server

@Patriot2407
Copy link
Author

I don't believe it ever downloaded to disk in podfetch, I believe it was the same behavior before where antenna pod is somehow downloading it through podfetch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants