Nightly update failing but update runs manually

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html
Post Reply
mskenny

Posts: 36
Joined: Tue Jun 21, 2011 8:37 pm
Location:

HTPC Specs: Show details

Nightly update failing but update runs manually

#1

Post by mskenny » Tue Dec 06, 2016 3:46 pm

For the last few days, the nightly scheduled run of EPG123 has failed. I get "invalid username or token has expired" when it tries to login to Schedules Direct:

12/6/2016 2:45:00 AM] ===============================================================================
[12/6/2016 2:45:00 AM] Beginning epg123 update execution.
[12/6/2016 2:45:00 AM] ===============================================================================
[12/6/2016 2:45:00 AM] [ INFO] epg123 version 1.0.2 , DaysToDownload: 14 , PrefixEpisodeTitle: False , AppendEpisodeDesc: True , AutoImport: True , TMDbCoverArt: True , LogoOverride: True , Automatch: True , AutoAddNew: True
[12/6/2016 2:45:12 AM] [ INFO] Successfully retrieved TMDb configurations.
[12/6/2016 2:45:13 AM] [ INFO] Token request successful. serverID: 20141201.web.2
[12/6/2016 2:45:13 AM] [ INFO] epg123 is up to date. version: 1.0.2
[12/6/2016 2:45:13 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[12/6/2016 2:45:13 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-MA65213-QAM.
[12/6/2016 2:45:13 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-MA65213-X.
[12/6/2016 2:45:13 AM] Entering getAllScheduleEntryMd5s() for 14 days on 726 stations.
[12/6/2016 2:45:19 AM] [ INFO] Successfully retrieved Md5s for 726 station's daily schedules.
[12/6/2016 2:45:36 AM] [ INFO] Successfully retrieved 726 station's daily schedules.
[12/6/2016 2:48:01 AM] Exiting getAllScheduleEntryMd5s(). SUCCESS.
[12/6/2016 2:48:01 AM] Entering buildAllProgramEntries() for 45663 programs.
[12/6/2016 2:55:29 AM] [ERROR] SD API WebException Thrown. Message: The remote server returned an error: (403) Forbidden. , Status: ProtocolError
[12/6/2016 2:55:29 AM] [ERROR] SD responded with error code: 4003 , message: Invalid username or token has expired. , serverID: 20141201.web.1 , datetime: 2016-12-06T07:55:29Z
[12/6/2016 2:55:29 AM] [ERROR] Did not receive a response from Schedules Direct for 2680 programs metadata.
[12/6/2016 2:55:29 AM] Problem occurred during buildProgramEntries(). Exiting.
[12/6/2016 2:55:29 AM] [ERROR] Failed to create MXF file. Exiting.
[12/6/2016 2:55:29 AM] [STATS] epg123 update execution time was 00:10:29.4143867.

However, I can run the update manually without issue. I had a problem like this in the past when my two computers would run EPG123 around the same time but I moved the time that the other computer runs the task back about an hour and a half and that problem went away. The second computer runs without an issue.

Is there some new restriction on logins to Schedules Direct in the last few days?

Melissa

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#2

Post by garyan2 » Tue Dec 06, 2016 5:37 pm

No restrictions that I am aware of. Do you have any other software that uses Schedules Direct? emby perhaps? or MythTV? or ???
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

mskenny

Posts: 36
Joined: Tue Jun 21, 2011 8:37 pm
Location:

HTPC Specs: Show details

#3

Post by mskenny » Tue Dec 06, 2016 5:48 pm

Yes, I do have Emby. I don't see a way in their interface to tell it when to update though. Perhaps I'll need to change the scheduled task run time again. Thanks.

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#4

Post by garyan2 » Tue Dec 06, 2016 6:14 pm

You can modify the emby scheduled task for Live TV. Looks like the default trigger is every 12 hours ... you can change that to a specific time.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

mskenny

Posts: 36
Joined: Tue Jun 21, 2011 8:37 pm
Location:

HTPC Specs: Show details

#5

Post by mskenny » Tue Dec 06, 2016 8:17 pm

I changed it to run once a day at 8 am. Hopefully that will do it. Thanks!

Melissa

Post Reply