cancel
Showing results for 
Search instead for 
Did you mean: 
rjaylarson
Level 7

Youtube rule getting "Timeout during data fetch" error

I implemented the Youtube rule to only allow specific Uploaders.  We are seeing a lot of errors such as this one:

URL: http://www.youtube.com/watch?v=ACR0kKYoejE

URL Categories:

Current Rule ID: 605

Current Rule Name: YouTube: Get Video Information

Error Message: (25004) Timeout during data fetch

Here are the details of the rule in question:

Name:
YouTube: Get Video Information

Rule Criteria:
Application.ToString (Application.Name) equals "YouTube" AND
User-Defined.YouTubeVideoId does not equal "-"

Action:
Continue

Events:
Set User-Defined.YouTubeTitle = ExtLists.String (User-Defined.YouTubeVideoId, "fields=title", "")<YouTube: (API)>
Set User-Defined.YoutubeCategory = ExtLists.String (User-Defined.YouTubeVideoId, "fields=media:group(media:category)", "")<YouTube: (API)>
Set User-Defined.YouTubeUploader = ExtLists.String (User-Defined.YouTubeVideoId, "fields=media:group(media:credit)", "")<YouTube: (API)>
Set User-Defined.YouTubeDescription = ExtLists.String (User-Defined.YouTubeVideoId, "fields=media:group(media:description)", "")<YouTube: (API)>
Set User-Defined.YouTubeKeywords = ExtLists.String (User-Defined.YouTubeVideoId, "fields=media:group(media:keywords)", "")<YouTube: (API)>
Set User-Defined.YouTubeTitle = String.ReplaceAll (User-Defined.YouTubeTitle, """, "'")

How do I troubleshoot why these errors are occurring?

0 Kudos
1 Reply
eelsasser
Level 15

Re: Youtube rule getting "Timeout during data fetch" error

I am seeing more unresponsiveness coming from the youtube api recently. I think they are throttling requests, to the API themselves.

Check if the mwg-error.log has a curl error of 28 indicating that there was no response within the 5 seconds.

The default timeout on the External List setting is 5 seconds. Increasing that to 10 seconds seems to help.