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
1 2 3 4 5 … 433 Next »
EPG Update Errors

EPG Update Errors
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#1
2025-04-01, 07:57 PM
Hello.

I know that V4 is obsolete but it still has value for me and I use it every day in addition to V6.

I'm getting errors while updating the EPG and would like to know if I can do something to prevent them from recurring. I manually updated the EPG this afternoon and the NPVR.log.1 at record 2108 shows the following:

{
  "stationID": "96299",
  "serverID": "20141201.web",
  "code": 7020,
  "response": "SCHEDULE_RANGE_EXCEEDED",
  "minDate": "no_db_mindate",
  "maxDate": "no_db_maxdate",
  "requestedDate": "2025-04-01",
  "message": "Date requested (2025-04-01) not within no_db_mindate -> no_db_maxdate for stationID 96299."
}
2025-04-01 15:12:39.691 [ERROR][188] (798 - Uplift HD): Date requested (2025-04-01) not within no_db_mindate -> no_db_maxdate for stationID 96299.
2025-04-01 15:12:39.691 [DEBUG][188] 798 Uplift HD
{
  "stationID": "96299",
  "serverID": "20141201.web",
  "code": 7020,
  "response": "SCHEDULE_RANGE_EXCEEDED",
  "minDate": "no_db_mindate",
  "maxDate": "no_db_maxdate",
  "requestedDate": "2025-04-02",
  "message": "Date requested (2025-04-02) not within no_db_mindate -> no_db_maxdate for stationID 96299."
}
2025-04-01 15:12:39.691 [ERROR][188] (798 - Uplift HD): Date requested (2025-04-02) not within no_db_mindate -> no_db_maxdate for stationID 96299.
2025-04-01 15:12:39.691 [DEBUG][188] 798 Uplift HD

Can you offer some tips I can use to prevent these errors?

Thanks.


Attached Files
.zip   Logs-20250401.zip (Size: 317.72 KB / Downloads: 1)
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#2
2025-04-01, 08:10 PM (This post was last modified: 2025-04-01, 08:19 PM by mvallevand.)
Looking at the logs there might not be any data for the stations with the error so contact SD lineup support.

Also make sure your EPG update times are offset, this error is troubling, are you using a VPN on either of your servers or are they on different PC's? Tokens shouldn't be expiring in normal use thanks to change in SD recently.

Code:
2025-04-01 04:07:07.173    [DEBUG][9]    Requesting /schedules
2025-04-01 04:07:07.240    [ERROR][9]    System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at NShared.SchedulesDirectJSONEPGSource.DoPOSTRequest(String url, String token, String body)
2025-04-01 04:07:07.240    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:07Z"}
2025-04-01 04:07:07.240    [DEBUG][9]    Got /schedules:

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#3
2025-04-01, 08:34 PM
Thanks, Martin.

I'll go through log and remove those channels from the lineup.

Also, I checked the update times between V4 and V6 and found V6 update starting only 30 minutes before V4 starts. I changed that to 2 hours. They may have overlapped. Thanks for the heads-up.

JohnC

PS - Love the Maple Leaf.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#4
2025-04-01, 08:42 PM
Do you have the v6 logs? It looks like more than an overlap. I can see that the initial token expiry was here "tokenExpires":1743494819 but it should only have only logged in once and this was at the start of the EPG.

Code:
2025-04-01 04:07:00.478    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:00Z"}
2025-04-01 04:07:01.113    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:00Z"}
2025-04-01 04:07:01.526    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:01Z"}
2025-04-01 04:07:02.024    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:01Z"}
2025-04-01 04:07:02.411    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:02Z"}
2025-04-01 04:07:02.658    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:02Z"}
2025-04-01 04:07:02.899    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:02Z"}
2025-04-01 04:07:03.125    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:03Z"}
2025-04-01 04:07:03.535    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:03Z"}
2025-04-01 04:07:03.821    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:03Z"}
2025-04-01 04:07:04.256    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:04Z"}
2025-04-01 04:07:04.680    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:04Z"}
2025-04-01 04:07:05.078    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:04Z"}
2025-04-01 04:07:05.178    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:05Z"}
2025-04-01 04:07:05.293    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:05Z"}
2025-04-01 04:07:05.874    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:05Z"}
2025-04-01 04:07:06.279    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:06Z"}
2025-04-01 04:07:06.574    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:06Z"}
2025-04-01 04:07:06.869    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:06Z"}
2025-04-01 04:07:07.240    [ERROR][9]    {"response":"TOKEN_EXPIRED","code":4006,"serverID":"20141201.web","message":"Token has expired. Request new token.","datetime":"2025-04-01T08:07:07Z"}
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#5
2025-04-01, 08:55 PM
Yeah, I posted the V6 logs. No sure I understand the token concern though. Not unusual for me...

