NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 83 84 85 86 87 … 433 Next »
NextPVR 3.9.2 (161119) Website Error

NextPVR 3.9.2 (161119) Website Error
meccano
Offline

Member

Canada
Posts: 128
Threads: 41
Joined: Jan 2008
#1
2017-07-30, 04:19 AM
I'm having an odd problem with the NextPVR website.
The error appears with both the Firefox and Internet Explorer
web browsers. When accessed using the IP address it works;
when accessed using my hostname it fails. Clearing the
Internet Explorer web cache & cookies had no effect.
Recompiling the web application had no effect.

How can this be fixed?

http://192.168.0.107:8866
redirects to
http://192.168.0.107:8866/modern/index.html
and works perfectly.

http://williams7:8866
redirects to
http://williams7:8866/Logon.aspx?ReturnU...fault.aspx
and produces the following error message:
Server Error in '/' Application.
Invalid URI: The hostname could not be parsed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UriFormatException: Invalid URI: The hostname could not be parsed.

Source Error:

Line 60: if (!IsPostBack)
Line 61: {
Line 62: Logger.Info("URL-Before-Replace = " + Request.Url);
Line 63: string url = Request.Url.ToString().Replace(
Line 64: Request.Url.Scheme + Uri.SchemeDelimiter + Request.Url.Authority,

Source File: c:\Users\Public\NPVR\web\Logon.aspx.cs Line: 62

Stack Trace:

[UriFormatException: Invalid URI: The hostname could not be parsed.]
System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) +218
System.Uri..ctor(String uriString) +16
System.Web.Util.UriUtil.BuildUriImpl(String scheme, String serverName, String port, String path, String queryString, Boolean useLegacyRequestUrlGeneration) +220
System.Web.HttpRequest.BuildUrl(Func`1 pathAccessor) +422
System.Web.HttpRequest.get_Url() +64
N_EWA.Logon.Page_Load(Object sender, EventArgs e) in c:\Users\Public\NPVR\web\Logon.aspx.cs:62
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
System.Web.UI.Control.OnLoad(EventArgs e) +61
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2625

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2046.0

Attached is the web.log.
:confused:
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2017-07-30, 04:32 AM
I usually test by ip address, but I just checked using my machine hostname and it worked ok here.

If you do "ping williams7" at a command prompt, what does it return?
meccano
Offline

Member

Canada
Posts: 128
Threads: 41
Joined: Jan 2008
#3
2017-07-30, 12:11 PM
ping works fine, this computer is accessible from other computers in my network via the hostname.

C:\scripts>ping williams7

Pinging WILLIAMS7 [fe80::c4d0:c168:495f:13d%10] with 32 bytes of data:
Reply from fe80::c4d0:c168:495f:13d%10: time<1ms
Reply from fe80::c4d0:c168:495f:13d%10: time<1ms
Reply from fe80::c4d0:c168:495f:13d%10: time<1ms
Reply from fe80::c4d0:c168:495f:13d%10: time<1ms

Ping statistics for fe80::c4d0:c168:495f:13d%10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\scripts>ping williams7 -4

Pinging WILLIAMS7 [192.168.0.107] with 32 bytes of data:
Reply from 192.168.0.107: bytes=32 time<1ms TTL=128
Reply from 192.168.0.107: bytes=32 time<1ms TTL=128
Reply from 192.168.0.107: bytes=32 time<1ms TTL=128
Reply from 192.168.0.107: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.0.107:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2017-07-30, 06:35 PM
I've asked UJB to take a look. He's been away for a few days though, and I'm not sure if he's back just yet.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#5
2017-07-31, 02:43 AM
I just got back....I'll take a look but it may be tomorrow till I can dig in.
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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#6
2017-07-31, 03:42 AM (This post was last modified: 2017-08-01, 01:49 AM by UncleJohnsBand.)
Unzip this into your web\ directory and replace the logon.cs file that is there with this..... then let us know how it works including reposting web.log.
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
meccano
Offline

Member

Canada
Posts: 128
Threads: 41
Joined: Jan 2008
#7
2017-07-31, 01:54 PM
The web request still fails with this message, the log is attached:

Server Error in '/' Application.
Invalid URI: The hostname could not be parsed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UriFormatException: Invalid URI: The hostname could not be parsed.

Source Error:

Line 61: if (!IsPostBack)
Line 62: {
Line 63: Logger.Info("URL-Before-Replace = " + Request.Url.ToString());
Line 64: string url = Request.Url.ToString().Replace(
Line 65: Request.Url.Scheme + Uri.SchemeDelimiter + Request.Url.Authority,

Source File: c:\Users\Public\NPVR\web\Logon.aspx.cs Line: 63

Stack Trace:

[UriFormatException: Invalid URI: The hostname could not be parsed.]
System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) +218
System.Uri..ctor(String uriString) +16
System.Web.Util.UriUtil.BuildUriImpl(String scheme, String serverName, String port, String path, String queryString, Boolean useLegacyRequestUrlGeneration) +220
System.Web.HttpRequest.BuildUrl(Func`1 pathAccessor) +422
System.Web.HttpRequest.get_Url() +64
N_EWA.Logon.Page_Load(Object sender, EventArgs e) in c:\Users\Public\NPVR\web\Logon.aspx.cs:63
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
System.Web.UI.Control.OnLoad(EventArgs e) +61
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2626

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2046.0
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#8
2017-08-01, 01:48 AM
Try this version....basically I stopped the display that it is crashing on to see if that is the only issue occurring with your IP6 address.... Same process... stop your service...replace with attached...restart service and try accessing post result and log please.

Cheers.
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
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#9
2017-08-01, 09:26 PM
I am having difficulty using any zoned link local address to connect to NEWA from any browser

ie for this post example [fe80::c4d0:c168:495f:13d%10]:8866 might fail

I an not sure why the hostname resolves to the link local address, the real ipv6 address should be better

When I use a link local on the backend does work but my web logs and NRecord don't show the zone perhaps this not fully supported.

Using the "real" ipv6 address for my server works fine.

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#10
2017-08-03, 10:38 PM
UncleJohnsBand Wrote:Try this version....basically I stopped the display that it is crashing on to see if that is the only issue occurring with your IP6 address.... Same process... stop your service...replace with attached...restart service and try accessing post result and log please.

Cheers.

@ meccano - Any feedback after trying this?
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 143,141 2024-01-29, 01:07 AM
Last Post: stoenjes44
  NextPVR VOD through Kodi unmich 2 1,374 2023-06-18, 03:54 AM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,265 2021-09-25, 02:25 AM
Last Post: madbrain
  NextPVR and Remote viewing MaxiBelas 2 1,762 2021-09-07, 05:29 PM
Last Post: sub
  Help with NextPVR evinahmad86 1 1,502 2021-07-23, 07:01 PM
Last Post: sub
  Mouse Click on TV Guide throws an error mlopez1007 2 1,527 2021-03-22, 11:33 AM
Last Post: Graham
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,658 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 2,024 2021-02-03, 01:29 PM
Last Post: Graham
  NextPVR V4 Web Issue meccano 3 1,981 2021-01-30, 04:20 AM
Last Post: meccano
  TV very choppy after downgrade from Nextpvr v5 riverboat2001 18 5,133 2021-01-26, 01:51 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode