File served without vcl_fetch() being invoked.
Andreas Plesner Jacobsen
apj at mutt.dk
Thu Mar 1 11:19:32 CET 2012
On Thu, Mar 01, 2012 at 11:09:25AM +0100, Vedad KAJTAZ, Kigo Inc. wrote:
> >>URL /img/cfbc7c98bf8f0a9081a5178b26582ab4090571844992f9fefa30a1fa20fa3668.png
> >>is fetched from backend by varnish and received by client, but is
> >>neither logged by syslog (hence, vcl_fetch was never invoked) nor by
> >I don't see this URL in the varnishlog. Are you sure the client is not fetching
> >directly from the backend?
> Yes, I am sure, and that's the point. The backend log shows proxy
> (varnish) IP as source:
> 184.108.40.206 - - [01/Mar/2012:09:25:53 +0100] "GET /img/cfbc7c98bf8f0a9081a5178b26582ab4090571844992f9fefa30a1fa20fa3668.png
> HTTP/1.1" 200 196534 "http://marais-apartments.com/le_marais.html"
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like
> Gecko) Chrome/18.0.1025.39 Safari/535.19"
> The client's IP is 220.127.116.11. As stated in original message,
> there is no proxy or whatsoever between client, varnish and backend.
I would look at two things:
* varnishlog -O - varnishlog may not think it's a complete request
* X-Varnish received at the backend. Does this match the sequence in
varnishlog? If not, you're hitting a different varnishd than the one you're
More information about the varnish-misc