JohnC


Attached Files
.zip   logs-20250401-1649.zip (Size: 719.03 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#6
2025-04-01, 09:53 PM
I just wanted to confirm that the overlap wasn't the problem. I think see what happens though, since v4 doesn't have logic to login after the token expiry that sub added in 2022.

This code on the EPG update used to give a new token that would be valid for 24 hours

Code:
2025-04-01 04:06:39.277    [DEBUG][9]    Checking for any Schedules Direct listings
2025-04-01 04:06:39.277    [DEBUG][9]    Doing EPG update from Schedules Direct JSON
2025-04-01 04:06:39.278    [DEBUG][9]    Authenticating Schedules Direct account

Now it renews the existing token

Code:
2025-04-01 04:06:39.561    [DEBUG][9]    Using URL: https://json.schedulesdirect.org/20141201
2025-04-01 04:06:39.603    [DEBUG][9]    
{"account":{"expires":"2025-08-26T16:55:53Z","messages":[],"maxLineups":4},"lineups":[...],"lastDataUpdate":"2025-04-01T08:01:44Z","notifications":[],"systemStatus":[{"date":"2023-08-01T16:00:00Z","status":"Online","message":"No known issues."}],"serverID":"20141201.web","datetime":"2025-04-01T08:06:39Z","code":0,"tokenExpires":1743494819}

The bad news is that expiry was 20 seconds later 4:06:59 AM during the EPG update. So you are now potentially dependent on v7 (or v6.1.5 in your case) resetting the token or needing to wait 24 hours so the EPG login will do it.

My gut says you probably should do the EPG update in v4 first.

I am going to link SD to this thread.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#7
2025-04-02, 01:35 PM
OK, Martin, I understand what you are suggesting and will make the change.

I'll let you know.

Your effort on this is greatly appreciated. Thank you.

JohnC
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#8
2025-04-03, 02:36 PM (This post was last modified: 2025-04-03, 02:36 PM by mvallevand.)
SD did look at this thread and said the original issue was that these channels don't exist anymore so you needed to do a lineup scan. The more critical issue on v4 not meeting SD spec was noted but there aren't enough v4 users of SD anymore to make any API change worthwhile.

I did not that v4 was causing other issues for you with SD and even recording

2025-04-01 09:01:00.270 [DEBUG][8] No errors, but no data delivered

Time to figure out why you need v4 and move on especially as a Kodi user.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#9
2025-04-03, 06:31 PM
My V4/V6 dichotomy began with release of V5 and the introduction of using TCPIP protocol instead of UDP for commuinications. After finally getting V5 to work, I noticed that recordings were not completing. At some random point, the device would simply stop sending data. At this point I learned how to use Wireshark to capture and analyze what's going on. Wireshark showed that TCPIP was not keeping up with data rates being used by the Hauppauge DCR-3250 Triple Tuner with a tuning card. Further research convinced me that TCPIP was not meant to be used for this type of video transmission. I asked about this at several points in the NextPVR forum but despite all explanations from helpful posters, there was no solution offered that worked. So I stopped using V5. V4 was working perfectly using UDP.

When V6 appeared, I thought maybe something changed and decided to give it a try. V6 behaved the same way...recordings just stopping. I installed V4 and V6 on a new HP laptop with Win 11 thinking a speedier machine would fix my problem. It did not.

Again I stayed with V4 but every time a new release of V6 appeared, I gave it a try until one day, V6 worked. I used Wireshark to make sure V6 was still using TCPIP. It was and I have no explanation as to why V6 started working for me. Since then, I have used V4 for most of my reording and only V6 for Kodi. Kodi works nicely on my Lenovo tablet.

So...here I am today. I'd planned to post my logs from both V4 and V6 showing the overnight EPG updates but I'd failed to change the V4 update ahead of V6. Dumb. I'll have both logs tomorrow with updates running at the proper times. I can post them tomorrow if you still wish to take a peek.

Overall, I've enjoyed considerable success running this duet of NextPVR versions, but if V4 has to go, I think my confidence in V6/V7 will allow me to sleep at night.

Sub and you maintain a terrific product. Thank you.

JohnC
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,668
Threads: 170
Joined: Jun 2007
#10
2025-04-04, 02:53 AM
(2025-04-03, 06:31 PM)jcole998 Wrote: My V4/V6 dichotomy began with release of V5 and the introduction of using TCPIP protocol instead of UDP for commuinications. After finally getting V5 to work, I noticed that recordings were not completing. At some random point, the device would simply stop sending data. At this point I learned how to use Wireshark to capture and analyze what's going on. Wireshark showed that TCPIP was not keeping up with data rates being used by the Hauppauge DCR-3250 Triple Tuner with a tuning card. Further research convinced me that TCPIP was not meant to be used for this type of video transmission. I asked about this at several points in the NextPVR forum but despite all explanations from helpful posters, there was no solution offered that worked. So I stopped using V5. V4 was working perfectly using UDP.

When V6 appeared, I thought maybe something changed and decided to give it a try. V6 behaved the same way...recordings just stopping. I installed V4 and V6 on a new HP laptop with Win 11 thinking a speedier machine would fix my problem. It did not.

Again I stayed with V4 but every time a new release of V6 appeared, I gave it a try until one day, V6 worked. I used Wireshark to make sure V6 was still using TCPIP. It was and I have no explanation as to why V6 started working for me. Since then, I have used V4 for most of my reording and only V6 for Kodi. Kodi works nicely on my Lenovo tablet.

It seems strange that you would have seen problems with TCP (vs UDP) like you describe. In fact, TCP should have been better because it has reliable/guaranteed packet delivery vs UDP's "send it and if it gets lost, oh well" functionality. I know that back with v4, I would occassionally have recordings with "glitches" when the network was busy with other things going on and some of the UDP packets didn't make it. And that situation was eliminated with using the TCP connections. I wonder if your problem was on the Hauppauge DCR-3250 driver/firmware side rather than the NextPVR side. I don't think that many users had DCR-3250s.

At any rate, it probably would be really good for you to get away from V4--especially with the changes on the SD API side.

I recently cut the cord and got rid of my Xfinity cable TV service. So, I've got 2 Silicon Dust HDHR3-CC 3-tuner cable card devices that I'm no longer using. They have been used extensively with NextPVR v4, v5, and v6 over the years very successfully. I'd be happy to share one with you if you would like.

-Brett
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Not recording errors vidwiz 4 1,076 2024-04-17, 05:39 PM
Last Post: mvallevand
  Device Update - Channel Mapping chezmorris 10 4,814 2022-07-01, 01:59 PM
Last Post: mvallevand
  ITV/BBC HD and EPG missing from scan and update angelisle 16 4,295 2021-08-26, 11:45 AM
Last Post: NumberFive
  Auto Update EPG not running as scheduled? BairStrokes 2 1,802 2021-03-26, 12:02 PM
Last Post: NumberFive
  automatic EPG update virtualpaul 18 13,139 2021-01-29, 12:40 PM
Last Post: virtualpaul
  Auto Update EPG not running as scheduled Bobbybear 10 3,766 2020-10-24, 09:24 AM
Last Post: Bobbybear
  Microsoft update Brucek2839 2 1,539 2020-09-12, 03:29 AM
Last Post: Brucek2839
  cmd line update urls? pBS 0 1,229 2019-11-30, 11:05 AM
Last Post: pBS
  NextPVR channel changing between DVB-T and Hauppauge Colossus channels: Update three6zerocool 0 1,328 2019-09-28, 09:55 AM
Last Post: three6zerocool
  DVB EPG does not update bass_gas 9 5,525 2019-08-15, 04:55 PM
Last Post: Ludron

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

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

Linear Mode
Threaded Mode