Re: Strange Squid problem

From: Reuben Farrelly <reuben-squid-dev@dont-contact.us>
Date: Tue, 08 Mar 2005 01:45:47 +1300

Hi Guido and Henrik,

At 01:02 a.m. 8/03/2005, Serassio Guido wrote:
>Hi Henrik,
>
>Il 11.01 07/03/2005 Henrik Nordstrom ha scritto:
>
>>On Sun, 6 Mar 2005, Serassio Guido wrote:
>>
>>>I have found a strange problem. the site http://www.manageddesigns.it/
>>>doesn't work using Squid when the browser is Internet Explorer, but it
>>>works using Mozilla.
>>
>>What symptoms are seen?
>
>Blank page.
>
>>Any cache.log messages?
>
>None, but Reuben Farrelly wrote this:
>
>>I'm seeing the same behaviour as you, and also noting this logged:
>>
>>2005/03/07 10:40:58| ctx: enter level 0: http://www.manageddesigns.it/'
>>2005/03/07 10:40:58| httpProcessReplyHeader: Impossible keep-alive header
>>from 'http://www.manageddesigns.it/'
>
>So, I will enable detect_broken_pconn to see what happens.

Just tried - makes no difference :(

>>Can you provide access.log with log_mime_hdrs of both failing and working
>>sessions.
>
>Yes, but tomorrow, now I'm out of office.

Seeing as Guido is out of the office and I am still up (nearly 2am, should
be in bed I guess) I'll send on some info now.

Through proxy:

Firefox (works):
1110198604.017 10745 192.168.0.6 TCP_MISS/200 4064 GET
http://www.manageddesigns.it/ - DIRECT/217.29.163.47 text/html [Host:
www.manageddesigns.it\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8b2) Gecko/20050303 Firefox/1.0+\r\nAccept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language:
en-us,en;q=0.7,en-nz;q=0.3\r\nAccept-Encoding:
gzip,deflate\r\nAccept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive: 300\r\nProxy-Connection:
keep-alive\r\nCookie:
ASP.NET_SessionId=2uiuab55ylyr1wqqptk1wo2p\r\nCache-Control: max-age=0\r\n]
[HTTP/1.1 200 OK\r\nCache-Control: private\r\nConnection:
keep-alive\r\nDate: Mon, 07 Mar 2005 12:29:57 GMT\r\nTransfer-Encoding:
chunked\r\nContent-Type: text/html; charset=utf-8\r\nContent-Encoding:
gzip\r\nVary: Accept-Encoding\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By:
ASP.NET\r\nX-AspNet-Version: 1.1.4322\r\n\r]

IE6 (fails):
1110198693.842 906 192.168.0.6 TCP_MISS/200 350 GET
http://www.manageddesigns.it/ - DIRECT/217.29.163.47 text/html [Accept:
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword, application/x-shockwave-flash, application/x-icq,
*/*\r\nAccept-Language: en-nz\r\nAccept-Encoding: gzip,
deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1)\r\nHost: www.manageddesigns.it\r\nProxy-Connection:
Keep-Alive\r\nCookie: ASP.NET_SessionId=5p2c2m55zbknljzsquldmvjk\r\n]
[HTTP/1.1 200 OK\r\nCache-Control: private\r\nConnection:
keep-alive\r\nDate: Mon, 07 Mar 2005 12:31:37 GMT\r\nTransfer-Encoding:
chunked\r\nContent-Type: text/html; charset=utf-8\r\nContent-Encoding:
gzip\r\nVary: Accept-Encoding\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By:
ASP.NET\r\nX-AspNet-Version: 1.1.4322\r\n\r]

Raw/nonproxied headers look like this:

[root@tornado squid]# wget -S http://www.manageddesigns.it/
--01:37:45-- http://www.manageddesigns.it/
            => `index.html'
Resolving www.manageddesigns.it... 217.29.163.47
Connecting to www.manageddesigns.it[217.29.163.47]:80... connected.
HTTP request sent, awaiting response...
  1 HTTP/1.1 200 OK
  2 Connection: keep-alive
  3 Date: Mon, 07 Mar 2005 12:37:49 GMT
  4 Server: Microsoft-IIS/6.0
  5 X-Powered-By: ASP.NET
  6 X-AspNet-Version: 1.1.4322
  7 Set-Cookie: ASP.NET_SessionId=qme2grbgrs3hki453xbocmjd; path=/
  8 Cache-Control: private
  9 Content-Type: text/html; charset=utf-8
10 Content-Length: 11931

What is weird is that the actual _content_ (view source) of the returned
page with Internet Explorer is blank:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

but with Firefox a full and complete HTML page is returned and the site
renders properly.

<puzzled look>

reuben
Received on Mon Mar 07 2005 - 05:45:48 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:04 MST