Every now and then a recording will be cut short due to this (?)
content-type: text/html; charset=utf-8
abandoning direct connection due to content-type: text/html
Unexpected error in HTTP input source: System.NullReferenceException: Object reference not set to an instance of an object.
at NShared.Shim.InputSourceHTTP.WorkerThread(),
Snippet:
Code:
2023-12-03 03:49:01.075 [DEBUG][12] About to start recording (1698 on 40):
2023-12-03 03:49:01.075 [DEBUG][12] (Recording is due to be stopped at 3/12/2023 6:20 AM)
2023-12-03 03:49:01.075 [DEBUG][12] IPTV StartStream
2023-12-03 03:49:01.075 [DEBUG][12] IPTV StartStream@2
2023-12-03 03:49:01.075 [DEBUG][12] IPTV StartStream@3
2023-12-03 03:49:01.075 [DEBUG][12] IPTV StartStream@3.1
2023-12-03 03:49:01.075 [DEBUG][12] IPTV StartStream@3.2
2023-12-03 03:49:01.076 [DEBUG][12] ConnectToURL: https://xxxx.com:443/.../368835.ts?....
2023-12-03 03:49:02.636 [DEBUG][12] content-type: video/mp2t
2023-12-03 03:49:02.636 [DEBUG][12] IPTV StartStream@3.3
2023-12-03 03:49:02.636 [DEBUG][12] IPTV StartStream@3.4
2023-12-03 03:49:02.636 [DEBUG][12] IPTV StartStream@3.5
2023-12-03 03:49:02.636 [DEBUG][12] IPTV StartStream@6
2023-12-03 03:49:02.636 [DEBUG][12] IPTV StartStream@7
2023-12-03 03:49:02.636 [DEBUG][12] direct stream
2023-12-03 03:49:02.636 [DEBUG][12] IPTV StartStream@8
2023-12-03 03:49:02.636 [DEBUG][12] Creating writer: /users/ade/recordings/
2023-12-03 03:49:02.636 [DEBUG][52] HTTP input source starting
2023-12-03 03:49:02.639 [DEBUG][12] Created Mutex: Global\NPVR-mutex-b14c441136077e2fa3096980740261f7
2023-12-03 03:49:02.639 [DEBUG][12] Created map: /users/ade/recordings/
2023-12-03 03:49:02.639 [DEBUG][12] StartStream [/users/ade/recordings/allocated handle: 3
2023-12-03 03:49:02.639 [DEBUG][12] IPTV StartStream@9
2023-12-03 03:49:02.639 [DEBUG][12] Started recording (1698:3:/users/ade/recordings/
2023-12-03 03:49:02.642 [DEBUG][12] No /Users/Ade/.NPVR-data/scripts/ParallelProcessing.sh
2023-12-03 03:49:05.648 [DEBUG][12] PowerManagement StayAwake (needs implementation)
2023-12-03 03:49:05.648 [DEBUG][12] Active...staying awake
Then get a bunch of these:
2023-12-03 06:08:11.033 [DEBUG][52] HTTP input source starting
2023-12-03 06:08:11.040 [DEBUG][52] ConnectToURL: https://xxxxxxxxx.com:443/.../368835.ts?....
2023-12-03 06:08:12.215 [DEBUG][52] connected to: https://xxxxxxxxx.com:443/.../368835.ts?....
2023-12-03 06:08:12.215 [DEBUG][52] content-type: text/html; charset=utf-8
2023-12-03 06:08:12.215 [DEBUG][52] abandoning direct connection due to content-type: text/html
2023-12-03 06:08:12.230 [DEBUG][52] Unexpected error in HTTP input source: System.NullReferenceException: Object reference not set to an instance of an object.
at NShared.Shim.InputSourceHTTP.WorkerThread()
2023-12-03 06:08:12.230 [DEBUG][52] HTTP input source starting
2023-12-03 06:08:12.231 [DEBUG][52] ConnectToURL: https://xxxxxxxxx.com:443/.../368835.ts?....
2023-12-03 06:08:12.914 [DEBUG][52] content-type: text/html; charset=utf-8
2023-12-03 06:08:12.914 [DEBUG][52] abandoning direct connection due to content-type: text/html
2023-12-03 06:08:12.928 [DEBUG][52] Unexpected error in HTTP input source: System.NullReferenceException: Object reference not set to an instance of an object.
at NShared.Shim.InputSourceHTTP.WorkerThread()
2023-12-03 06:15:29.893 [DEBUG][52] Too many retries...giving up
2023-12-03 06:30:01.241 [DEBUG][12] Stopping recording (1698 on 40). Past end time of recording. 3
2023-12-03 06:30:01.247 [DEBUG][12] StopStream@1
2023-12-03 06:30:01.247 [DEBUG][12] StopStream@2
2023-12-03 06:30:01.247 [DEBUG][12] StopStream@3
2023-12-03 06:30:01.247 [DEBUG][12] StopStream handle: 3
2023-12-03 06:30:01.247 [DEBUG][12] Closing TSWriter....: /users/ade/recordings/xxxx.ts
2023-12-03 06:30:01.247 [ERROR][12] writer.Close() did not complete in a timely fashion
2023-12-03 06:30:01.248 [DEBUG][12] Close@2
2023-12-03 06:30:01.248 [DEBUG][12] Closing mapAccessor
2023-12-03 06:30:01.248 [DEBUG][12] Closing mapMMF
2023-12-03 06:30:01.248 [DEBUG][12] Closing mapFileStream
2023-12-03 06:30:01.248 [DEBUG][12] deleting /users/ade/recordings/xxxxx.ts.map
2023-12-03 06:30:01.250 [DEBUG][12] Close@exit
2023-12-03 06:30:01.250 [DEBUG][12] StopStream@exit
2023-12-03 06:30:01.251 [DEBUG][12] StopStream@exit
2023-12-03 06:30:01.259 [DEBUG][12] StoreMetaData@exit
2023-12-03 06:30:02.767 [DEBUG][12] PowerManagement AllowSleep (needs implementation)
2023-12-03 06:30:02.767 [DEBUG][12] No longer active
Posted by: ray - 2023-12-01, 11:20 AM - Forum: Windows
- Replies (7)
Hi. I have very recently installed this with a donation.
I have changed my login details but now it will accept my details.
I have emailed them for a link to amend my details but still have heard nothing back.
Can anybody help with this.
Thanks in advance.
I think I've got my system set up ok but I'm still seeing some random crashes. I've been successful recording shows all week but had one fail early in the week and another today at 4pm.
Haven't messed with the transcoding yet and so far only tried recording one program at a time.
Raspberry Pi 4
HAUPPAUGE WinTV-DualHD
LibreElec, Kodi, Next PVR
Hoping you can look over the log and tell me if there are some settings I can tweak to make this system rock solid.
Hi, I have NextPVR running on my Windows PC and it normally works very well. Last night I had a "failed recording" and it was my Wife's favourite programme so I was in the dog box!
Any chance of some help to avoid this problem in the future?
The recording which failed was the Great British Bake Off and was scheduled to start recording at 19:57 on Tuesday 28th November. I have attached the log files which I have just captured.
I am a real novice but I did spot something in the nrecord.log.1 file which might be relevant:
2023-11-28 19:57:27.873 [ERROR][46] IsComplete(): Object reference not set to an instance of an object.
Similar entries repeat ~30 times. However, I have no idea if this is relevant, what it means or if I can fix it! so apologies if this is a red herring.
I installed a new GPU : ASUS Dual Radeon RX 6600, 8GB
and after doing so there is horrible audio cuts/skips, very frequent cuts.
4k True-DTS, Dolby Atmos videos work perfectly.
I have restarted the server the nextpvr service sits on, restarted the service, and played with the transcoding to no avil.
I have checked for updates and am running on 6.1.5.231022
This is partially a NextPVR question, and a cry for help about a bigger problem that I thought someone on this board may know.
I'm using a Pinnacle PCTV 800i on Windows 10 64. This is a PCI card, and the drivers are marked as being Windows 7 64 drivers, but after pointing each of the 3 unresolved devices in device manager to this driver, they installed and looked happy. It's connected to OTA antenna in the US.
In the NextPVR Devices section in the web GUI, I see
-IPTV Device
-ATSC - Digital Tuner (#0)
-QAM - Digital Tuner (#0)
-QAM - QAM Digital Tuner (#0)
If I scan "ATSC / All Frequencies" on the ATSC tuner, it goes through the motions but finds nothing. I tried the QAM ones too just in case but they don't find anything. The backend status only has ".....Devices". How can it display devices in the GUI but not in the backend status?
I tried some other tests. Virtualdub doesn't list any input sources. The included Pinnacle application gives an error when scanning. I even wiped the drive and installed Windows 7 and it still doesn't work.
Lastly, I ran a Linux live CD and bingo, Kaffeine will scan channels and display them! So the card is good, and this is all in the same computer.
I don't get it. It's clear that despite the card's devices looking good in device manager, something is missing. Are there any other things I can try? Any applications/utilities that might give me some clues? I don't understand how these can look normal in device manager yet not produce available input sources.
I changed admin/password and enabled remote streaming. I am not able to access out of network. What do I need to do?
Do I need to run something that can keep my ip the same? I am using an ISP that has a modem you cannot directly connect to. Command prompt shows a different IP than "whats my ip" shows. I can use channelsdvr and plex, but not npvr.
I have a combo of over the air channels and IPTV channels. When I open a connection to a IPTV source and I check the Device Status page I see 1 connection to the IPTV source. If I go to another device and open another stream of the same IPTV channel it opens a second connection to the IPTV source as seen in the Device Status page. Is there a way if a second device tries to watch an active connection to an IPTV source could the second device "piggyback" off the active connection instead of opening a second connect?
Hi all. My docker knowledge is less than 1 out of a 100, I’m a copy/paste and hope it works.
Sorry if this line isn’t allowed but I have a terramaster Nas running TOS 5.1 (my 1st actual NAS) I have an app called docker manager.
I have managed to install nextPVR, I have my tuner setup, I have it up and running and have recording working…. Congrats to me….. so far so good. I can see my recordings WITHIN the nextPVR webgui and can play them back, but the folder looks empty. No files at all. Reading up it looks like it’s a user/ permissions issue.
I think that docker is running the app as root, yet the only user on my NAS I’d mine….. let’s say Fred.
In docker manager I can see a tab called “variables” is it possible to add users/ permissions from here?