VideoCache

we're sorry this video is no longer available

by salah on 7 Nov 2008

Hi all

i did everything as been asked , the video is in youtube_cache folder ,but when i try to watch it, it gives me "we're sorry this video is no longer available" . the cache_host i changed it from 127.0.0.1 to 192.186.10.1 (ip of the cache pc) and the proxy to http://192.186.10.1:3128 but same problem.
any help please??
10x in advanced

8 Answers

by Kulbir Saini on 7 Nov 2008

Its probably a problem with your web-server. Do as I say.

  1. Try to browse http://192.168.10.1/video_cache/ from your browser. If its not browsable, that means its a problem with your web server.
  2. If there is no problem in step 1. Open logfile youtube_cache.log . Go to a line with CACHE_HIT . Now there will be a line with NEW_URL and it will look like 303:http://192.168.10.1/video_cache/youtube/.flv? . Copy that url and try to open in your browser. This will give you the exact error.
by Anonymous on 9 Nov 2008

I got this problem with the old opera browser only.

Great software Kulbir Saini, thx for this cachevideos :)

by Kulbir Saini on 9 Nov 2008

Is it working fine with new browsers?
Thanks for compliments :)

by Anonymous on 10 Nov 2008

yes work fine with opera 9.62 linux/win version now

by head on 15 Nov 2008
2008-11-15 16:53:34,267 INFO 10.0.0.10 - REQUEST - http://www.youtube.com/get_video?video_id=aoSVwp9lszo&t=OEgsToPDskJsoA1uI2dXo_Cf7ruUAmgN&el=detailpage&ps=
2008-11-15 16:53:34,277 INFO 10.0.0.10 aoSVwp9lszo URL_HIT YOUTUBE http://www.youtube.com/get_video?video_id=aoSVwp9lszo&t=OEgsToPDskJsoA1uI2dXo_Cf7ruUAmgN&el=detailpage&ps=
2008-11-15 16:53:34,277 INFO 10.0.0.10 aoSVwp9lszo CACHE_MISS YOUTUBE Requested video was not found in cache.
2008-11-15 16:53:34,281 INFO 10.0.0.10 aoSVwp9lszo NEW_URL YOUTUBE http://www.youtube.com/get_video?video_id=aoSVwp9lszo&t=OEgsToPDskJsoA1uI2dXo_Cf7ruUAmgN&el=detailpage&ps=
2008-11-15 16:53:34,516 INFO 10.0.0.10 aoSVwp9lszo SCHEDULED YOUTUBE Video scheduled for download.
2008-11-15 16:53:34,582 INFO 10.0.0.10 aoSVwp9lszo DOWNLOAD_ERR YOUTUBE An error occured while retrieving the video.
2008-11-15 16:53:37,251 INFO 10.0.0.10 - REQUEST - http://v22.cache.googlevideo.com/get_video?origin=ash-v71.ash.youtube.com&video_id=aoSVwp9lszo&ip=201.230.102.164&signature=3F22C9BF8E68E9AE679767F3DC4FE69E467079A7.BB464CBF57BEE217767922EF492355C3213423EA&sver=2&expire=1226807163&key=yt4&ipbits=2
2008-11-15 16:53:37,258 INFO 10.0.0.10 aoSVwp9lszo URL_HIT YOUTUBE http://v22.cache.googlevideo.com/get_video?origin=ash-v71.ash.youtube.com&video_id=aoSVwp9lszo&ip=201.230.102.164&signature=3F22C9BF8E68E9AE679767F3DC4FE69E467079A7.BB464CBF57BEE217767922EF492355C3213423EA&sver=2&expire=1226807163&key=yt4&ipbits=2
2008-11-15 16:53:37,259 INFO 10.0.0.10 aoSVwp9lszo CACHE_MISS YOUTUBE Requested video was not found in cache.
2008-11-15 16:53:37,263 INFO 10.0.0.10 aoSVwp9lszo NEW_URL YOUTUBE http://v22.cache.googlevideo.com/get_video?origin=ash-v71.ash.youtube.com&video_id=aoSVwp9lszo&ip=201.230.102.164&signature=3F22C9BF8E68E9AE679767F3DC4FE69E467079A7.BB464CBF57BEE217767922EF492355C3213423EA&sver=2&expire=1226807163&key=yt4&ipbits=2
2008-11-15 16:53:37,552 INFO 10.0.0.10 aoSVwp9lszo SCHEDULED YOUTUBE Video scheduled for download.
2008-11-15 16:53:37,621 INFO 10.0.0.10 aoSVwp9lszo DOWNLOAD_ERR YOUTUBE An error occured while retrieving the video

need help plz, ready config

http://10.0.0.6/video_cache/
Forbidden
You don't have permission to access /video_cache on this server.
Apache/2.2.3 (CentOS) Server at ns.rga.com.pe Port 80

by head on 15 Nov 2008

http://10.0.0.6/video_cache/ i have access .

why?

.102.164&signature=9D017A799B636D603C2BB7338435AAA559A8E5B7.CAB5F2A831638B3AFDA73B7CFD3D4F8C6DF593AA&sver=2&expire=1226814068&key=yt4&ipbits=2
2008-11-15 18:48:39,886 INFO 10.0.0.19 - NEW_URL YOUTUBE Error in parsing the url http://v11.cache.googlevideo.com/get_video?origin=sjc-v258.sjc.youtube.com&video_id=JQd5IFFbsRU&ip=201.230.102.164&signature=9D017A799B636D603C2BB7338435AAA559A8E5B7.CAB5F2A831638B3AFDA73B7CFD3D4F8C6DF593AA&sver=2&expire=1226814068&key=yt4&ipbits=2
by Kulbir Saini on 16 Nov 2008

It seems that you have not configured your youtube cache properly. Open /etc/youtube_cache.conf and check the proxy , cache_host are properly configured.
Secondly, your Apache is not able to access /var/spool/squid/video_cache. That may be due to several reasons.
1. You have selinux enabled and thats preventing access. Try disabling SELINUX using 'setenforce 0' on command line and restart httpd service.
2. You iptables firewall is preventing access. Try disabling your firewall using 'service iptables stop' and restart httpd service.

If none of the above tricks work, please share more information like your operating system, which version of youtube cache you are using? How did you install (from rpm or source)?

by Kulbir Saini on 16 Nov 2008

Please see this reply and provide the details I have asked.

You need to sign in. Please sign in to add answer to this question.