2015-11-20, 04:13 PM
I have installed Kodi and NxtPVR on the same box (16 GB RAM with Radeon graphics card and AMD 8-core processor) to configure Kodi with the add-ons before exporting to other boxes. The install was completed two months ago and everything was working fine. For the last few weeks I have been completing little tweaks to the video add-ons (not the PVR client) heading into the holidays where I planned to get it on to my HTPCs. All of a sudden I began getting NextPVR connection lost errors in kodi and nothing was changed. The pin, IP address (I just used the loopback 127.0.0.1) are all unchanged. NextPVR is up and runnning. The OS is Windows 10 Pro 64-bit. Again it was working fine for two months with NO ISSUES. The error messages in the kodi.log file are copied below:
01:50:08 T:11120 NOTICE: -->Python Interpreter Initialized<--
01:50:08 T:11120 WARNING: CPythonInvoker(48): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:50:08 T:11120 NOTICE: addons://user/xbmc.pvrclient
01:50:08 T:11120 NOTICE: addons://user/pvr.nextpvr
01:50:44 T:7924 NOTICE: Thread LanguageInvoker start, auto delete: false
01:50:08 T:11120 ERROR: EXCEPTION: XBMC is not playing any file
01:50:08 T:9800 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
01:50:08 T:9800 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8866/service?method=ses...evice=xbmc
01:50:08 T:9800 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
01:50:08 T:9800 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
01:50:08 T:9800 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on NextPVR PVR Client, status = 1
01:50:08 T:10460 NOTICE: Thread AddonStatus pvr.nextpvr start, auto delete: true
01:50:10 T:11052 NOTICE: Thread LanguageInvoker start, auto delete: false
01:50:10 T:11052 NOTICE: -->Python Interpreter Initialized<--
01:50:10 T:11052 WARNING: CPythonInvoker(49): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:50:11 T:11048 NOTICE: Thread LanguageInvoker start, auto delete: false
01:50:11 T:11048 NOTICE: -->Python Interpreter Initialized<--
01:50:11 T:11048 WARNING: CPythonInvoker(50): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:50:11 T:7112 NOTICE: Thread LanguageInvoker start, auto delete: false
01:50:11 T:7112 NOTICE: -->Python Interpreter Initialized<--
01:50:11 T:7112 WARNING: CPythonInvoker(51): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:50:19 T:9800 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
01:50:19 T:9800 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8866/service?method=ses...evice=xbmc
01:50:19 T:9800 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
01:50:19 T:9800 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
01:50:19 T:9800 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on NextPVR PVR Client, status = 1
01:50:19 T:7276 NOTICE: Thread AddonStatus pvr.nextpvr start, auto delete: true
01:50:31 T:9800 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
01:50:31 T:9800 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8866/service?method=ses...evice=xbmc
01:50:31 T:9800 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
01:50:31 T:9800 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
01:50:31 T:9800 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on NextPVR PVR Client, status = 1
01:50:31 T:9548 NOTICE: Thread AddonStatus pvr.nextpvr start, auto delete: true
01:50:42 T:9800 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
01:50:42 T:9800 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8866/service?method=ses...evice=xbmc
01:50:42 T:9800 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
01:50:42 T:9800 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
01:50:42 T:9800 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on NextPVR PVR Client, status = 1
01:50:42 T:10428 NOTICE: Thread AddonStatus pvr.nextpvr start, auto delete: true
01:50:42 T:1244 NOTICE: Thread JobWorker start, auto delete: true
01:50:44 T:7924 NOTICE: Previous line repeats 1 times.
The web server is clearly down since when I navigate to 127.0.0.1:8866 you cannot connect. I stopped the NextPVR recording services and then attempted to start it using a a command prompt with 'run as administrator', went to the "C:\Program Files (x86)\NPVR" directory, ran "NRecord.exe RUN." I got the following error message:
C:\WINDOWS\system32>cd "C:\Program Files (x86)\NPVR"
C:\Program Files (x86)\NPVR>NRecord.exe RUN
[3] MVPManager thread started
[3] MVP Server: C:\Program Files (x86)\NPVR\NextPVR.exe
[3] Starting MVP server 0
[1] OnStart()
[1] Checking if upgrade required
[1] master file is C:\Users\Public\NPVR\Config-master-dont-edit.xml
[1] Using local in-process recording service
[1] CaptureSource.LoadAll()@1
[1] CaptureSource.LoadAll()@2
[1] CaptureSource.LoadAll()@3: BDA 2875 TVTuner (ATSC)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: BDA 2875 TVTuner (QAM)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: Tuner for Windows Media Center (DVB-C)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: IPTV Device
[1] CaptureSource.LoadAll()@4 plugin
[1] RecordingServiceProxy@exit
[1] CaptureSource.LoadAll()@1
[1] CaptureSource.LoadAll()@2
[1] CaptureSource.LoadAll()@3: BDA 2875 TVTuner (ATSC)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: BDA 2875 TVTuner (QAM)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: Tuner for Windows Media Center (DVB-C)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: IPTV Device
[1] CaptureSource.LoadAll()@4 plugin
[1] RecordingService.Startup()
[1] Starting remoting service (on port 8968)
[7] Requesting wake up for 'EPGWAKEUP-backup' at 11/20/2015 2:05 AM
[7] Requesting wake up for 'EPGWAKEUP' at 11/20/2015 2:05 AM
[7] Next EPG update time: 11/20/2015 2:05 AM
[1] Starting web server on: 8866
[1] Setting working directory to: C:\Program Files (x86)\NPVR\
[1] Web root: C:\Users\Public\NPVR\web
[6] RecordingService starting...
[6] PurgeOldDeletes()
[6] Loading recording schedule
[6] CancelAllWakeupRequests
[1] Unexpected error starting web server:
System.AppDomainUnloadedException: The application domain in which the thread was running has been unloaded.
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateInstanceInNewWorkerAppDomain(Type type, String appId, VirtualPath virtualPath, String physicalPath)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost(Type hostType, String virtualDir, String physicalDir)
at Cassini.Server.CreateHost()
at Cassini.Server..ctor(Int32 port, String virtualPath, String physicalPath)
at NRecord.RecordingService.OnStart(String[] args)
[1] OnStart() complete...
[8] Client Listener starting on port 7969
I have included hyperlinks to screenshots of my settings in both Kodi and NextPVR (Clients tab). What is going on and how do I fix it?
http://imgur.com/M6bonT4
http://imgur.com/YUhxTBp
01:50:08 T:11120 NOTICE: -->Python Interpreter Initialized<--
01:50:08 T:11120 WARNING: CPythonInvoker(48): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:50:08 T:11120 NOTICE: addons://user/xbmc.pvrclient
01:50:08 T:11120 NOTICE: addons://user/pvr.nextpvr
01:50:44 T:7924 NOTICE: Thread LanguageInvoker start, auto delete: false
01:50:08 T:11120 ERROR: EXCEPTION: XBMC is not playing any file
01:50:08 T:9800 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
01:50:08 T:9800 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8866/service?method=ses...evice=xbmc
01:50:08 T:9800 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
01:50:08 T:9800 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
01:50:08 T:9800 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on NextPVR PVR Client, status = 1
01:50:08 T:10460 NOTICE: Thread AddonStatus pvr.nextpvr start, auto delete: true
01:50:10 T:11052 NOTICE: Thread LanguageInvoker start, auto delete: false
01:50:10 T:11052 NOTICE: -->Python Interpreter Initialized<--
01:50:10 T:11052 WARNING: CPythonInvoker(49): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:50:11 T:11048 NOTICE: Thread LanguageInvoker start, auto delete: false
01:50:11 T:11048 NOTICE: -->Python Interpreter Initialized<--
01:50:11 T:11048 WARNING: CPythonInvoker(50): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:50:11 T:7112 NOTICE: Thread LanguageInvoker start, auto delete: false
01:50:11 T:7112 NOTICE: -->Python Interpreter Initialized<--
01:50:11 T:7112 WARNING: CPythonInvoker(51): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:50:19 T:9800 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
01:50:19 T:9800 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8866/service?method=ses...evice=xbmc
01:50:19 T:9800 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
01:50:19 T:9800 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
01:50:19 T:9800 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on NextPVR PVR Client, status = 1
01:50:19 T:7276 NOTICE: Thread AddonStatus pvr.nextpvr start, auto delete: true
01:50:31 T:9800 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
01:50:31 T:9800 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8866/service?method=ses...evice=xbmc
01:50:31 T:9800 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
01:50:31 T:9800 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
01:50:31 T:9800 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on NextPVR PVR Client, status = 1
01:50:31 T:9548 NOTICE: Thread AddonStatus pvr.nextpvr start, auto delete: true
01:50:42 T:9800 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
01:50:42 T:9800 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8866/service?method=ses...evice=xbmc
01:50:42 T:9800 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
01:50:42 T:9800 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
01:50:42 T:9800 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on NextPVR PVR Client, status = 1
01:50:42 T:10428 NOTICE: Thread AddonStatus pvr.nextpvr start, auto delete: true
01:50:42 T:1244 NOTICE: Thread JobWorker start, auto delete: true
01:50:44 T:7924 NOTICE: Previous line repeats 1 times.
The web server is clearly down since when I navigate to 127.0.0.1:8866 you cannot connect. I stopped the NextPVR recording services and then attempted to start it using a a command prompt with 'run as administrator', went to the "C:\Program Files (x86)\NPVR" directory, ran "NRecord.exe RUN." I got the following error message:
C:\WINDOWS\system32>cd "C:\Program Files (x86)\NPVR"
C:\Program Files (x86)\NPVR>NRecord.exe RUN
[3] MVPManager thread started
[3] MVP Server: C:\Program Files (x86)\NPVR\NextPVR.exe
[3] Starting MVP server 0
[1] OnStart()
[1] Checking if upgrade required
[1] master file is C:\Users\Public\NPVR\Config-master-dont-edit.xml
[1] Using local in-process recording service
[1] CaptureSource.LoadAll()@1
[1] CaptureSource.LoadAll()@2
[1] CaptureSource.LoadAll()@3: BDA 2875 TVTuner (ATSC)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: BDA 2875 TVTuner (QAM)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: Tuner for Windows Media Center (DVB-C)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: IPTV Device
[1] CaptureSource.LoadAll()@4 plugin
[1] RecordingServiceProxy@exit
[1] CaptureSource.LoadAll()@1
[1] CaptureSource.LoadAll()@2
[1] CaptureSource.LoadAll()@3: BDA 2875 TVTuner (ATSC)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: BDA 2875 TVTuner (QAM)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: Tuner for Windows Media Center (DVB-C)
[1] CaptureSource.LoadAll()@4 plugin
[1] CaptureSource.LoadAll()@3: IPTV Device
[1] CaptureSource.LoadAll()@4 plugin
[1] RecordingService.Startup()
[1] Starting remoting service (on port 8968)
[7] Requesting wake up for 'EPGWAKEUP-backup' at 11/20/2015 2:05 AM
[7] Requesting wake up for 'EPGWAKEUP' at 11/20/2015 2:05 AM
[7] Next EPG update time: 11/20/2015 2:05 AM
[1] Starting web server on: 8866
[1] Setting working directory to: C:\Program Files (x86)\NPVR\
[1] Web root: C:\Users\Public\NPVR\web
[6] RecordingService starting...
[6] PurgeOldDeletes()
[6] Loading recording schedule
[6] CancelAllWakeupRequests
[1] Unexpected error starting web server:
System.AppDomainUnloadedException: The application domain in which the thread was running has been unloaded.
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateInstanceInNewWorkerAppDomain(Type type, String appId, VirtualPath virtualPath, String physicalPath)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost(Type hostType, String virtualDir, String physicalDir)
at Cassini.Server.CreateHost()
at Cassini.Server..ctor(Int32 port, String virtualPath, String physicalPath)
at NRecord.RecordingService.OnStart(String[] args)
[1] OnStart() complete...
[8] Client Listener starting on port 7969
I have included hyperlinks to screenshots of my settings in both Kodi and NextPVR (Clients tab). What is going on and how do I fix it?
http://imgur.com/M6bonT4
http://imgur.com/YUhxTBp