Hi Kulbir.
We have noticed the following appearing in the videocache logs over the last few months:
2011-03-05 15:47:37,917 5898 10.100.0.248 - REQUEST - http://v13.lscache6.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dYTlNNVF9FSkNNOF9LR1hF&fexp=910400%2C901013&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&signature=AD3CC527AE91750D9BA16D9D9691F0F173AEB8C3.79769B932B4F56D17A12167FDD726BC50A1F83C9&expire=1299326400&key=yt1&ip=0.0.0.0&factor=1.25&id=7de1351b6b09b72d
2011-03-05 15:47:38,562 5898 10.100.0.248 - REQUEST - http://www.youtube.com/get_video?t=vjVQa1PpcFPA1tXxj2mpkgbcellkDScHvQjWC5V2uwI=&el=detailpage&video_id=feE1G2sJty0&noflv=1&fmt=34&asv=3&tmi=1
2011-03-05 15:47:38,563 5898 10.100.0.248 feE1G2sJty0 URL_HIT YOUTUBE http://www.youtube.com/get_video?t=vjVQa1PpcFPA1tXxj2mpkgbcellkDScHvQjWC5V2uwI=&el=detailpage&video_id=feE1G2sJty0&noflv=1&fmt=34&asv=3&tmi=1
2011-03-05 15:47:38,590 5898 10.100.0.248 feE1G2sJty0 CACHE_MISS YOUTUBE Requested video was not found in cache.
2011-03-05 15:47:38,595 5898 10.100.0.248 feE1G2sJty0 NEW_URL YOUTUBE http://www.youtube.com/get_video?t=vjVQa1PpcFPA1tXxj2mpkgbcellkDScHvQjWC5V2uwI=&el=detailpage&video_id=feE1G2sJty0&noflv=1&fmt=34&asv=3&tmi=1
2011-03-05 15:47:38,596 5898 10.100.0.248 feE1G2sJty0 URL_HIT YOUTUBE http://www.youtube.com/get_video?t=vjVQa1PpcFPA1tXxj2mpkgbcellkDScHvQjWC5V2uwI=&el=detailpage&video_id=feE1G2sJty0&noflv=1&fmt=34&asv=3&tmi=1
2011-03-05 15:47:38,597 5898 10.100.0.248 feE1G2sJty0 CACHE_MISS YOUTUBE Requested video was not found in cache.
2011-03-05 15:47:38,603 5898 10.100.0.248 feE1G2sJty0 NEW_URL YOUTUBE http://www.youtube.com/get_video?t=vjVQa1PpcFPA1tXxj2mpkgbcellkDScHvQjWC5V2uwI=&el=detailpage&video_id=feE1G2sJty0&noflv=1&fmt=34&asv=3&tmi=1
2011-03-05 15:47:39,064 5899 10.100.0.248 feE1G2sJty0 SCHEDULED YOUTUBE Video scheduled for download.
2011-03-05 15:47:40,047 5898 127.0.0.1 - REQUEST - http://v3.lscache5.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass&fexp=901700&itag=35&ipbits=8&signature=534DD84FB897C27F16C491055B255073351E2253.4A49BF8EB05E38EF47B08D81194D8775F1E68B31&sver=3&ratebypass=yes&expire=1299326400&key=yt1&ip=150.0.0.0&id=7de1351b6b09b72d
2011-03-05 15:47:40,169 6032 10.100.0.248 feE1G2sJty0 DOWNLOAD_ERR YOUTUBE Error while caching video. HTTP Error 403: Forbidden
Checking the squid access.log confirms the client received the flv video correctly, but when videocache attempts to grab the flv itself, the URL is invalid:
1299304060.167 120 127.0.0.1 TCP_MISS/403 368 GET http://v3.lscache5.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass&fexp=901700&itag=35&ipbits=8&signature=534DD84FB897C27F16C491055B255073351E2253.4A49BF8EB05E38EF47B08D81194D8775F1E68B31&sver=3&ratebypass=yes&expire=1299326400&key=yt1&ip=150.0.0.0&id=7de1351b6b09b72d - DIRECT/203.217.23.22 text/plain
1299304061.080 3163 10.100.0.248 TCP_MISS/200 907809 GET http://v13.lscache6.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dYTlNNVF9FSkNNOF9LR1hF&fexp=910400%2C901013&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&signature=AD3CC527AE91750D9BA16D9D9691F0F173AEB8C3.79769B932B4F56D17A12167FDD726BC50A1F83C9&expire=1299326400&key=yt1&ip=0.0.0.0&factor=1.25&id=7de1351b6b09b72d - DIRECT/203.217.23.18 video/x-flv
We are currently running Videocache 1.9.7 with Squid 3.1.11 on CentOS 5.5.
3 Answers
Hello,
I see that videocache is also going via the proxy server itself. Please change proxy option to none if your proxy server can directly connect to internet. That'll help fix the issue.
Thank You!