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 … 224 225 226 227 228 … 433 Next »
Webserver fails to start

Webserver fails to start
justhangin
Offline

Junior Member

Posts: 12
Threads: 2
Joined: Feb 2014
#1
2014-02-18, 02:31 AM
Sub,

Im having trouble getting the webserver going. at the end of a lot of searching/debugging i noticed this in NRecord.log

2014-02-17 16:55:59.795 [ERROR][4] Unexpected error starting web server:

The zipped log is included.

What follows are my notes during the debug process. I was trying to answer questions put to other users who had similar problems over the years. I realize that the log entry probably renders the rest of this moot, but just in case any of it is useful, I include it

----------

>Forgive me if I this is too bleedin' obvious, but did you tick it on

Yep, its ticked

>Did you download any EPG data?

Yep, its all there

>Can you connect to the webserver on the local machine using 127.0.0.1:8866?

No. These dont work on the server itself or other lan machines under either chrome or IE

http://127.0.0.1:8866/
http://localhost:8866/
http://192.168.1.10:8866/
http://prophecy64:8866/

however all these incantations work fine for other webservers, e.g.,
Digiguide on 2402. and they all work on the server machine and around my LAN

>try opening firewall settings and add exception for Nrecord.exe, NTray.exe, NDigitalHost.exe and NextPVR.exe

i tried this but im not sure im setting it all correctly. would someone
explain exactly what these rules should look like? I tried making them look
like the Digiguide rules, which obviously work. I also tried with the
firewalls off entirely...no better. Also, i dont understand why the
firewall, regardless of settings, would prevent this from working on the server machine

>Kill the files in the temporary ASP.Net directory....I think that is probably the issue:
>x64: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\npvr

in my case, that dir is empty

>Is npvr under any sub folder within the tree?
>x64: C:\Windows\Microsoft.NET

No

>open vlc on the nvpr pc
>open network stream from media menu or ctrl+n
>type in http://localhost:8866/live?channel=1 or the numbers from channel list

It reports this error

Your input can't be opened:
VLC is unable to open the MRL 'http://localhost:8866/live?channel=1'. Check the log for details.


>It's a long shoot but do you have an ipv4 localhost defined in your hosts file?

#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 local
fe80::1%lo0 localhost
#</localhost>

>I read this whole thread and haven't seen mentioned getting the OS back to a known good state- like formatting and reinstalling the OS

Its a reasonable fresh install...less than a month. no other issues

>web.log would be created for any connect attempt on port 8866. Are you sure you aren't having a firewall issue?

theres no web.log anywhere under C:\Users\Public\NPVR

>Found the problem was with a windows silverlight install... It somehow broke npvrs web server...

no silverlight installed on this machine

>Post your nrecord.log and I'll check it's successfully starting the web server.

done. ahh...ok i see theres a problem here. time to ask you...
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,943
Threads: 956
Joined: May 2006
#2
2014-02-20, 01:21 AM
I find that many people who try to change the program folder like you did to

E:\Programs\Audio.Video\NPVR\

run into into service problems

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#3
2014-02-22, 06:43 PM
Are you running the most recent version of NPVR... if so then it is .Net 4 not .Net 2 so the temp ASP folder directory would be incorrect that you posted.... also... NPVR and it webserver are a 32 bit application and therefore are not under the x64 leg of the framework files.

Look here: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0a635572\38fd2de4 the items under here should coralate back to NPVR/NEWA asp.net files... just delete C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0a635572\38fd2de4 and everything under it.

Dos this folder tree exist?
C:\Users\Public\NPVR\web
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
justhangin
Offline

Junior Member

Posts: 12
Threads: 2
Joined: Feb 2014
#4
2014-02-22, 07:15 PM
yes im running the latest version, with the patches. yes C:\Users\Public\NPVR\web exists and indeed thats where i installed your NEWA v2.11 patches per your written instructions.

I have not yet done a reinstall per mvallevand's comment. However, just after i deleted C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\root\0a635572\38fd2de4 and restarted the service, http://localhost:8866/guide2.aspx works locally and a web.log file is generated. thats progress, thanks!

my first experiment with accessing it remotely over the LAN didnt work. I'm going to investigate whether thats some sort of firewall/protection issue as soon as i get little more free time. Ill report back here.

thanks UncleJohnsBand & mvallevand,
JH
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#5
2014-02-22, 09:36 PM
justhangin Wrote:yes im running the latest version, with the patches. yes C:\Users\Public\NPVR\web exists and indeed thats where i installed your NEWA v2.11 patches per your written instructions.

I have not yet done a reinstall per mvallevand's comment. However, just after i deleted C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\root\0a635572\38fd2de4 and restarted the service, http://localhost:8866/guide2.aspx works locally and a web.log file is generated. thats progress, thanks!

my first experiment with accessing it remotely over the LAN didnt work. I'm going to investigate whether thats some sort of firewall/protection issue as soon as i get little more free time. Ill report back here.

thanks UncleJohnsBand & mvallevand,
JH

If it works locally.. then you probably have a firewall issue on the server to access on the rest of your LAN. If you are looking to access externally as well then you will need to set you router to forward incoming requests to that port to the server on your network.

Glad you made progress.
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
justhangin
Offline

Junior Member

Posts: 12
Threads: 2
Joined: Feb 2014
#6
2014-02-22, 11:14 PM
Yep. I just added the rules reference here and it all looks good. http://forums.nextpvr.com/showthread.php...t=firewall

Thanks!
jh
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#7
2014-02-23, 02:27 AM
justhangin Wrote:Yep. I just added the rules reference here and it all looks good. http://forums.nextpvr.com/showthread.php...t=firewall

Thanks!
jh

Great!
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)



Possibly Related Threads…
Thread Author Replies Views Last Post
  All my recordings start 90 sec early ncsercs 2 1,357 2022-03-19, 03:28 AM
Last Post: sub
  Nextpvr GUI and Service will not start bigbigblue 3 1,847 2020-02-18, 01:53 PM
Last Post: bigbigblue
  Start With Remote RTKAT 2 1,421 2020-02-13, 03:59 PM
Last Post: RTKAT
  No video or audio from start of playback smiffypr 8 3,647 2020-02-05, 05:11 PM
Last Post: smiffypr
  Automatic EPG Fails, Manual Works Confused 4 1,968 2019-10-02, 06:43 PM
Last Post: Confused
  Channel scan fails Lone_Stranger 1 1,064 2019-05-09, 11:27 PM
Last Post: ElihuRozen
  Unable to start device Device failed to start cazz 6 2,858 2019-04-29, 07:32 PM
Last Post: cazz
  Black screen at start of play - sometimes Petrovski 7 2,253 2019-03-22, 06:34 PM
Last Post: pBS
  Digital Devices Cine S2 - 'Failed to start device: 0x80004005' solidservo 14 5,501 2019-02-28, 08:59 PM
Last Post: easy74
  Record - Record Season (All episodes on this channel) fails dbfs 11 3,275 2019-02-19, 03:23 PM
Last Post: Stanno

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

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

Linear Mode
Threaded Mode