Downloading NZB file for Sabnzbd throws cast error #878

Closed
opened 2026-02-20 10:04:41 -05:00 by deekerman · 0 comments
Owner

Originally created by @PearsonFlyer on GitHub (Jun 6, 2023).

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

When grabbing an nzb file in Prowlarr, to send to sabnzbd, the icon goes gray and it doesn't send the nzb to sabnzbd. Instead, the logs throw a cast error (see below).

This worked recently, so it is a new error in this version.

Expected Behavior

It should send the nzb to sabnzbd to download.

Steps To Reproduce

  1. Do a search in Prowlarr
  2. Click download on an nzb result
  3. See the download icon turn gray and not send to sab.

Environment

- OS: Windows 10
- Prowlarr: v1.6.0.3501
- Docker Install: No
- Using Reverse Proxy: No
- Browser: Firefox

What branch are you running?

Nightly

Trace Logs?

2023-06-06 16:48:00.1|Trace|Http|Req: 1032 [GET] /signalr/messages?access_token=(removed)&id=(removed) (from 192.168.1.5 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0)
2023-06-06 16:48:00.1|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: SignalR was successfully authenticated.
2023-06-06 16:48:00.1|Error|GlobalExceptionHandlers|Task Error

[v1.6.0.32023-06-06 16:48:00.1|Trace|Http|Req: 1032 [GET] /signalr/messages?access_token=(removed)&id=(removed) (from 192.168.1.5 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0)
2023-06-06 16:48:00.1|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: SignalR was successfully authenticated.
2023-06-06 16:48:00.1|Error|GlobalExceptionHandlers|Task Error

[v1.6.0.3501] System.InvalidCastException: Unable to cast object of type 'NzbDrone.Core.Parser.Model.ReleaseInfo' to type 'NzbDrone.Core.Parser.Model.TorrentInfo'.
   at NzbDrone.Core.Download.DownloadService.SendReportToClient(ReleaseInfo release, String source, String host, Boolean redirect) in ./Prowlarr.Core/Download/DownloadService.cs:line 65


2023-06-06 16:48:01.3|Trace|Http|Req: 1033 [GET] /api/v1/log/file (from 192.168.1.5 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0)
2023-06-06 16:48:01.3|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2023-06-06 16:48:01.3|Trace|Http|Res: 1033 [GET] /api/v1/log/file: 200.OK (4 ms)
2023-06-06 16:48:01.3|Debug|Api|[GET] /api/v1/log/file: 200.OK (4 ms)501] System.InvalidCastException: Unable to cast object of type 'NzbDrone.Core.Parser.Model.ReleaseInfo' to type 'NzbDrone.Core.Parser.Model.TorrentInfo'.
   at NzbDrone.Core.Download.DownloadService.SendReportToClient(ReleaseInfo release, String source, String host, Boolean redirect) in ./Prowlarr.Core/Download/DownloadService.cs:line 65


2023-06-06 16:48:01.3|Trace|Http|Req: 1033 [GET] /api/v1/log/file (from 192.168.1.5 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0)
2023-06-06 16:48:01.3|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2023-06-06 16:48:01.3|Trace|Http|Res: 1033 [GET] /api/v1/log/file: 200.OK (4 ms)
2023-06-06 16:48:01.3|Debug|Api|[GET] /api/v1/log/file: 200.OK (4 ms)

Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.

  • I have followed the steps in the wiki link above and provided the required trace logs that are relevant and show this issue.
Originally created by @PearsonFlyer on GitHub (Jun 6, 2023). ### Is there an existing issue for this? - [X] I have searched the existing open and closed issues ### Current Behavior When grabbing an nzb file in Prowlarr, to send to sabnzbd, the icon goes gray and it doesn't send the nzb to sabnzbd. Instead, the logs throw a cast error (see below). This worked recently, so it is a new error in this version. ### Expected Behavior It should send the nzb to sabnzbd to download. ### Steps To Reproduce 1. Do a search in Prowlarr 2. Click download on an nzb result 3. See the download icon turn gray and not send to sab. ### Environment ```markdown - OS: Windows 10 - Prowlarr: v1.6.0.3501 - Docker Install: No - Using Reverse Proxy: No - Browser: Firefox ``` ### What branch are you running? Nightly ### Trace Logs? ``` 2023-06-06 16:48:00.1|Trace|Http|Req: 1032 [GET] /signalr/messages?access_token=(removed)&id=(removed) (from 192.168.1.5 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0) 2023-06-06 16:48:00.1|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: SignalR was successfully authenticated. 2023-06-06 16:48:00.1|Error|GlobalExceptionHandlers|Task Error [v1.6.0.32023-06-06 16:48:00.1|Trace|Http|Req: 1032 [GET] /signalr/messages?access_token=(removed)&id=(removed) (from 192.168.1.5 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0) 2023-06-06 16:48:00.1|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: SignalR was successfully authenticated. 2023-06-06 16:48:00.1|Error|GlobalExceptionHandlers|Task Error [v1.6.0.3501] System.InvalidCastException: Unable to cast object of type 'NzbDrone.Core.Parser.Model.ReleaseInfo' to type 'NzbDrone.Core.Parser.Model.TorrentInfo'. at NzbDrone.Core.Download.DownloadService.SendReportToClient(ReleaseInfo release, String source, String host, Boolean redirect) in ./Prowlarr.Core/Download/DownloadService.cs:line 65 2023-06-06 16:48:01.3|Trace|Http|Req: 1033 [GET] /api/v1/log/file (from 192.168.1.5 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0) 2023-06-06 16:48:01.3|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated. 2023-06-06 16:48:01.3|Trace|Http|Res: 1033 [GET] /api/v1/log/file: 200.OK (4 ms) 2023-06-06 16:48:01.3|Debug|Api|[GET] /api/v1/log/file: 200.OK (4 ms)501] System.InvalidCastException: Unable to cast object of type 'NzbDrone.Core.Parser.Model.ReleaseInfo' to type 'NzbDrone.Core.Parser.Model.TorrentInfo'. at NzbDrone.Core.Download.DownloadService.SendReportToClient(ReleaseInfo release, String source, String host, Boolean redirect) in ./Prowlarr.Core/Download/DownloadService.cs:line 65 2023-06-06 16:48:01.3|Trace|Http|Req: 1033 [GET] /api/v1/log/file (from 192.168.1.5 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0) 2023-06-06 16:48:01.3|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated. 2023-06-06 16:48:01.3|Trace|Http|Res: 1033 [GET] /api/v1/log/file: 200.OK (4 ms) 2023-06-06 16:48:01.3|Debug|Api|[GET] /api/v1/log/file: 200.OK (4 ms) ``` ### Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided. - [X] I have followed the steps in the wiki link above and provided the required trace logs that are relevant and show this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Prowlarr#878
No description provided.