kps 0 Posted March 23, 2015 Share Posted March 23, 2015 (edited) Using nextpvr with MB on same machine (NUC). I have a HD Homerun prime on my network that the NextPVR has been serving guide and programs. After the install of 3.0.5557 I receive an unavailable (the remote server returned an error (500) Internal Server Error) when looking at status of Live TV in MB. Obviously the tuners are now not seen and the program guide is no longer seen. On the NUC I can open NextPVR and view the guide and all channels through their interface so the data is getting from HDHR to Next PVR. Any insights? BTW, my Kodi clients (running on firetv boxes) are seeing the channels from NextPVR and can play live tv. It just seems to be MB. I am assuming I should revert to latest stable release? Edited March 23, 2015 by kps Link to comment Share on other sites More sharing options...
Sven 136 Posted March 23, 2015 Share Posted March 23, 2015 Can you post a log? For an how to see my signature... Link to comment Share on other sites More sharing options...
kps 0 Posted March 23, 2015 Author Share Posted March 23, 2015 here is the log from this morning server-63562693264.txt Link to comment Share on other sites More sharing options...
Sven 136 Posted March 23, 2015 Share Posted March 23, 2015 What do you seen in the nextpvr logging? What do you get if you browse to http://localhost:8866/public/Util/NPVR/Client/Instantiate ? Link to comment Share on other sites More sharing options...
kps 0 Posted March 23, 2015 Author Share Posted March 23, 2015 What do you seen in the nextpvr logging? What do you get if you browse to http://localhost:8866/public/Util/NPVR/Client/Instantiate ? nextpvr is attached when I browse to address I get the following: Unexpected end of file while parsing Name has occurred. Line 97, position 33. 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.Xml.XmlException: Unexpected end of file while parsing Name has occurred. Line 97, position 33. Source Error: Line 788: Line 789: if (File.Exists(GetWebConfigFileName())) Line 790: configWeb.Load(GetWebConfigFileName()); Line 791: Line 792: globalSettings = new HybridDictionary(); Source File: c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs Line: 790 Stack Trace: [XmlException: Unexpected end of file while parsing Name has occurred. Line 97, position 33.] System.Xml.XmlTextReaderImpl.Throw(Exception e) +69 System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +117 System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos) +519 System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) +45 System.Xml.XmlTextReaderImpl.ParseEndElement() +164 System.Xml.XmlTextReaderImpl.ParseElementContent() +441 System.Xml.XmlTextReaderImpl.Read() +50 System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +854 System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +55 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +277 System.Xml.XmlDocument.Load(XmlReader reader) +108 System.Xml.XmlDocument.Load(String filename) +124 N_EWA.classes.Settings.LoadFromFile(Boolean reload) in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:790 N_EWA.classes.Settings.GetSetting(Object moduleObject, String settingName) in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:734 N_EWA.classes.Settings.Load() in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:165 N_EWA.classes.Settings..ctor() in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:157 N_EWA.Global..cctor() in c:\Users\Public\NPVR\web\App_Code\Global.cs:77 [TypeInitializationException: The type initializer for 'N_EWA.Global' threw an exception.] N_EWA.Global..ctor() in c:\Users\Public\NPVR\web\App_Code\Global.cs:70 ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0a635572\38fd2de4\App_global.asax.9bkp3ye4.0.cs:0 [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +113 System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +232 System.Activator.CreateInstance(Type type, Boolean nonPublic) +83 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1138 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +124 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +18 System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +44 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +254 System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context) +35 System.Web.HttpApplicationFactory.EnsureAppStartCalled(HttpContext context) +195 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +83 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +520 Link to comment Share on other sites More sharing options...
kps 0 Posted March 23, 2015 Author Share Posted March 23, 2015 (edited) I attached the log. i ran the address but I do not have a util in my directory structure for nextpvr. it is users\public\NPVR then there are a host of subdirs. this is when going to address you specified: Unexpected end of file while parsing Name has occurred. Line 97, position 33. 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.Xml.XmlException: Unexpected end of file while parsing Name has occurred. Line 97, position 33. Source Error: Line 788: Line 789: if (File.Exists(GetWebConfigFileName())) Line 790: configWeb.Load(GetWebConfigFileName()); Line 791: Line 792: globalSettings = new HybridDictionary(); Source File: c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs Line: 790 Stack Trace: [XmlException: Unexpected end of file while parsing Name has occurred. Line 97, position 33.] System.Xml.XmlTextReaderImpl.Throw(Exception e) +69 System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +117 System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos) +519 System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) +45 System.Xml.XmlTextReaderImpl.ParseEndElement() +164 System.Xml.XmlTextReaderImpl.ParseElementContent() +441 System.Xml.XmlTextReaderImpl.Read() +50 System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +854 System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +55 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +277 System.Xml.XmlDocument.Load(XmlReader reader) +108 System.Xml.XmlDocument.Load(String filename) +124 N_EWA.classes.Settings.LoadFromFile(Boolean reload) in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:790 N_EWA.classes.Settings.GetSetting(Object moduleObject, String settingName) in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:734 N_EWA.classes.Settings.Load() in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:165 N_EWA.classes.Settings..ctor() in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:157 N_EWA.Global..cctor() in c:\Users\Public\NPVR\web\App_Code\Global.cs:77 [TypeInitializationException: The type initializer for 'N_EWA.Global' threw an exception.] N_EWA.Global..ctor() in c:\Users\Public\NPVR\web\App_Code\Global.cs:70 ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0a635572\38fd2de4\App_global.asax.9bkp3ye4.0.cs:0 [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +113 System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +232 System.Activator.CreateInstance(Type type, Boolean nonPublic) +83 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1138 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +124 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +18 System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +44 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +254 System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context) +35 System.Web.HttpApplicationFactory.EnsureAppStartCalled(HttpContext context) +195 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +83 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +520 NPVR.log Edited March 23, 2015 by kps Link to comment Share on other sites More sharing options...
Scot 27 Posted March 23, 2015 Share Posted March 23, 2015 (edited) I've got the same problem...also accessing via api.mediabrowser.tv wont allow me to play Live TV or Recordings, only via <ipaddress>:8096/web will allow it...it seems that the EPG is unable to be accessed and in Dashboard under the EPG setting for refresh it says: "Last result: (failed)" I've tried restarting NextPVR and Emby, no avail....was working perfectly up until the latest update, NextPVR hasn't been changed in months....NextPVR is working perfectly with XBMC/Kodi Live TV..... I get this in the error log from Emby: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). Going to http://localhost:8866/public/Util/NPVR/Client/Instantiate gives me: {"clientKeys":{"sid":"3caa7279929c4ace8a35ee91b4acae4d","salt":"b7078ac4-aeeb-4d46-aa03-5298fd9a2bfd"}} Hope that helps? -SM Edited March 23, 2015 by Scot Link to comment Share on other sites More sharing options...
Sven 136 Posted March 24, 2015 Share Posted March 24, 2015 @@kps It looks like your installation is corrupt. You shoud get something like @@Scot his post. Scot can you post your full log? Link to comment Share on other sites More sharing options...
kps 0 Posted March 24, 2015 Author Share Posted March 24, 2015 Thanks Sven. I will reinstall. Odd how my kodi firetvs have no issue but mb does and it is on the same machine. Link to comment Share on other sites More sharing options...
Scot 27 Posted March 24, 2015 Share Posted March 24, 2015 Hi Sven, Sure thing...can you tell me exactly which log you'd like sorry? Thanks -SM Link to comment Share on other sites More sharing options...
Sven 136 Posted March 25, 2015 Share Posted March 25, 2015 The server logs. See my signature for a how-to... Link to comment Share on other sites More sharing options...
Scot 27 Posted March 25, 2015 Share Posted March 25, 2015 Hi Sven I've attached the latest log (just restarted the server, gives the GUID error) and the log before this which was running for many hours whereby I am sure the error pops up a number of times....so the two main issues I am getting is the one reported above about the EPG and the fact that I can no longer get programs to play unless I access the server via the IP address (locally) and app.mediabrowser.tv no longer works for the playing of the Recorded or Live TV (all other aspects work including playing of TV shows and Movies in those sections outside of the Live TV area...indeed in the Live TV area I am about to look at the guide etc. without issue. Thanks for taking a look. -SM server-63562838400.txt server-63562804719.txt Link to comment Share on other sites More sharing options...
Sven 136 Posted March 25, 2015 Share Posted March 25, 2015 @@Luke any idea why he gets sometimes the error? Other times it looks ok.... Link to comment Share on other sites More sharing options...
Scot 27 Posted March 25, 2015 Share Posted March 25, 2015 I just installed the latest DEV version: Version 3.0.5561.41235 EPG error seems to have gone away....however if I access app.mediabrowser.tv instead of <server-ip>:8096 no Recorded TV or Live TV programs will play...also I have noticed that when I go in to "Suggested" using the <server-ip>:8096 all the programs in rendered with fanart in "Upcoming Programs" and a few in "What's on".....when I go in via app.mediabrowser.tv virtually no fanart is rendered. I used to be able to play TV from outside of of my LAN accessing via app.mediabrowsers.tv and all transcoding etc. worked nicely. I've attached my latest serverlog. -SM server-63562924800.txt server-63562912210.txt Link to comment Share on other sites More sharing options...
Sven 136 Posted March 27, 2015 Share Posted March 27, 2015 Do you have some other problems with the app.mediabrowser.tv? Could it be a problem with translation between internal & external network?? Link to comment Share on other sites More sharing options...
Scot 27 Posted March 28, 2015 Share Posted March 28, 2015 Was working, upgraded to latest BETA and now DEV and isn't working....I can connect to app.mediabrowser.tv from outside (and inside) of my LAN....I can stream TV Shows and Movies however Live TV from outside of my network wont work connecting via app.mediabrowser.tv Sorry, does that make sense? -SM Link to comment Share on other sites More sharing options...
Sven 136 Posted March 28, 2015 Share Posted March 28, 2015 I see your comment "Was working" so it worked before? Do you know the version? It's only with the web client you can't see anything? Or also with some other clients? Link to comment Share on other sites More sharing options...
Scot 27 Posted March 30, 2015 Share Posted March 30, 2015 The latest stable was working, the latest beta before the recent update was working, none of the DEV versions have reenabled it. Just so you known the EPG issue is fixed, it's when connecting in or out of the network using app.mediabrowser.tv streaming Live TV won't start, using a VPN and using the server IP works... Obviously since it was working all port forwards are working, also. TV and Movies section work via app.mediabrowser.tv (in and out of the LAN). -SM Link to comment Share on other sites More sharing options...
kps 0 Posted March 30, 2015 Author Share Posted March 30, 2015 is there a location where we can download .5556? that was the last version that worked for me. i want to revert back to see if it gets corrected. Link to comment Share on other sites More sharing options...
Scot 27 Posted March 30, 2015 Share Posted March 30, 2015 I'm happy to report that the latest DEV Version 3.0.5566.35664 fixes all my issues detailed above..... Link to comment Share on other sites More sharing options...
Scot 27 Posted March 30, 2015 Share Posted March 30, 2015 New issue with Version 3.0.5566.35664, see attached screenshot, when stopping a Live TV stream it doesn't stop the tuners (I'm using HDHomeRun's).... -SM Link to comment Share on other sites More sharing options...
Sven 136 Posted April 1, 2015 Share Posted April 1, 2015 I also don't see a LiveTV Serice..... That's not normal... Link to comment Share on other sites More sharing options...
kps 0 Posted April 1, 2015 Author Share Posted April 1, 2015 Sven, Do you recommend a full reinstall? Currently my HDHR Prime is on my network as well as my NUC which houses NextPVR and Emby. NextPVR shows all three tuners in the HDHR and handles the EPG with help from Schedules DIrect. I can view all live tv and recorded tv from NextPVR interface. Emby is pointed to my video and tv directories (for recordings) that NextPVR uses and replays fine on win and android (using app). Kodi through my amazon firetv boxes can play livetv through NextPVR as well as recordings from same. The TV that emby is connected to can NOT see epg from NextPVR or play any live TV as no channels show up. This was all working just fine before .5556 update. So I believe I have two options: 1. Reinstall everything with the version prior to .5556 or 2. Do a fresh install with latest stable and see if the corruption issue is gone. I would have to also re-install NextPVR I believe. Your thoughts? Link to comment Share on other sites More sharing options...
Sven 136 Posted April 2, 2015 Share Posted April 2, 2015 (edited) A reinstall for NextPvr yes... We can't access the api... So try first the reinstall for NextPvr. Edited April 2, 2015 by Sven Link to comment Share on other sites More sharing options...
Scot 27 Posted April 2, 2015 Share Posted April 2, 2015 A reinstall for NextPvr yes... We can't access the api... So try first the reinstall for NextPvr. Just update to the latest DEV release, fixes the issue of the missing tuners....I noticed an update on the NextPVR channel also.. -SM Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now