NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 2 3 4 5 … 47 Next »
SSL (HTTPS) Access to Web Interface

 
  • 0 Vote(s) - 0 Average
SSL (HTTPS) Access to Web Interface
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#11
2017-01-16, 03:45 AM
C:\Users\Public\NPVR\Logs\web.log contains all the logging for the web server.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,175
Threads: 958
Joined: May 2006
#12
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
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#13
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!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,175
Threads: 958
Joined: May 2006
#14
2017-01-19, 02:18 AM
Not everything is logged as I mentioned sometimes you need console output.

Martin.
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#15
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!
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#16
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
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#17
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!
odin
Offline

Member

Posts: 105
Threads: 12
Joined: Oct 2011
#18
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.
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#19
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).
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#20
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!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NEWA Auto-Search Command Line Interface (CLI) UncleJohnsBand 40 38,436 2018-05-09, 12:50 AM
Last Post: jksmurf
  Classic web interface issues turndave 3 3,584 2017-12-18, 04:07 AM
Last Post: turndave
  NEWA Modern Interface Home Screen Doesn't Display Available Disk Space on First Load BrettB 1 2,286 2016-11-20, 05:03 PM
Last Post: mvallevand
  "Push" to New Interface arrmo 2 2,607 2016-11-20, 04:22 PM
Last Post: arrmo
  Extend Time (Web Interface) arrmo 2 2,786 2016-03-16, 12:43 AM
Last Post: arrmo
  Port Forwarding, Slow Access arrmo 17 8,005 2015-09-21, 11:21 PM
Last Post: arrmo
  Web Access for Manage Recordings takes 5 minutes to load. stevepro 3 2,391 2015-09-05, 12:33 AM
Last Post: UncleJohnsBand
  NEWA .net write access error Dan100 5 4,514 2015-09-01, 07:21 AM
Last Post: Dan100
  Direct access to media folder structures? SFX Group 4 2,462 2015-06-02, 10:48 PM
Last Post: SFX Group
  Transcoding from Web Interface for live tv not working madas 6 4,227 2014-07-07, 06:49 PM
Last Post: madas

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode