Re: [squid-users] Re: [Squid] Invalid Response

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 04 Dec 2009 12:34:48 +1300

Jacopo Cappelli wrote:
> The log is:
> 1259851386.319 7 dk-assist1.centroleasing.it TCP_IMS_HIT/304 308
> GET http://www.abilearning.it/images/vai_on.gif - NONE/- image/gif
> 1259851389.132 1 dk-assist1.centroleasing.it TCP_IMS_HIT/304 308
> GET http://www.abilearning.it/images/vai.gif - NONE/- image/gif
> 1259851389.191 61 dk-assist1.centroleasing.it TCP_MISS/200 1019
> POST http://www.abilearning.it/esystem/index.asp -
> DIRECT/151.1.155.104 text/html
> 1259851389.207 15 dk-assist1.centroleasing.it TCP_IMS_HIT/304 306
> GET http://www.abilearning.it/esystem/css/main.css - NONE/- text/css
> 1259851389.233 0 dk-assist1.centroleasing.it TCP_IMS_HIT/304 307
> GET http://www.abilearning.it/esystem/nascosto.htm - NONE/- text/html
> 1259851389.235 1 dk-assist1.centroleasing.it TCP_IMS_HIT/304 307
> GET http://www.abilearning.it/esystem/vuoto.htm - NONE/- text/html
> 1259851389.249 1 dk-assist1.centroleasing.it TCP_NEGATIVE_HIT/404
> 1962 GET http://www.abilearning.it/esystem/grafica/common/loading.gif
> - NONE/- text/html

... a pile of objects being fetched from cache successfully...

> 1259851389.675 468 dk-assist1.centroleasing.it TCP_MISS/502 2753
> GET http://www.abilearning.it/esystem/asp/login.asp? -
> DIRECT/151.1.155.104 text/html

Remote server returning a 502 error page. Strange, but normal. Squid
passed it back to you.

>
> But not work.
> I try to use
> acl broken abilearning.it

   acl broken dstdomain abilearning.it

> always_direct allow broken

  ... means ignore cache_peer settings in squid.conf for abilearning.it

> no_cache deny broken

... means don't store any objects actually fetched from abilearning.it.
This will change the TCP_IMS_HIT successful fetches into TCP_MISS remote
fetches.

>
> But not work.
>
> Jacopo
>
> 2009/12/3 Jacopo Cappelli <jacopo89_at_gmail.com>:
>> I have a problem when visit some site(only with ie7 and ie8)
>> i use redhat 5 squid 2.6stable21
>>
>> return me this error
>>
>>
>> ERROR
>> The requested URL could not be retrieved
>>
>> While trying to process the request:
>> GET /esystem/asp/login.asp HTTP/1.0
>> Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg,
>> application/x-shockwave-flash, application/vnd.ms-powerpoint,
>> application/vnd.ms-excel, application/msword, application/xaml+xml,
>> application/vnd.ms-xpsdocument, application/x-ms-xbap,
>> application/x-ms-application, */*
>> Referer: http://www.abilearning.it/esystem/index.asp
>> Accept-Language: it
>> Proxy-Connection: Keep-Alive
>> Host: www.abilearning.it
>>
>> The following error was encountered:
>> Invalid Response
>> The HTTP Response message received from the contacted server could not
>> be understood or was otherwise malformed. Please contact the site
>> operator. Your cache administrator may be able to provide you with
>> more details about the exact nature of the problem if needed.
>>
>> i try to use this:
>> acl broken dstdomain abilearning.it
>> header_access Accept-Encoding deny broken
>>
>>
>> but not work in the cache.log there isn't any error and i try to use
>> relaxed_header_parser warn
>>
>>
>> Thanks Jacopo
>> --
>> Linux, Windows Xp ed MS-DOS
>> (anche conosciuti come il Bello, il Brutto ed il Cattivo).
>> -- Matt Welsh
>>
>
>
>

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.15
Received on Thu Dec 03 2009 - 23:35:09 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 04 2009 - 12:00:01 MST