Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: SSL (HTTPS) Access to Web Interface

  1. #11
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    83,638
    C:\Users\Public\NPVR\Logs\web.log contains all the logging for the web server.

  2. #12
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,407
    Quote Originally Posted by sub View Post
    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

  3. #13
    Join Date
    Aug 2015
    Location
    United States
    Posts
    148
    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!

  4. #14
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,407
    Not everything is logged as I mentioned sometimes you need console output.

    Martin.

  5. #15
    Join Date
    Aug 2015
    Location
    United States
    Posts
    148
    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=NtUIyHVa3KBDXFDd7VtmYJ1f85NxE oWjlgvua4A33ZzkO80QmnzQviYWkHO-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!

  6. #16
    Join Date
    Feb 2005
    Location
    Pennsylvania, USA
    Posts
    5,517
    Your web server needs to recognize the login process from the ASP.Net framework....coming through the apache proxy may be causing that issue.

  7. #17
    Join Date
    Aug 2015
    Location
    United States
    Posts
    148
    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!

  8. #18
    Join Date
    Oct 2011
    Location
    UK
    Posts
    105
    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.

  9. #19
    Join Date
    Aug 2015
    Location
    United States
    Posts
    148
    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).

  10. #20
    Join Date
    Aug 2015
    Location
    United States
    Posts
    148
    Hmmm ... tried the subdomain, but having certificate errors / issues. I don't think the web interface supports https, does it?

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •