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 … 47 48 49 50 51 … 433 Next »
can you make it retry on 401 errors?

can you make it retry on 401 errors?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#1
2018-08-13, 09:28 PM
can you make it retry iptv stream at least once when it gets a 401 unauthorized error?
it does this sometimes when i haven't used a stream in a while and immediately works within a second afterwards...some sort of timing glitch.
already missed a few recordings and sometimes happens when watching live..
Thanks
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2018-08-13, 09:31 PM
Can you supply some logs showing it happen?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2018-08-13, 09:42 PM
sure...snippet
Quote:2018-08-13 16:00:01.026 [DEBUG][9] Starting: G:\NPVRDATA\Scripts\PostProcessing.bat "P:\mpg\Highly Questionable\Highly Questionable_20180813_15301600.ts" 745 228697 69 "Highly Questionable *"
2018-08-13 16:00:01.056 [DEBUG][9] Recording explicitly recording to directory: '[p]'
2018-08-13 16:00:01.056 [DEBUG][9] allocating recording target filename: P:\mpg\Around the Horn\Around the Horn_20180813_16001630.ts
2018-08-13 16:00:01.056 [DEBUG][9] About to start recording (228702 on 69): P:\mpg\Around the Horn\Around the Horn_20180813_16001630.ts...
2018-08-13 16:00:01.056 [DEBUG][9] Free space 185910181888 (P:\)
2018-08-13 16:00:02.147 [ERROR][9] System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at NShared.IPTVRecorder.CheckTSUrl(String url, String& reason, String& location)
2018-08-13 16:00:02.147 [DEBUG][9] Failed to connect to location http://live.thecableguytv.com:80/.../2032.ts?.... [IaQgufgTHWxN02HmVhDwE0EkCqM/+DinXcl3pR1EPAl+VPumW1EV4mV2fyW7hFcZFsZMKCyJC9C0tHsZL+ig3XsrLgnMZ7WYrMDZPyMd854W4JMA6oq9o0duvU4Sd63YGvl3Me87tKxGxst+/2g+5Q/qQl2yIESQhtZQgbVJAqcPPgHg+KeO+WtUYxcwMJXh0aaU45AL11PQjyIOeAeZwzvFX++sJW+HJRGFROzKOTRjBfulrhsio2sq4KfgKOWuAr164bJcmwzEYkZ7sS3vUNlie1feu8Qe+p+oeVG/zUOQTO7ILrRLE2x+1pdPWe+M2bWRZSZiabGHztMQPp7W+gkfK5u996allAkS3jv1QQ/28Y7ynQCQJMLdlzrgAkGPHUtbcZbvZYDTa1PoHJqRPRAZLCz/jRLfJi0g7b9JKum8+oPC7iV24FzgWD0b0g0OZscbaWis4cpnwTivvsn5rQ==]
The remote server returned an error: (401) Unauthorized.
2018-08-13 16:00:02.147 [DEBUG][9] Temp at 8/13/2018 4:00:12 PM
2018-08-13 16:00:02.147 [DEBUG][9] Failed to start recording on allocated device (228702Tongue:\mpg\Around the Horn\Around the Horn_20180813_16001630.ts): 'The remote server returned an error: (401) Unauthorized.'
2018-08-13 16:00:02.147 [DEBUG][9] Looking for second chance device to perform recording...
2018-08-13 16:00:02.332 [DEBUG][9] Temp at 8/13/2018 4:00:12 PM
2018-08-13 16:00:02.332 [DEBUG][9] Failed to start recording... (228702Tongue:\mpg\Around the Horn\Around the Horn_20180813_16001630.ts): 'The remote server returned an error: (401) Unauthorized.'
2018-08-13 16:05:42.927 [DEBUG][9] Reloading recording schedule
2018-08-13 16:05:42.967 [DEBUG][9] CancelAllWakeupRequests
2018-08-13 16:05:42.967 [DEBUG][9] Cancelling wake up request for for 'RecordingOID228696'
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2018-08-14, 12:16 AM
was that sufficient logs?
when it happens on livetv i just restart channel and it always plays fine.
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#5
2018-08-14, 12:33 AM
Hopefully. I'll post a patch when I'm back home later.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#6
2018-08-15, 12:51 AM
cool...on a side note: sometimes livetv pauses when going from livetv [0 secs behind] to buffer, about 5 secs in, but a skip usually fixes..and i see 'skipping to buffer' msg.
and radio channels [audio-only .ts] wont' let me pause, change channels, or skip...locks up..very annoying to not be able to change stations.

if you need samples i'm happy to give... They seem like normal streams..
Also, channel changes with sd channels have the old "audio decoder missing" msg still...and some hd channels..mostly mpeg1 audio ones..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2018-08-15, 05:41 PM
any luck with the retries?
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#8
2018-08-15, 06:16 PM
Give this one a go. It does a retry if it gets this 401 opening the connection. If it doesn't work, post the log snippet again - I added a message saying it was a attempting the retry.
spudjg1
Offline

Member

Posts: 187
Threads: 30
Joined: Mar 2018
#9
2018-08-16, 10:17 PM
[quote=pBS]can you make it retry iptv stream at least once when it gets a 401 unauthorized error?
it does this sometimes when i haven't used a stream in a while and immediately works within a second afterwards...some sort of timing glitch.
already missed a few recordings and sometimes happens when watching live..
I have this issue, only with recording. Has the file fixed this issue
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#10
2018-08-20, 01:58 AM
so far so good...haven't seen any (401) Unauthorized in longs tho to see if it retried..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG Update Errors jcole998 23 1,848 2025-05-11, 06:03 PM
Last Post: mvallevand
  Not recording errors vidwiz 4 1,080 2024-04-17, 05:39 PM
Last Post: mvallevand
  how to make a m3u playlist zikky 21 9,913 2019-09-09, 09:58 PM
Last Post: sub
  Recording Error: No errors, but no data delivered. jksmurf 4 1,878 2019-04-08, 04:24 AM
Last Post: jksmurf
  Possibility to retry TV card? Pbathuk 0 842 2019-03-17, 11:03 PM
Last Post: Pbathuk
  ***No Errors, but no data delivered........ rosede 28 6,913 2019-02-27, 08:48 PM
Last Post: rosede
  No Errors, but no data delivered... drmargarit 3 1,453 2019-01-31, 04:49 PM
Last Post: drmargarit
  Entered my playlist URL into Channel List URL but it errors out! What Next? sgbrittain 0 927 2018-11-21, 08:42 PM
Last Post: sgbrittain
  Make A NextPVR server that works on Nvidia Shield dtbcinci 0 2,189 2018-09-27, 02:21 PM
Last Post: dtbcinci
  Sporadic - No errors, but no data delivered userg 1 1,059 2018-09-22, 03:03 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode