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 … 10 11 12 13 14 … 47 Next »
Attempting to hit login page inside local network fails

 
  • 0 Vote(s) - 0 Average
Attempting to hit login page inside local network fails
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#1
2012-08-27, 06:58 PM
My NextPVR server is at IP address 192.168.1.50 on the LAN and I allow access to NEWA without logging in within the LAN. If I type either http://192.168.1.50:8866/login.aspx or http://192.168.1.50:8866/login2.aspx into my browser, it fails, trying to redirect the browser to Logon.aspx.

[ATTACHMENT NOT FOUND]

Using a URL that goes directly to the Guide or something else works fine. While I know that I don't need to login when I'm on my LAN, I was surprised the URL redirection fails the way it does. Also, externally I can login fine - the pages work as expected.

I noticed this for the first time with the latest NextPVR release but figured it was one of the problems with integrating 1.25 and the new mobile interface, but it may have existed before that. It still occurs with 1.26.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2012-08-27, 07:25 PM
Mine does not do a redirect at all. http://192.168.1.50:8866/login.aspx (with an i) does not work but typing in http://192.168.1.50:8866/logon.aspx (with an o) works
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#3
2012-08-27, 08:08 PM
http://192.168.1.50:8866/logon.aspx works for me too, but the redirect is simply to logon.aspx only... no other portion of the URL is included so it fails.

When you say that the login.aspx doesn't work for you, do you mean you get a 404 error or something else? Login.aspx is included in the web folder so it should do something if the file exists.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#4
2012-08-27, 08:19 PM
The web.log shows the following:
2012-08-27 16:09:00.343 [INFO][18] Checking default login page configuration setting....
2012-08-27 16:09:00.367 [INFO][18] authentication section of web.config found.
2012-08-27 16:09:00.367 [INFO][18] Default login configuration setting and web.config do not match.....updating web.config and redirecting to new setting
2012-08-27 16:09:00.507 [INFO][18] web.config updated and now redirecting to: //logon.aspx
2012-08-27 16:09:00.648 [INFO][18] ********************************************
2012-08-27 16:09:00.648 [INFO][18] * *
2012-08-27 16:09:00.648 [INFO][18] * *
2012-08-27 16:09:00.648 [INFO][18] * NEWA Application Ending......Closing DB *
2012-08-27 16:09:00.648 [INFO][18] * *
2012-08-27 16:09:00.648 [INFO][18] * *
2012-08-27 16:09:00.648 [INFO][18] ********************************************
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#5
2012-08-27, 08:21 PM
Ah, right you are. I get an "IE cannot display this page". It does not attempt a redirect. I have to run out but I'll look into it later unless UJB beats me to it.

OT:

When are we going to have an NextPVR Louisville Chapter meet? Big Grin I think there are what, three of us? (Although I can't remember who the third is.)
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#6
2012-08-27, 08:28 PM
NM, found the issue:

Delete the "/" in line 140 of Login.aspx.cs:

Code:
string redirectUrl = Request.ApplicationPath + "[B][color=#FF0000]/[/color][/B]logon.aspx";

Or replace it with the attached file.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#7
2012-08-27, 08:49 PM
Yep, that seemed to take care of it. Thanks!
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#8
2012-08-27, 08:50 PM
With release 1.26 of NEWA the login.aspx and login2.aspx pages are now obsolete.... they will be physically removed at some point in the future. You want to use logon.aspx. It is a new unified access page.
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
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#9
2012-08-27, 08:57 PM
Ok, thanks. I simply had the URLs saved in my browser's auto-complete history. I started typing the IP, the URL popped up and I clicked it, expecting it to work. When it didn't internally but did externally I thought that was odd and that you might want to know.

I'll update my bookmarks with the new unified logon page.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  All content missing on external network lazereagle 3 3,283 2018-03-21, 05:40 PM
Last Post: mvallevand
  NEWA modern "NEW" page missing urls??? snagglewest 3 3,514 2017-12-03, 12:48 AM
Last Post: snagglewest
  "Record selected" returns error web page ... softfoot 5 3,885 2016-03-26, 01:37 PM
Last Post: UncleJohnsBand
  NEWA on Closed Isolated Network topcat 3 2,196 2015-04-10, 10:27 PM
Last Post: UncleJohnsBand
  NEWA skip login for list of ips or local network dinki 4 2,767 2014-05-24, 12:38 AM
Last Post: mvallevand
  Cannot Access NEWA Log In Page wlmasonii 1 1,597 2014-05-18, 06:29 PM
Last Post: wlmasonii
  v3.1.1 Date / Time updating (statisitcs page) SFX Group 8 2,932 2013-11-25, 04:39 PM
Last Post: ACTCMS
  Streaming outside local network, question WKleeven 54 20,656 2013-08-04, 09:34 PM
Last Post: UncleJohnsBand
  Cannot log in via local lan clients Dodgexander 10 4,398 2013-01-06, 04:22 PM
Last Post: Dodgexander
  Can't get streaming to work in or outside home network ScaryBox 29 13,003 2012-12-02, 03:05 PM
Last Post: UncleJohnsBand

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

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

Linear Mode
Threaded Mode