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?
