Mailing List Archive

truncated page problem
helo

Using varnish with this url:

http://publinet.ac-montpellier.fr/publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=B&Uval_cri1=32405

the page is truncated beginning by

IGN=LEFT><font face='arial' class="libelleDecision">ADMIS </font></TD>
</TR>
<TR class="ligneImpaire">
<TD><font face='arial' class="nomCandidat">BRIGATI
Anne-Marie</font></TD><TD ALIGN=LEFT><font face='arial'
class="libelleDecision">ADMIS </font></TD>
</TR>

( "line break" in html page )

without varnish , direct to the http server there are no problems

I've got this log and a 104 error:

RxRequest c GET
69 RxURL c
/publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=B&Uval_cri1=32405
69 RxProtocol c HTTP/1.1
69 RxHeader c Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/msword, application/vnd.ms-powerpoint,
application/vnd.ms-excel, application/x-shockwave-flash, */*
69 RxHeader c Referer:
http://publinet.ac-montpellier.fr/publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=A&Uval_cri1=32405
69 RxHeader c Accept-Language: fr
69 RxHeader c Accept-Encoding:
69 RxHeader c User-Agent: Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1; .NET CLR 1.1.4322)
69 RxHeader c Host: publinet.ac-montpellier.fr
69 RxHeader c Connection: Keep-Alive
69 VCL_call c recv
69 VCL_return c lookup
69 VCL_call c hash
69 VCL_return c hash
69 Hit c 187404565
69 VCL_call c hit
69 VCL_return c deliver
69 Length c 16143
69 TxProtocol c HTTP/1.1
69 TxStatus c 200
69 TxResponse c OK
69 TxHeader c Date: Mon, 02 Jul 2007 14:13:09 GMT
69 TxHeader c Server: Apache/2.0.52 (Unix) DAV/2
69 TxHeader c Content-Type: text/html; charset=ISO-8859-1
69 TxHeader c Content-Length: 16143
69 TxHeader c X-Varnish: 187476688 187404565
69 TxHeader c Age: 536
69 TxHeader c Via: 1.1 varnish
69 ReqEnd c 187476688 1183386112.545343552 1183386112.545831603
0.000027936 0.000024305 0.000463746
0 StatAddr 90.14.20.225 0 59 20 29 0 0 0 5026 120142
44 HttpError c Received errno 104
44 SessionClose c no request
44 StatSess c 86.206.235.88 4737 0 1 1 0 0 0 152 0
26 ReqStart c 90.28.32.85 1940 187476689

I use varnish 1.0.0.4.

thanks for your help
truncated page problem [ In reply to ]
jean-marc pouchoulon <jean-marc.pouchoulon at ac-montpellier.fr> writes:
> Using varnish with this url:
>
> http://publinet.ac-montpellier.fr/publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=B&Uval_cri1=32405
>
> the page is truncated beginning by
>
> IGN=LEFT><font face='arial' class="libelleDecision">ADMIS </font></TD>
> </TR>
> <TR class="ligneImpaire">
> <TD><font face='arial' class="nomCandidat">BRIGATI
> Anne-Marie</font></TD><TD ALIGN=LEFT><font face='arial'
> class="libelleDecision">ADMIS </font></TD>
> </TR>
>
> ( "line break" in html page )
>
> without varnish , direct to the http server there are no problems
>
> I've got this log and a 104 error:
>
> 69 RxRequest c GET
> 69 RxURL c /publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=B&Uval_cri1=32405
> 69 RxProtocol c HTTP/1.1
> 69 RxHeader c Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/x-shockwave-flash, */*
> 69 RxHeader c Referer: http://publinet.ac-montpellier.fr/publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=A&Uval_cri1=32405
> 69 RxHeader c Accept-Language: fr
> 69 RxHeader c Accept-Encoding:
> 69 RxHeader c User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
> 69 RxHeader c Host: publinet.ac-montpellier.fr
> 69 RxHeader c Connection: Keep-Alive
> 69 VCL_call c recv
> 69 VCL_return c lookup
> 69 VCL_call c hash
> 69 VCL_return c hash
> 69 Hit c 187404565
> 69 VCL_call c hit
> 69 VCL_return c deliver
> 69 Length c 16143
> 69 TxProtocol c HTTP/1.1
> 69 TxStatus c 200
> 69 TxResponse c OK
> 69 TxHeader c Date: Mon, 02 Jul 2007 14:13:09 GMT
> 69 TxHeader c Server: Apache/2.0.52 (Unix) DAV/2
> 69 TxHeader c Content-Type: text/html; charset=ISO-8859-1
> 69 TxHeader c Content-Length: 16143
> 69 TxHeader c X-Varnish: 187476688 187404565
> 69 TxHeader c Age: 536
> 69 TxHeader c Via: 1.1 varnish
> 69 ReqEnd c 187476688 1183386112.545343552 1183386112.545831603 0.000027936 0.000024305 0.000463746

