Varnish shows 503 meanwhile Apache returns CSV correctly

Rubén Ortiz ruben.ortiz at rsystem.com
Mon Sep 5 16:27:12 CEST 2011


Hi all again, and thanks by your interest!

I have executed this command (I don't have very hugh experience on
varnishlog)

 15 SessionOpen  c 217.113.245.102 51356 :80
   15 ReqStart     c 217.113.245.102 51356 461182411
   15 RxRequest    c GET
   15 RxURL        c /index.php/pc_deporv/customer/exportCsv/
   15 RxProtocol   c HTTP/1.1
   15 RxHeader     c Host: www.deporvillage.com
   15 RxHeader     c User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1;
es-ES; rv:1.9.2.21) Gecko/20110830 Firefox/3.6.21
   15 RxHeader     c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
   15 RxHeader     c Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
   15 RxHeader     c Accept-Encoding: gzip,deflate
   15 RxHeader     c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
   15 RxHeader     c Keep-Alive: 115
   15 RxHeader     c Connection: keep-alive
   15 RxHeader     c Referer:
http://www.deporvillage.com/index.php/pc_deporv/customer/
   15 RxHeader     c Cookie:
__utma=266457499.736506096.1313500965.1315222103.1315229776.44;
__utmz=266457499.1313500965.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
_bkuid=5996; _bkaui=BK-212245503780-2-459702727612; __utmc=266457499;
adminhtml=jtrc6bdutlclu5vhnks684n4
   15 VCL_call     c recv pass
   15 VCL_call     c hash hash
   15 VCL_call     c pass pass
   15 Backend      c 16 default default
   15 TTL          c 461182411 RFC 0 1315231825 1315231804 375007920 0 0
   15 VCL_call     c fetch deliver
   15 ObjProtocol  c HTTP/1.1
   15 ObjStatus    c 200
   15 ObjResponse  c OK
   15 ObjHeader    c Date: Mon, 05 Sep 2011 14:10:04 GMT
   15 ObjHeader    c Server: Apache/2.2.3 (CentOS)
   15 ObjHeader    c X-Powered-By: PHP/5.2.10
   15 ObjHeader    c Expires: Thu, 19 Nov 1981 08:52:00 GMT
   15 ObjHeader    c Cache-Control: must-revalidate, post-check=0,
pre-check=0
   15 ObjHeader    c Pragma: public
   15 ObjHeader    c Content-Length: 728498
   15 ObjHeader    c Content-Disposition: attachment; filename=customers.csv
   15 ObjHeader    c Last-Modified: Mon, 05 Sep 2011 14:10:25 +0000
   15 ObjHeader    c Content-Encoding: gzip
   15 ObjHeader    c Vary: Accept-Encoding,User-Agent
   15 ObjHeader    c Content-Type: application/octet-stream
   15 FetchError   c straight read_error: 0
   15 VCL_call     c error deliver
   15 VCL_call     c deliver deliver
   15 TxProtocol   c HTTP/1.1
   15 TxStatus     c 503
   15 TxResponse   c Service Unavailable
   15 TxHeader     c Server: Varnish
   15 TxHeader     c Retry-After: 0
   15 TxHeader     c Content-Type: text/html; charset=utf-8
   15 TxHeader     c Content-Length: 418
   15 TxHeader     c Date: Mon, 05 Sep 2011 14:10:30 GMT
   15 TxHeader     c X-Varnish: 461182411
   15 TxHeader     c Age: 27
   15 TxHeader     c Via: 1.1 varnish
   15 TxHeader     c Connection: close
   15 TxHeader     c X-Cache: MISS
   15 Length       c 418
   15 ReqEnd       c 461182411 1315231804.141705036 1315231830.895998955
0.000108004 26.754230976 0.000062943


There are some more entries but I'm not sure if they are important. I will
glad if we will be able to make varnish pass this url always to BACKEND. I
understand this a little bit tricky :-/

Thanks guys!


On Mon, Sep 5, 2011 at 4:01 PM, Andreas Plesner Jacobsen <apj at mutt.dk>wrote:

> On Mon, Sep 05, 2011 at 03:55:45PM +0200, Rubén Ortiz wrote:
> >
> > yes, I have tried it but different way. I stopped Varnish service and
> then I
> > started Apache to listen in 80. And yes, I was able then to download CSV
> > file. So Apache/PHP is working fine, it returns csv file. And don't know
> why
> > Varnish returns a Guru Meditation.
>
> Post a varnishlog (varnishlog -o) of a failing request.
>
> --
> Andreas
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Rubén Ortiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110905/56047f0c/attachment-0003.html>


More information about the varnish-misc mailing list