You are hereForums / Support / [Resolved] Strange Error

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

[Resolved] Strange Error


8 replies [Last post]
Anonymous
[Resolved] Strange Error
Printer-friendly versionSend to friend

I have videocache 1.7 working now. It downloads the videos and I see the .flv file on my disk.

The problem is that when watch the same video (youtube) it says "The video is no longer available" and in my logs I see the following over and over .. any ideas??

2009/01/28 10:33:52| WARNING: Forwarding loop detected for:
GET /videocache/youtube/XsCjzHHp_VE.flv?origin=nyc-v115.nyc.youtube.com&video_id=XsCjzHHp_VE&ip=66.78.99.27&region=0&signature=90122C99C6DF85BFB0D6D96087A20F292A0DD362.B9E524A5B2FE2A2A4DE04344CCC0AB38DD388C50&sver=2&expire=1233178460&key=yt1&ipbits=0 HTTP/1.0
Host: 66.78.99.29
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Via: 1.1 accel-01.ripnet.com (squid/3.0.STABLE8), 1.0 accel-01.ripnet.com (squid/3.0.STABLE8)
X-Forwarded-For: 66.78.98.25, 66.78.99.29
Cache-Control: max-age=259200
Connection: keep-alive

Jamie Orzechowski (not verified)

Looks like it's doing it for all sites now .. i tested with redtube and after the video is cached it will not play anymore and I get a forwarding loop error in my logs

==> /var/log/squid3/cache.log <==
2009/01/28 10:42:12| WARNING: Forwarding loop detected for:
GET /videocache/redtube/M4GGMJ10L.flv?start=0 HTTP/1.0
Accept: */*
Accept-Language: en-US
Referer: http://www.redtube.com/_playerx/flash/client_players/redtube/xmoov-flv-p...
x-flash-version: 10,0,12,36
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Host: 66.78.99.29
Via: 1.1 accel-01.ripnet.com (squid/3.0.STABLE8)
X-Forwarded-For: 66.78.98.25
Cache-Control: max-age=259200
Connection: keep-alive

admin's picture
Offline
Joined: Nov 2 2008

Hi Anon, Jamie,

Have you set your cache_host option correctly? Are you using some kind of forwarding for your http traffic on proxy?

Are you able to browse http:///videocache/ and subdirectories there?

Providing more details would help.

Thank You!

Jamie Orzechowski (not verified)

I have 2 IP's on my machine because my cache listens on port 80. So 66.78.99.27 is my apache and 66.78.99.29 is my squid

both listen on port 80

I can browse correctly to my URL/videocache and watch the files that have downloaded ...

but when I try from the video's website I just get a forwarding loop error.

admin's picture
Offline
Joined: Nov 2 2008

Jamie,

Set cache_host to the IP which you are using for Apache. I mean 66.78.99.27. That should solve your problem.

Thank You!

Jamie Orzechowski (not verified)

that worked thanks!

admin's picture
Offline
Joined: Nov 2 2008

Nice to hear that!

Anonymous (not verified)

Hi, my problem is, the proxy user write the log file videocache.log, but not write in the harddisk over the directory ejample /videocache/youtube/, some idea?
sorry for me english

admin's picture
Offline
Joined: Nov 2 2008

Hi Anon,

I couldn't really get your question. But if you are looking for videocache logfiles, they are in /var/log/videocache/.

Thank You!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 0 users and 100 guests online.