Search squid archive

squid-2.6STABLE1-WARNING: Forwarding loop detected for

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I have configured squid-2.6STABLE1 as transparent proxy in my linux
machine. It is working without any error. But i am getting a  warning
mesage in my cache.log saying it has detected a Forwarding loop.

My relevant squid.conf is as follows:

http_port 8888 transparent
cache_peer 172.16.1.49 parent 8888 0 no-query
http_access allow all

Do we need cache_peer option to setup for transparent proxy.

When i use the cache_peer option iam getting the following entries in
my cache.log
-----------------------------------------------------------------------------------------------
2006/07/12 11:24:53| WARNING: Forwarding loop detected for:
Client: 172.16.1.49 http_port: 172.16.1.49:8888
GET http://www.jboss.com/modules/bb/templates/subSilver/images/lang_english/icon_www.gif
HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.50  [en]
Host: www.jboss.com
Accept: text/html, application/xml;q=0.9, application/xhtml+xml,
image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Charset: windows-1252, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Referer: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957225
If-Modified-Since: Mon, 10 Jul 2006 05:04:16 GMT
Cookie: JSESSIONID=460C69EB4C78A020532BEEAC379C8519
Cookie2: $Version=1
Via: 1.1 vimailfilter:8888 (squid/2.6.STABLE1)
X-Forwarded-For: 172.16.1.40
Cache-Control: max-age=259200
Proxy-Connection: keep-alive
-------------------------------------------------------------------------------------

If i comment the cache_peer option iam getting the following error
message in my browser.

-------------------------------------------------------------------------------------
ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://www.google.co.in/

The following error was encountered:

  * Unable to forward this request at this time.

This request could not be forwarded to the origin server or to any
parent caches. The most likely cause for this error is that:

  * The cache administrator does not allow this cache to make direct
connections to origin servers, and
  * All configured parent caches are currently unreachable.

Your cache administrator is webmaster.
Generated Wed, 12 Jul 2006 06:17:52 GMT by vimailfilter (squid/2.6.STABLE1)
--------------------------------------------------------------------------------------------

My cache.log entries are given below

2006/07/12 11:48:49| Failed to select source for
'http://mail.google.com/mail/channel/test?&at=2cc5ef0f04287ccd-10c6148ddc6&MODE=init&zx=jbx42x2h1jy0'
2006/07/12 11:48:49|   always_direct = 0
2006/07/12 11:48:49|    never_direct = 0
2006/07/12 11:48:49|        timedout = 0
---------------------------------------------------------------------------------------------

What may be the reason?

Thanks in advance,
Sekar.D

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux