NextPVR Forums

Full Version: No longer able to download recording
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

First of all I've been using NextPVR for about 2 weeks now and I love the simplicity compared to some other full-blown solutions!

I just upgraded from 5.14.??? to 5.2.0.210912 and now when I click the download icon next to a recording I simply get redirected to e.g.
Code:
/download?recording_id=861

but all I see is a blank page.

In the network tab I can see that I'm getting a 401 Unauthorized response.

Seeing this in the logs

Code:
2021-10-02 00:44:21.719    [DEBUG][56]    Got request [x.x.x.x]: /download
2021-10-02 00:44:21.721    [DEBUG][56]    /download?recording_id=861
2021-10-02 00:44:21.721    [DEBUG][56]     - recording_id: 861
2021-10-02 00:44:21.722    [ERROR][56]    Rejecting streaming request from remote client (x.x.x.x), with no valid sid
2021-10-02 00:44:43.861    [DEBUG][56]    Got request [x.x.x.x]: /services/service (system.space)
2021-10-02 00:44:43.861    [DEBUG][56]    method=system.space
2021-10-02 00:44:43.861    [DEBUG][56]    parameters:
2021-10-02 00:44:43.861    [DEBUG][56]       method: system.space
2021-10-02 00:44:43.861    [DEBUG][56]       format: json
2021-10-02 00:44:43.861    [DEBUG][56]       random: 0.0271728612071076
2021-10-02 00:44:43.861    [DEBUG][56]       sid: 46040423-fde6-4a07-b8ee-e53f77da5ff7
2021-10-02 00:44:43.861    [DEBUG][56]       client_ip: x.x.x.x
2021-10-02 00:44:43.861    [DEBUG][56]       user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0
2021-10-02 00:44:43.861    [DEBUG][56]       host_callback: ...
2021-10-02 00:44:43.861    [DEBUG][56]    Checking disk space for: /mnt/data/nextpvr/
2021-10-02 00:44:43.861    [DEBUG][56]    Available Space:
2021-10-02 00:44:43.861    [DEBUG][56]     (Default) - 269425381376/236741910528
2021-10-02 00:44:43.861    [DEBUG][56]    [{"name":"Default","total":269425381376,"free":236741910528}]
2021-10-02 00:44:43.861    [DEBUG][56]    Got request [x.x.x.x]: /services/service (setting.get)
2021-10-02 00:44:43.861    [DEBUG][56]    method=setting.get
2021-10-02 00:44:43.861    [DEBUG][56]    parameters:
2021-10-02 00:44:43.861    [DEBUG][56]       method: setting.get
2021-10-02 00:44:43.861    [DEBUG][56]       key: /Settings/General/ShowNewInGuide
2021-10-02 00:44:43.861    [DEBUG][56]       format: json
2021-10-02 00:44:43.861    [DEBUG][56]       sid: 46040423-fde6-4a07-b8ee-e53f77da5ff7
2021-10-02 00:44:43.861    [DEBUG][56]       client_ip: x.x.x.x
2021-10-02 00:44:43.861    [DEBUG][56]       user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0
2021-10-02 00:44:43.861    [DEBUG][56]       host_callback: ...
2021-10-02 00:44:43.861    [DEBUG][56]    setting.get
2021-10-02 00:44:43.861    [DEBUG][56]    {
"value": "false"
}


Any idea what's going on?
(2021-10-02, 08:17 AM)axel Wrote: [ -> ]Any idea what's going on?

You didn't supply the full set of support logs generated by the application on the Settings screen. Therefore, we can't determine your settings or what is really going on.

Furthermore, you clearly edited the information that you did post since all of the IP addresses are showing as "x.x.x.x". If I had to guess, I would suspect that you are trying to use a web client on a system on a different subnet than the server (and probably not on a non-routable subnet).
You don't provide enough information. Are you trying to download this file over the internet? If so are you logging into the server with the same browser and trying to download the recording and have you changed your PIN and password from the defaults?


Martin
Okay I will go into the settings, click around and generate some logs...

But in general, I run my NextPVR on a VPS with IP 205.x.x.x. And access from my laptop, e.g. right now 84.131.x.x.

I did change the user name, password and PIN (I guess as there is only a button to change the Login and everything else might be autosaved).

I also allowed remote access and even temporarily unauthenticated access (as I wanted to try playing from VLC instead of web)
Thanks it could be a limitation on downloading. Kodi should also will work over the internet.

Martin
Did you try ticking 'Allow unauthenticated access for streaming Live TV / Recordings' to see if it makes a difference?
Hey Martin and sub, thanks for having a look at this.

I finally clicked through the settings and downloaded the logs. I also updated to the latest version 5.2.1.211003

Still, when I click the "download" button on the main page, next to a recording I get sent to /download?recording_id=866 and in the logs I see a request to /download

Thanks for your help

Edit: yes, I have remote access and authenticated access enabled
I just noticed that the file didn't attach properly, I try to zip it first.
Are you sure the setting for Allow unauthenticated access is checked?

2021-10-10 23:41:57.787 [ERROR][60] Rejecting streaming request from remote client, with no valid sid

Note this will mean that anyone can stream recordings and live TV and also download over the Internet unless you provide additional control outside NextPVR

Mrtin
Alright this is odd. I had the checkbox "Allow unauthenticated access for streaming Live TV/Recordings" checked and it didn't let me download.

Then I unchecked the box and now I can download...
Pages: 1 2