VideoCache

QUEUE_ERR - Error querying XMLRPC Server

by Anonymous on 31 Mar 2009

Hi,.. this my 1st installation of v-cache,
and found some problem , and need help :)

the error code when the there is request from client the code below was shown : QUEUE_ERR - Error querying XMLRPC Server

below was link of code of my cachevideo.conf
http://pastebin.com/pastebin.php?dl=m4192cd68

below the part of squid.conf
http://pastebin.com/pastebin.php?dl=m5fff4ecd

any advice ?

thanks and regards,

Bonivasius BD

18 Answers

by Kulbir Saini on 31 Mar 2009

Bonivasius,

Check if there is a problem with port 9100 on your system. It would be good if you can post your videocache log at http://pastebin.com/.

Thank You!

by Bonivasius on 1 Apr 2009

Hi.. Thanks reply,
i'm try to change the port from 9100 to 1025 and now the error i'm describe in my 1st comment was not found again, but.. there another problem appear, below the link of my last videocache.log

http://pastebin.com/pastebin.php?dl=m234d1d44

thanks for your kind and help :)
regards

Bonivasius

by Kulbir Saini on 1 Apr 2009

Bonivasius,

I think you are using max_website_video_size and min_website_video_size options in /etc/videocache.conf. Many websites don't allow the size to be fetched. Disabling those options or setting them to zero will help.

Thank You!

by Bonivasius on 1 Apr 2009

hi..
next problem on log was :

2009-04-02 16:29:03,496 21207 192.168.20.1 eafe67cdb293ed2d SCHEDULED YOUTUBE Video scheduled for download.
2009-04-02 16:29:03,499 21782 192.168.20.1 eafe67cdb293ed2d DOWNLOAD_ERR YOUTUBE An error occured while retrieving the video.

thanks for your kind and help
regards

by Bonivasius on 1 Apr 2009

Hi..
i think i found the last problem , as i found same problem on another server that's show in this forum , like below :

in /etc/videocache.conf

cache_host 10.0.99.2
proxy http://10.0.99.2:3128/

in /usr/local/squid/etc/squid.conf

acl LAN_1 src 10.0.99.2/255.255.255.255
http_access allow LAN_1

and i found no error code, but i'm still need you to cek my last code to make sure my videocache work :D
below my videocache.log
http://pastebin.com/pastebin.php?dl=m11637a4d

again.. thanks for your help,
regards

Bonivasius

by Bonivasius on 1 Apr 2009

Hello..
i found another problem here :)

when i open same streaming youtube address link for example, and log said already cached,
why on the 2nd time the link open streaming file was said "We sorry, this vidoe is no longer available "

any idea ?
regards

Bonivasius

by Bonivasius on 1 Apr 2009

hi..
for information my last problem ,
the apache web server was not used a default port > 80
i'm already changed to 81 in httpd.conf
listen 81

there is i'm should change on the videocache-httpd.conf ?
thanks
regards

Boni

