2017-01-16, 03:45 AM
C:\Users\Public\NPVR\Logs\web.log contains all the logging for the web server.
2017-01-16, 03:45 AM
C:\Users\Public\NPVR\Logs\web.log contains all the logging for the web server.
2017-01-16, 01:21 PM
sub Wrote:C:\Users\Public\NPVR\Logs\web.log contains all the logging for the web server. Certainly in the code there are some http calls hardcoded and because of the nature of the web server you can add your own debug messages. If you upload your log we can have a look at it and maybe help pinpoint where the error is occurring. Also if you stop the recording service you can run it in diagnostic mode with NRecord RUN and there will be more output to the console on what is being received. I redirect this to a file by piping the output to a file. Martin
2017-01-19, 02:07 AM
Hi,
I looked at the log file, and tried to go to the main page again (getting the error message) ... but nothing at all added to the log. Are web accesses / URLs not captured in the logs? Thanks!
2017-01-19, 02:18 AM
Not everything is logged as I mentioned sometimes you need console output.
Martin.
2017-01-20, 01:23 AM
Gotcha. OK, ran manually, console output. Here is what I see,
1) No proxy, internal LAN direct connect, Processing HTTP request for: /Guide2.aspx? Processing HTTP request for: /AjaxService2.asmx/jsdebug? Processing HTTP request for: /ScriptResource.axd?d=NtUIyHVa3KBDXFDd7VtmYJ1f85NxEoWjlgvua4A33ZzkO80QmnzQviYWkHO-6JWvVLYMEnzArrIxvCWeCFi7N9hm0IO7IE48OQe4OmttKV-ULJN1RMpmp71ROshZZoIou-NY0iM6q8tHHdWWfTWrtQ2&t=34a51159 Processing HTTP request for: /AjaxService2.asmx/GetServerTime? Processing HTTP request for: /AjaxService2.asmx/GetReminders? Processing HTTP request for: /AjaxService2.asmx/GetServerTime? Processing HTTP request for: /AjaxService2.asmx/GetReminders? Processing HTTP request for: /AjaxService2.asmx/GetServerTime? 2) External, through Proxy, to root (http://mysite.com/nextpvr/) => Fails, error = The requested URL /Logon.aspx was not found on this server. Processing HTTP request for: /default.aspx? 3) External, through Proxy, trying to go to http://mysite.com/nextpvr/Guide2.aspx => Fails, error = The requested URL /Logon.aspx was not found on this server. Processing HTTP request for: /Guide2.aspx? It seems like NextPVR is redirecting, but not taking into account the first part of the URL (i.e. it's missing the /nextpvr portion)? I have seen a similar issue with LibreNMS - having to set the base_url. Similar item here? Thanks!
2017-01-20, 02:22 AM
Your web server needs to recognize the login process from the ASP.Net framework....coming through the apache proxy may be causing that issue.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE Windows 10 Pro x64 PVR Software: NPVR 5.1.1 SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner Roku Ultra 2 PCH A-100's
2017-01-20, 10:27 PM
Agreed - I think ... ;-). But in this case, the web server is internal to NextPVR, right? That's what I'm struggling with - trying to get this working. FYI, I have 3 other sites working with proxy, configured this one the same.
Thanks!
2017-02-16, 06:24 AM
The only way i got this to work properly with my Nginx reverse proxy was to create a subdomain such as https://tv.myhousenet.com. i setup a password protection on the url in Nginx. This redirects to https://tv.myhousenet.com/modern/index.html
Ideally the developers need to add a configurable base url setting in the webapp for helping with proxying like this.
2017-02-17, 02:59 AM
I'll try the subdomain, let you know. Thanks!
Also agreed - a base url setting would likely take care of it (this is working in LibreNMS for me).
2017-02-18, 03:39 AM
Hmmm ... tried the subdomain, but having certificate errors / issues. I don't think the web interface supports https, does it?
Thanks! |
|