You are hereForums / Support / Videos not serving from the cache

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

Videos not serving from the cache


2 replies [Last post]
Offline
Joined: May 13 2011
Videos not serving from the cache

Hi

I have just transfered my ubuntu videocache hard drive which was working fine, into a new vmware virtual machine, and am having problems with serving cached videos.

It seems some videos get served from the cache via the apache server, but new ones dont.

I can see once a video's threshold is hit, it downloads and saves the video, but when the video is played on the youtube website, it says
"an error occured, please try again later"

I have checked that the client browser can access the video using the url that is being provided

Here is some of the video cache log below showing its working.
If I open up a web browser on a client machine, and use the first part of the url such as
http://192.168.1.3/videocache/youtube/4fdc8670a958022c

With the above URL firefox asks to save the file and it does so from the cache without a problem. However if i try to play that video inside the youtube website, it doesnt work. It just says
"An error occured, please try again later"

Various other posts suggest to look at the cache_host option in the videocache config file, which is set to 192.168.1.3 - the correct address of the apache server.

These videos play perfectly fine until they are cached, and then they stop playing in the browser.

02/Aug/2011:02:50:38 2559 INFO 192.168.1.2 YOUTUBE CACHE_HIT 4fdc8670a958022c Video was served from cache using the URL 302:http://192.168.1.3/videocache/youtube/4fdc8670a958022c?sparams=id,expire,ip,ipbits,itag,algorithm,burst,factor,oc:U0hQR1JOUF9FSkNOMF9KSFRF&fexp=909319,912602,913510&algorithm=throttle-factor&burst=40&ip=0.0.0.0&ipbits=0&signature=0C5C377626E3DF806D973493F320473B99FFD8CA.53EE8DD8E4E5D46F964F2B4D6F921CF5A220DB91&sver=3&expire=1312232400&key=yt1&factor=1.25&playretry=1&id=4fdc8670a958022c&itag=34 -

02/Aug/2011:02:50:38 2559 INFO 192.168.1.2 YOUTUBE URL_HIT T9yGcKlYAiw http://www.youtube.com/get_video?t=vjVQa1PpcFNMtMOYtq7Lw_kawlIGYQl5vB3Cf... -

02/Aug/2011:02:50:38 2559 INFO 192.168.1.2 YOUTUBE CACHE_HIT T9yGcKlYAiw Video was served from cache using the URL 302:http://192.168.1.3/videocache/youtube/T9yGcKlYAiw?el=detailpage&asv=3&fmt=34&video_id=T9yGcKlYAiw&t=vjVQa1PpcFNMtMOYtq7Lw_kawlIGYQl5vB3Cffwe51w= -

Does anyone have any ideas?

admin's picture
Offline
Joined: Nov 2 2008

Hi Ray,

It's a known issue because of a recent Youtube API change. Can you please contact me via email to get the latest fix?

Thank You!

Fernando (not verified)

Hi

I got this error:

09/Aug/2011:21:10:25 22139 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -
09/Aug/2011:21:10:28 22139 INFO 200.29.244.24 YOUTUBE CACHE_THREAD_START -lOCzEoJ_-M Starting cache thread. -
09/Aug/2011:21:10:30 22139 ERROR 200.29.244.24 YOUTUBE VIDEO_URL_ERR -lOCzEoJ_-M Could not determine video URL. -
09/Aug/2011:21:10:33 22139 INFO - - CACHE_THREAD_REMOVE -lOCzEoJ_-M Cache thread completed. Removing from active list. -

You just sent me 1.9.8.3 and can not caching youtueb videos.

Please help me

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 162 guests online.