by Bonivasius on 1 Apr 2009
2009-04-02 19:44:59,152 25883 10.100.0.95 5291bddfbb188830 DOWNLOAD YOUTUBE 22633055 Video was downloaded and cached.
2009-04-02 19:46:02,225 23899 10.100.0.95 - REQUEST - http://v6.lscache2.googlevideo.com/videoplayback?id=9e645c786eddc906&itag=5&ip=124.158.136.46&signature=9E78BD310361C74B8F7C8D922AEC3A8A2CA0E2F7.BA689FA315D05364FBB2BC1BE20D7329B8CFFD3E&sver=2&expire=1238636932&key=yt1&ipbits=0
2009-04-02 19:46:02,225 23899 10.100.0.95 9e645c786eddc906 URL_HIT YOUTUBE http://v6.lscache2.googlevideo.com/videoplayback?id=9e645c786eddc906&itag=5&ip=124.158.136.46&signature=9E78BD310361C74B8F7C8D922AEC3A8A2CA0E2F7.BA689FA315D05364FBB2BC1BE20D7329B8CFFD3E&sver=2&expire=1238636932&key=yt1&ipbits=0
2009-04-02 19:46:02,226 23899 10.100.0.95 9e645c786eddc906 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-04-02 19:46:02,227 23899 10.100.0.95 9e645c786eddc906 NEW_URL YOUTUBE http://v6.lscache2.googlevideo.com/videoplayback?id=9e645c786eddc906&itag=5&ip=124.158.136.46&signature=9E78BD310361C74B8F7C8D922AEC3A8A2CA0E2F7.BA689FA315D05364FBB2BC1BE20D7329B8CFFD3E&sver=2&expire=1238636932&key=yt1&ipbits=0
2009-04-02 19:46:05,337 23902 10.100.0.95 9e645c786eddc906 SCHEDULED YOUTUBE Video scheduled for download.
2009-04-02 19:46:05,338 23899 124.158.136.46 - REQUEST - http://v6.lscache2.googlevideo.com/videoplayback?id=9e645c786eddc906&itag=5&ip=124.158.136.46&signature=9E78BD310361C74B8F7C8D922AEC3A8A2CA0E2F7.BA689FA315D05364FBB2BC1BE20D7329B8CFFD3E&sver=2&expire=1238636932&key=yt1&ipbits=0
2009-04-02 19:46:05,338 23899 124.158.136.46 9e645c786eddc906 URL_HIT YOUTUBE http://v6.lscache2.googlevideo.com/videoplayback?id=9e645c786eddc906&itag=5&ip=124.158.136.46&signature=9E78BD310361C74B8F7C8D922AEC3A8A2CA0E2F7.BA689FA315D05364FBB2BC1BE20D7329B8CFFD3E&sver=2&expire=1238636932&key=yt1&ipbits=0
2009-04-02 19:46:05,339 23899 124.158.136.46 9e645c786eddc906 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-04-02 19:46:05,341 23899 124.158.136.46 9e645c786eddc906 NEW_URL YOUTUBE http://v6.lscache2.googlevideo.com/videoplayback?id=9e645c786eddc906&itag=5&ip=124.158.136.46&signature=9E78BD310361C74B8F7C8D922AEC3A8A2CA0E2F7.BA689FA315D05364FBB2BC1BE20D7329B8CFFD3E&sver=2&expire=1238636932&key=yt1&ipbits=0

my las log

by Kulbir Saini on 1 Apr 2009

Bonivasius,

Keep cache_host as your_ip:81 . Videocache should work fine after that.

Thank You!

by Roman on 7 Apr 2009

Hi,

Im just done, i need some help with cachevideo

my configuration is this:

Transparent proxy listening on 3128 with iptables for redirections
and delay pools are configure.

i dont have SELINUX or other security issue in the server im running CENTOS 5 and i think i have everything just fine,

some can help me please, by the way im talking about the "DOWNLOAD_ERR" and i read almost all the sections of this looking for and answerd and it just don working.

by Kulbir Saini on 7 Apr 2009

Roman,

Checklist
1. Did you define acl so that the proxy can access internet via proxy machine itself.
2. Did you change the proxy option in /etc/videocache.conf to correct value?
3. Did you check the owner:group permissions for /var/spool/videocache. It should be squid:squid or squid:root .

Get back if the problem persists.

Thank You!

by Roman on 7 Apr 2009

Thanks for the fast answerd and im sorry for my bad english.

Yes i define
http_access allow manager localhost also i define an acl with the ip interface who have the proxy, is not working.

I found something interesting in the access.log of squid i see an
TCP_DENIED when the request is from a video.

but im allowing the video cache..

Again, thanks for your help!

by Roman on 7 Apr 2009

I solve the problem i think by changing this acl

from

acl QUERY urlpath_regex cgi-bin cgi \\? php asp html htm xml pl
no_cache deny QUERY

to

acl QUERY urlpath_regex cgi-bin cgi \\? php asp html htm xml pl
no_cache allow QUERY

that acl just deny the cache for dynamics web pages, i think that when squid see the "?" just deny before the video can get to the videocache..

But now i have the error: the video is no longer available.

by Kulbir Saini on 8 Apr 2009

Roman,

Checklist
1. Is Apache running on your server?
2. Are you able to access http://your_server_ip/videocache/ ?
3. Did you allow access to your webserver via your proxy server using appropriate acls.

Get back if the problem persists.

Thank You!

by ipatricio on 25 Aug 2011

Hi
The videos if stored in the cache, and if they are playing from the cache. The problem is that the bandwidth restricts the HTB, and this does not allow cached videos are played faster. Where should I change to use port 81 for server cache videos
Thank you for your help me.

by Kulbir Saini on 25 Aug 2011

Hi,

Configure apache to listen on port 81 and then set cache_host to 192.168.36.204:81 (note the port) or whatever the ip of your server is.

Thank You!

by adit on 8 Sep 2011

could we use cache_host with dns as example ?

cache_host=tube.aaa.bb.cc ?

Thx
//Adit

by Kulbir Saini on 9 Sep 2011

Hi Adit,

You can use that as a cache host. But make sure that your clients can resolve it.

Thank You!

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