2023-12-02, 10:25 PM
Hi
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:
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