WARNING: Forwarding loop detected for

This is a discussion on WARNING: Forwarding loop detected for within the Squid Users forums, part of the Web Server and Related Forums category; Hi, We use squid (2.5.STABLE7) as a reverse proxy, which passes requests to Tomcat on another server on ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-27-2006
Alex S
 
Posts: n/a
Default WARNING: Forwarding loop detected for

Hi,

We use squid (2.5.STABLE7) as a reverse proxy, which passes requests to
Tomcat on another server on a private network, gets answers back from
that Tomcat and sends them back to the client. This works very well.

We also use the same SQUID as a proxy for those servers on the private
network so that they can access the internet. They send requests to
SQUID on port 3128, which returns the requested data. This also works
fine.

However, on the same server as Tomcat is a program called HTMLDOC which
creates PDFs for Tomcat. Tomcat instructs HTMLDOC to create a PDF,
HTMLDOC does this fine, except that to complete the PDF it needs to
reference in a logo which it tries to get from Tomcat via SQUID (the
logo is stored in the database behind Tomcat). So it requests the URL
for the logo from SQUID (acting as a proxy on 3128). SQUID then seems
to realise (quite rightly) that it should retrieve this from itself by
acting as a reverse proxy, but, instead of going back to Tomcat to
retrieve the logo from the database it reports the following:

2006/04/27 17:01:49| WARNING: Forwarding loop detected for:
GET
/abcd:443/abcd/filestorage/useradmin/orderLogo_29547/iconSMALLER.jpg
HTTP/1.0
Host: abcd.domain.com
User-Agent: HTMLDOC v1.8.23
Via: 1.1 server.private.domain.com:3128 (squid/2.5.STABLE7)
X-Forwarded-For: 192.168.175.52
Cache-Control: max-age=259200
Connection: keep-alive

So it seems that SQUID will not allow a proxy request (outward) to
request something from itself acting as a reverse proxy (inward). Does
anyone known why this is?

Regards,
Alex.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0