Many 7000 (SCHEDULE_QUEUED) errors recently

Many 7000 (SCHEDULE_QUEUED) errors recently

Postby GameGod » Sun Jan 18, 2015 8:22 pm

Hi,

I've been using the service for a while now, and everything worked great. However, for the past few days I've noticed that I'm getting a lot of SCHEDULE_QUEUED errors, which didn't happen before. Has something changed?

For example, this from my most recent download attempt @ ~7 pm PST, trying to grab 13 days of data:

Code: Select all
Getting listings for 'Cable' (CA04683:X)
Getting station map from legacy service...
Getting listings from service...
Last Data Update: 1/18/2015 12:41:43 PM
Your subscription will expire: 6/21/2015 3:18:29 PM
Server Status: Online
Getting listings for KTVU [Channel 2]
Getting listings for KNTV [Channel 3]
Getting listings for KRON [Channel 4]
Warning: Operation returned an error. Response: {
  "response": "SCHEDULE_QUEUED",
  "code": 7000,
  "serverID": "20140530.1",
  "message": "The schedule you requested has been queued for generation but is n
ot yet ready for download. Retry.",
  "datetime": "2015-01-19T03:08:58Z",
  "stationID": "10672",
  "retryTime": "2015-01-19T03:18:58Z"
}
Retrying operation in 600 seconds...


According the service, the data was last updated at 12:41 pm (PST) today, but the request still needs to be queued because the data hasn't been generated yet. This happens for many channels, and as my grabber has to wait 10 minutes each time, an update takes hours to complete.

Can this please be fixed so it goes back to how it used to behave before?

Thanks.
GameGod
 
Posts: 59
Joined: Fri Aug 17, 2007 12:26 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby rkulagow » Sun Jan 18, 2015 8:26 pm

Something has changed in our upstream provider, and that's causing issues for us. I'm still troubleshooting this with them and trying to isolate whether the issue is on my side or on theirs.
rkulagow
SD Staff
 
Posts: 910
Joined: Tue Aug 14, 2007 3:15 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby GameGod » Sun Jan 18, 2015 8:31 pm

Thanks for the very quick response. Hopefully this gets resolved soon!

Please let me know if I can help in any way.
GameGod
 
Posts: 59
Joined: Fri Aug 17, 2007 12:26 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby GameGod » Mon Jan 19, 2015 6:00 pm

Besides the SCHEDULE_QUEUED errors, I'm now seeing parse errors indicating bad JSON data. Maybe they are both related to the same issue?

I have temporarily switched to using XMLTV to keep my production systems going, so I would be really grateful if you could reply to this thread once the issue is fixed so I can switch back.

Thanks!
GameGod
 
Posts: 59
Joined: Fri Aug 17, 2007 12:26 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby rkulagow » Mon Jan 19, 2015 6:29 pm

Can you let me know which stationID is having parse errors? Once I can see what the error is then I can check for it server side instead of client side.
rkulagow
SD Staff
 
Posts: 910
Joined: Tue Aug 14, 2007 3:15 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby GameGod » Tue Jan 20, 2015 8:17 am

I ran my grabber twice (once last night and again this morning) to get the stationID and am no longer seeing the SCHEDULE_QUEUED or parse errors. Is the issue fixed?
GameGod
 
Posts: 59
Joined: Fri Aug 17, 2007 12:26 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby rkulagow » Tue Jan 20, 2015 8:31 am

Yes, I believe that this issue was resolved.
rkulagow
SD Staff
 
Posts: 910
Joined: Tue Aug 14, 2007 3:15 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby GameGod » Tue Jan 20, 2015 8:34 am

Thanks for all your efforts to fix this. Just as a point of curiosity, what was the issue and the fix?
GameGod
 
Posts: 59
Joined: Fri Aug 17, 2007 12:26 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby rkulagow » Tue Jan 20, 2015 9:27 am

We weren't handling being throttled by the upstream properly, so things just cascaded because the retries caused additional failures, which caused additional retries. You get the picture.
rkulagow
SD Staff
 
Posts: 910
Joined: Tue Aug 14, 2007 3:15 pm

Re: Many 7000 (SCHEDULE_QUEUED) errors recently

Postby GameGod » Tue Jan 20, 2015 10:44 am

Got it :) Kinda ironic, I think, because Robert implemented the blocking algorithm on the xmltv service for similar reasons...

In any case, glad its fixed now.

Thanks again.
GameGod
 
Posts: 59
Joined: Fri Aug 17, 2007 12:26 pm


Return to Developer

Who is online

Users browsing this forum: No registered users and 2 guests

cron