Hi,
i installed videocache in debian 5
all works fine but i see that videocache plugin not correctly works with site redtube
in log i see
2009-11-11 22:46:04,869 17456 127.0.0.1 - REQUEST - http://bv9q.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000028/89BCZX06D.flv/588a39412abf8eb6caf4c8c6cb10df34/4afb306e
2009-11-11 22:46:04,870 17456 127.0.0.1 4afb306e URL_HIT REDTUBE http://bv9q.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000028/89BCZX06D.flv/588a39412abf8eb6caf4c8c6cb10df34/4afb306e
2009-11-11 22:46:04,870 17456 127.0.0.1 4afb306e CACHE_MISS REDTUBE Requested video was not found in cache.
2009-11-11 22:46:04,873 17456 127.0.0.1 4afb306e NEW_URL REDTUBE http://bv9q.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000028/89BCZX06D.flv/588a39412abf8eb6caf4c8c6cb10df34/4afb306e
2009-11-11 22:47:50,852 27801 <my ip> 4afb306e DOWNLOAD REDTUBE 7669049 Video was downloaded and cached.
in disk was downloaded file with name 4afb306e
ls -lah /data/videocache/redtube/
total 154M
drwxr-xr-x 2 squid squid 126 2009-11-11 22:49 .
drwxr-xr-x 17 squid squid 4.0K 2009-11-11 10:07 ..
-rw-r--r-- 1 squid squid 26M 2009-11-11 17:17 4afae25b
-rw-r--r-- 1 squid squid 26M 2009-11-11 17:23 4afae3bb
-rw-r--r-- 1 squid squid 20M 2009-11-11 17:25 4afae449
-rw-r--r-- 1 squid squid 20M 2009-11-11 17:29 4afae558
-rw-r--r-- 1 squid squid 26M 2009-11-11 17:31 4afae598
-rw-r--r-- 1 squid squid 26M 2009-11-11 17:33 4afae5d2
-rw-r--r-- 1 squid squid 7.4M 2009-11-11 22:47 4afb306e
-rw-r--r-- 1 squid squid 7.4M 2009-11-11 22:49 4afb30e8
(not .flv !!! ? why?)
and if i reload page i view in log
2009-11-11 22:48:07,080 17456 <my ip> - REQUEST - http://bv9q.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000028/89BCZX06D.flv/6819b8ac3e6cd07816ce2a28ea3ae8a0/4afb30e8?start=0
2009-11-11 22:48:07,080 17456 <my ip> 4afb30e8 URL_HIT REDTUBE http://bv9q.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000028/89BCZX06D.flv/6819b8ac3e6cd07816ce2a28ea3ae8a0/4afb30e8?start=0
2009-11-11 22:48:07,081 17456 <my ip> 4afb30e8 CACHE_MISS REDTUBE Requested video was not found in cache.
2009-11-11 22:48:07,083 17456 <my ip> 4afb30e8 NEW_URL REDTUBE http://bv9q.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000028/89BCZX06D.flv/6819b8ac3e6cd07816ce2a28ea3ae8a0/4afb30e8?start=0
2009-11-11 22:48:08,835 17465 <my ip> 4afb30e8 SCHEDULED REDTUBE Video scheduled for download.
2009-11-11 22:48:10,669 17456 127.0.0.1 - REQUEST - http://bv9q.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000028/89BCZX06D.flv/6819b8ac3e6cd07816ce2a28ea3ae8a0/4afb30e8
and videocache plugin download new file with name 4afb30e8
Please recheck
Thanks
5 Answers
Snaiperb,
We don't save files with extensions. But thats not the problem here.
Thanks for reporting the issues. I confirm this bug. I'll try to fix it asap.
Thanks again :)
Helo, any update for this case? i have a same problem. Here's my test
-- 1st request for http://www.redtube.com/29149 --
2009-12-30 17:22:17,525 4463 xx.xx.xx.xx 4b3b3816 URL_HIT REDTUBE http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/8f4d8663ae94bc147a1871d6fab0f443/4b3b3816?start=0
2009-12-30 17:22:17,525 4463 xx.xx.xx.xx 4b3b3816 CACHE_MISS REDTUBE Requested video was not found in cache.
2009-12-30 17:22:17,528 4463 xx.xx.xx.xx 4b3b3816 NEW_URL REDTUBE http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/8f4d8663ae94bc147a1871d6fab0f443/4b3b3816?start=0
2009-12-30 17:22:20,330 4464 xx.xx.xx.xx 4b3b3816 SCHEDULED REDTUBE Video scheduled for download.
2009-12-30 17:22:20,340 4463 yy.yy.yy.yy - REQUEST - http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/8f4d8663ae94bc147a1871d6fab0f443/4b3b3816
2009-12-30 17:22:20,341 4463 yy.yy.yy.yy 4b3b3816 URL_HIT REDTUBE http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/8f4d8663ae94bc147a1871d6fab0f443/4b3b3816
2009-12-30 17:22:20,341 4463 yy.yy.yy.yy 4b3b3816 CACHE_MISS REDTUBE Requested video was not found in cache.
2009-12-30 17:22:20,343 4463 yy.yy.yy.yy 4b3b3816 NEW_URL REDTUBE http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/8f4d8663ae94bc147a1871d6fab0f443/4b3b3816
2009-12-30 17:35:01,935 4540 xx.xx.xx.xx 4b3b3816 DOWNLOAD REDTUBE 16346020 Video was downloaded and cached.
and videocache download the file as 4b3b3816
[root@proxy redtube]# ls -al | grep 4b3b3816
-rw------- 1 squid squid 14827520 Dec 30 17:33 4b3b3816
-- end of test 1 --
-- 2nd request for http://www.redtube.com/29149 --
2009-12-30 17:35:49,028 4463 xx.xx.xx.xx 4b3b3b46 URL_HIT REDTUBE http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/d3d2bf86c1a2a1b51126a030ecc9a5e9/4b3b3b46?start=0
2009-12-30 17:35:49,028 4463 xx.xx.xx.xx 4b3b3b46 CACHE_MISS REDTUBE Requested video was not found in cache.
2009-12-30 17:35:49,031 4463 xx.xx.xx.xx 4b3b3b46 NEW_URL REDTUBE http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/d3d2bf86c1a2a1b51126a030ecc9a5e9/4b3b3b46?start=0
2009-12-30 17:35:49,298 4463 xx.xx.xx.xx - REQUEST - http://www.redtube.com/iframe/AC_RunActiveContent.js
2009-12-30 17:35:50,902 4464 xx.xx.xx.xx 4b3b3b46 SCHEDULED REDTUBE Video scheduled for download.
2009-12-30 17:35:50,910 4463 yy.yy.yy.yy - REQUEST - http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/d3d2bf86c1a2a1b51126a030ecc9a5e9/4b3b3b46
2009-12-30 17:35:50,910 4463 yy.yy.yy.yy 4b3b3b46 URL_HIT REDTUBE http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/d3d2bf86c1a2a1b51126a030ecc9a5e9/4b3b3b46
2009-12-30 17:35:50,910 4463 yy.yy.yy.yy 4b3b3b46 CACHE_MISS REDTUBE Requested video was not found in cache.
2009-12-30 17:35:50,912 4463 yy.yy.yy.yy 4b3b3b46 NEW_URL REDTUBE http://ug54.redtube.com/467f9bca32b1989277b48582944f325afa3374/0000029/88HBID0GL.flv/d3d2bf86c1a2a1b51126a030ecc9a5e9/4b3b3b46
next videocache recognise this video as new one 4b3b3b46
-- end of test 2 --
Hello, any updates? Issue makes videocache useless for redtube and it's most popular pornsite generating a lot of traffic in my (and other users) networks