Looks fine to me...

> 0 StatAddr 90.14.20.225 0 59 20 29 0 0 0 5026 120142
> 44 HttpError c Received errno 104
> 44 SessionClose c no request
> 44 StatSess c 86.206.235.88 4737 0 1 1 0 0 0 152 0

#define ECONNRESET 104 /* Connection reset by peer */

but this is a different request, on a different socket. Could you send
me a full log? Start 'varnishlog -w full.log', start varnishd, request
the problem page a couple of times (so I can see both a cache miss and a
cache hit), then stop varnishd, stop varnishlog and send me the file.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
truncated page problem [ In reply to ]
Bonjour,
the problem is not related to varnish , disable compression and all is
running.

Thanks for your time and work et sorry for this false alarm

jean-marc.



Dag-Erling Sm?rgrav a ?crit :
> jean-marc pouchoulon <jean-marc.pouchoulon at ac-montpellier.fr> writes:
>
>> Using varnish with this url:
>>
>> http://publinet.ac-montpellier.fr/publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=B&Uval_cri1=32405
>>
>> the page is truncated beginning by
>>
>> IGN=LEFT><font face='arial' class="libelleDecision">ADMIS </font></TD>
>> </TR>
>> <TR class="ligneImpaire">
>> <TD><font face='arial' class="nomCandidat">BRIGATI
>> Anne-Marie</font></TD><TD ALIGN=LEFT><font face='arial'
>> class="libelleDecision">ADMIS </font></TD>
>> </TR>
>>
>> ( "line break" in html page )
>>
>> without varnish , direct to the http server there are no problems
>>
>> I've got this log and a 104 error:
>>
>> 69 RxRequest c GET
>> 69 RxURL c /publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=B&Uval_cri1=32405
>> 69 RxProtocol c HTTP/1.1
>> 69 RxHeader c Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/x-shockwave-flash, */*
>> 69 RxHeader c Referer: http://publinet.ac-montpellier.fr/publinet/Resultats?Unom_ecr=5&Ubase=publi_13&Utyp_aff=Resultats&Unum_cri=2&Uval_cri=A&Uval_cri1=32405
>> 69 RxHeader c Accept-Language: fr
>> 69 RxHeader c Accept-Encoding:
>> 69 RxHeader c User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
>> 69 RxHeader c Host: publinet.ac-montpellier.fr
>> 69 RxHeader c Connection: Keep-Alive
>> 69 VCL_call c recv
>> 69 VCL_return c lookup
>> 69 VCL_call c hash
>> 69 VCL_return c hash
>> 69 Hit c 187404565
>> 69 VCL_call c hit
>> 69 VCL_return c deliver
>> 69 Length c 16143
>> 69 TxProtocol c HTTP/1.1
>> 69 TxStatus c 200
>> 69 TxResponse c OK
>> 69 TxHeader c Date: Mon, 02 Jul 2007 14:13:09 GMT
>> 69 TxHeader c Server: Apache/2.0.52 (Unix) DAV/2
>> 69 TxHeader c Content-Type: text/html; charset=ISO-8859-1
>> 69 TxHeader c Content-Length: 16143
>> 69 TxHeader c X-Varnish: 187476688 187404565
>> 69 TxHeader c Age: 536
>> 69 TxHeader c Via: 1.1 varnish
>> 69 ReqEnd c 187476688 1183386112.545343552 1183386112.545831603 0.000027936 0.000024305 0.000463746
>>
>
> Looks fine to me...
>
>
>> 0 StatAddr 90.14.20.225 0 59 20 29 0 0 0 5026 120142
>> 44 HttpError c Received errno 104
>> 44 SessionClose c no request
>> 44 StatSess c 86.206.235.88 4737 0 1 1 0 0 0 152 0
>>
>
> #define ECONNRESET 104 /* Connection reset by peer */
>
> but this is a different request, on a different socket. Could you send
> me a full log? Start 'varnishlog -w full.log', start varnishd, request
> the problem page a couple of times (so I can see both a cache miss and a
> cache hit), then stop varnishd, stop varnishlog and send me the file.
>
> DES
>
truncated page problem [ In reply to ]
jean-marc pouchoulon <jean-marc.pouchoulon at ac-montpellier.fr> writes:
> the problem is not related to varnish , disable compression and all is
> running.

Ah, it *is* related to Varnish: 1.0.4 doesn't support Vary: headers.
Compression works fine with trunk, and with the upcoming 1.1.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no