[squid-users] Invalid Response/Malformed

From: Bruno Guerreiro <bruno.guerreiro_at_ine.pt>
Date: Tue, 31 Mar 2009 21:49:04 +0100

Hi all,
Ive run into this issue.
When trying to access this site http://www.acp.pt I get an error message:

Invalid Response error was encountered while trying to process the request:
GET / HTTP/1.1
Host: www.acp.pt
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Cookie: OAID=85d42a4578c83aec5c49fcf529626d18; __utma=10858660.1732473768.1237559664.1237559664.1237559664.1; __utmz=10858660.1237559664.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
Cache-Control: max-age=0

This has changed from a zero sized reply with 2.6 STABLE22 to the error Ive mentioned in 3.0-STABLE13

Checking the headers with wget, this is the response:

wget --server-response http://www.acp.pt
--2009-03-31 18:09:31-- http://www.acp.pt/
Resolving www.acp.pt... 85.88.134.195
Connecting to www.acp.pt|85.88.134.195|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Tue, 31 Mar 2009 17:09:31 GMT
  Server: Apache
  X-Powered-By: PHP/5.1.6
  Set-Cookie: PHPSESSID=vpdj646m74m8l03u8khru64fr1; path=/
  Expires: Thu, 19 Nov 1981 08:52:00 GMT
  Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  Pragma: no-cache
  Set-Cookie: OAID=b3427be14c171ba4c8a9ef4f6a4a718d; expires=Wed, 31-Mar-010 17:09:31 GMT; path=/
  P3P: CP="CUR ADM OUR NOR STA NID"
  Connection: close
  Content-Type: text/html; charset=ISO-8859-1
  Content-Language: pt
Length: unspecified [text/html]

This is the capture with wireshark:

No. Time Source Destination Protocol Info
   7562 44.471572 w.x.y.z 85.88.134.195 HTTP GET / HTTP/1.0

Frame 7562 (742 bytes on wire, 742 bytes captured)
Ethernet II, Src: Micro-St_41:bf:60 (00:19:db:41:bf:60), Dst: Nortel_3a:00:43 (00:1c:17:3a:00:43)
Internet Protocol, Src: w.x.y.z (w.x.y.z), Dst: 85.88.134.195 (85.88.134.195)
Transmission Control Protocol, Src Port: 35965 (35965), Dst Port: http (80), Seq: 1, Ack: 1, Len: 676
    Source port: 35965 (35965)
    Destination port: http (80)
    Sequence number: 1 (relative sequence number)
    [Next sequence number: 677 (relative sequence number)]
    Acknowledgement number: 1 (relative ack number)
    Header length: 32 bytes
    Flags: 0x18 (PSH, ACK)
    Window size: 5888 (scaled)
    Checksum: 0x7246 [correct]
    Options: (12 bytes)
Hypertext Transfer Protocol
    GET / HTTP/1.0\r\n
    Host: www.acp.pt\r\n
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8\r\n
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n
    Accept-Language: en-us,en;q=0.5\r\n
    Accept-Encoding: gzip,deflate\r\n
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
    Keep-Alive: 300\r\n
    Cookie: OAID=85d42a4578c83aec5c49fcf529626d18; __utma=10858660.1732473768.1237559664.1237559664.1237559664.1; __utmz=10858660.1237559664.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)\r\n
    Via: 1.1 bruno-guerreiro.dsii.ine.pt (squid/3.0.STABLE13)\r\n
    X-Forwarded-For: a.b.c.d\r\n
    Cache-Control: max-age=259200\r\n
    Connection: keep-alive\r\n
    \r\n

No. Time Source Destination Protocol Info
   7596 44.618841 w.x.y.z 85.88.134.195 HTTP GET / HTTP/1.0

Frame 7596 (742 bytes on wire, 742 bytes captured)
Ethernet II, Src: Micro-St_41:bf:60 (00:19:db:41:bf:60), Dst: Nortel_3a:00:43 (00:1c:17:3a:00:43)
Internet Protocol, Src: w.x.y.z (w.x.y.z), Dst: 85.88.134.195 (85.88.134.195)
Transmission Control Protocol, Src Port: 36135 (36135), Dst Port: http (80), Seq: 1, Ack: 1, Len: 676
    Source port: 36135 (36135)
    Destination port: http (80)
    Sequence number: 1 (relative sequence number)
    [Next sequence number: 677 (relative sequence number)]
    Acknowledgement number: 1 (relative ack number)
    Header length: 32 bytes
    Flags: 0x18 (PSH, ACK)
    Window size: 5888 (scaled)
    Checksum: 0xb54e [correct]
    Options: (12 bytes)
Hypertext Transfer Protocol
    GET / HTTP/1.0\r\n
    Host: www.acp.pt\r\n
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8\r\n
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n
    Accept-Language: en-us,en;q=0.5\r\n
    Accept-Encoding: gzip,deflate\r\n
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
    Keep-Alive: 300\r\n
    Cookie: OAID=85d42a4578c83aec5c49fcf529626d18; __utma=10858660.1732473768.1237559664.1237559664.1237559664.1; __utmz=10858660.1237559664.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)\r\n
    Via: 1.1 bruno-guerreiro.dsii.ine.pt (squid/3.0.STABLE13)\r\n
    X-Forwarded-For: a.b.c.d\r\n
    Cache-Control: max-age=259200\r\n
    Connection: keep-alive\r\n
    \r\n

No. Time Source Destination Protocol Info
   7605 44.717636 w.x.y.z 85.88.134.195 HTTP GET / HTTP/1.0

Frame 7605 (742 bytes on wire, 742 bytes captured)
Ethernet II, Src: Micro-St_41:bf:60 (00:19:db:41:bf:60), Dst: Nortel_3a:00:43 (00:1c:17:3a:00:43)
Internet Protocol, Src: w.x.y.z (w.x.y.z), Dst: 85.88.134.195 (85.88.134.195)
Transmission Control Protocol, Src Port: 48200 (48200), Dst Port: http (80), Seq: 1, Ack: 1, Len: 676
    Source port: 48200 (48200)
    Destination port: http (80)
    Sequence number: 1 (relative sequence number)
    [Next sequence number: 677 (relative sequence number)]
    Acknowledgement number: 1 (relative ack number)
    Header length: 32 bytes
    Flags: 0x18 (PSH, ACK)
    Window size: 5888 (scaled)
    Checksum: 0x4c17 [correct]
    Options: (12 bytes)
Hypertext Transfer Protocol
    GET / HTTP/1.0\r\n
    Host: www.acp.pt\r\n
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8\r\n
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n
    Accept-Language: en-us,en;q=0.5\r\n
    Accept-Encoding: gzip,deflate\r\n
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
    Keep-Alive: 300\r\n
    Cookie: OAID=85d42a4578c83aec5c49fcf529626d18; __utma=10858660.1732473768.1237559664.1237559664.1237559664.1; __utmz=10858660.1237559664.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)\r\n
    Via: 1.1 bruno-guerreiro.dsii.ine.pt (squid/3.0.STABLE13)\r\n
    X-Forwarded-For: a.b.c.d\r\n
    Cache-Control: max-age=259200\r\n
    Connection: keep-alive\r\n
    \r\n

Any ideas?

Bruno Guerreiro

Instituto Nacional de Estatística
DMSI Departamento de Metodologia e Sistemas de Informação
Tel: +351 21 842 61 00
Received on Tue Mar 31 2009 - 20:49:10 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 01 2009 - 12:00:02 MDT