[squid-users] cache peer access, HTTP Error

From: mokhtari <mokhtari@dont-contact.us>
Date: Mon, 22 Aug 2005 12:48:43 -0400

Hello everybody,

I have two connection to the Internet. When squid needs to access some
site it is being redirected to a page because my connection is filtered.
I was wondering how I can write an acl that in this situation squid
obtains the requested page by contacting a cache_peer.

FYI, When I use squiedclient to access a filtered page (say mmm.nnn.rrr)
I get the following Error message (a bit modified):

---------------------------------------------------------------
azar root # squidclient http://mmm.nnn.rrr
HTTP/1.0 502 Bad Gateway
Server: squid/2.5.STABLE7
Mime-Version: 1.0
Date: Mon, 22 Aug 2005 17:01:49 GMT
Content-Type: text/html
Content-Length: 1050
Expires: Mon, 22 Aug 2005 17:01:49 GMT
X-Squid-Error: ERR_READ_ERROR 104
X-Cache: MISS from azarcache
X-Cache-Lookup: MISS from azarcache:3128
Proxy-Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE
type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="http://mmm.nnn.rrr">http://mmm.nnn.rrr</A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Read Error
</STRONG>
</UL>

<P>
The system returned:
<PRE><I> (104) Connection reset by peer</I></PRE>

<P>
An error condition occurred while reading data from the network. Please
retry your request.
<P>Your cache administrator is <A HREF="mailto:root">root</A>.

<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Mon, 22 Aug 2005 17:01:49 GMT by azarcache (squid/2.5.STABLE7)
</ADDRESS>
</BODY></HTML>
---------------------------------------------------
Any suggestions?

Thanks

mokhtari
Received on Mon Aug 22 2005 - 10:41:29 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT