Re: [squid-users] Squid TCP_MISS/502

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 20 Jan 2010 20:37:05 +1300

Dawie Pretorius wrote:
> To whom it may concern
>
> squid.conf:
<snip>

>
> Squid version: Squid Cache: Version 3.0.STABLE10 configure options:

There is one possible problem. Please use 3.0.STABLE19+.

>
> CentOS release 5.4 (Final)
>
> 1263963136.820 240992 172.16.9.158 TCP_MISS/502 6012 GET
> http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxx
> DIRECT/72.14.204.154 text/html

<snip repeats>

>
>
> ERROR The requested URL could not be retrieved
>
> Invalid Response error was encountered while trying to process the
> request:
>
> GET
> /pagead/ads?client=ca-pub-5884878215917141&format=728x90_as&output=html&h=90&w=728&lmt=1263962894&ad_type=text_image&alternate_ad_url=http%3A%2F%2Fgmane.org%2Fblank.php&color_bg=FFFFFF&color_border=FFFFFF&color_link=002390&color_text=000000&color_url=000000&flash=10.0.32&url=http%3A%2F%2Farticle.gmane.org%2Fgmane.comp.web.squid.general%2F77905&dt=1263962895706&correlator=1263962895712&frm=0&ga_vid=1818576121.1263962896&ga_sid=1263962896&ga_hid=1380304372&ga_fc=0&u_tz=120&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=1024&u_aw=1280&u_cd=32&u_nplug=8&u_nmime=24&biw=1263&bih=862&ref=http%3A%2F%2Fwww.google.co.za%2Furl%3Fsa%3Dt%26source%3Dweb%26ct%3Dres%26cd%3D1%26ved%3D0CAkQFjAA%26url%3Dhttp%253A%252F%252Farticle.gmane.org%252Fgmane.comp.web.squid.general%252F77905%26rct%3Dj%26q%3DTCP_MISS%252F502%2Bsolved%2Bsquid%26ei%3DyIpWS7_FN5WHlAfStPDyAw%26usg%3DAFQjCNGDv9EHtorrL30y-3aYaWt_UBHeog&loc=http%3A%2F%2Farticle.gmane.org%2Fgmane.comp.web.squid.general%2F77905&fu=0&ifi=1&dtd=145&xpc=S
MG2BszZPp&p=http%3A//article.gmane.org
> HTTP/1.1

WOW. If only I could say I'm surprised.
The URL itself is almost as long as the HTML page being sent in response.

Here is the problem in plain english:
> The HTTP Response message received from the contacted server could
> not be understood or was otherwise malformed.

Check your cache.log file to see what Squid is reporting about it there.

<snip> ...

>
> Generated Wed, 20 Jan 2010 04:52:16 GMT by XXXXXXXXXXXXX
> (squid/3.0.STABLE10)
>
> Error TCP_MISS/502 followed by this page gets displayed, when
> disabling proxy googleads.g.doubleclick.net/pagead/ads? Displays
> fine, is there something is squid.conf that is causing this not to
> load?
>

I've done some tests here with a copy of 3.0.STABLE21 and I can't
replicate that. The page always comes back.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE21
   Current Beta Squid 3.1.0.15
Received on Wed Jan 20 2010 - 07:37:15 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 20 2010 - 12:00:04 MST