On Thu, Aug 27, 2009 at 04:29:13PM +0200, Gerald Leier wrote:
> After setting up 2 servers(one returning the requested page
> the other returning 500 errors) i tested a bit but i have
> some bug in there i cant get a grip on.
> 
> after the first node returns a http 500 error varnish continues with
> the second node....here is the part where it stops doing what i want:

(...)
> 11 TxHeader     b X-Forwarded-For: 10.21.1.40
> 11 BackendClose b test2
> 10 VCL_call     c error
(...)

If the connection failed, like it seems to have done here, you do not end
up in VCL fetch. Note how varnish doesn't receive any headers from the web
server (no RxHeader for the second backend).

Varnish is unable to connect properly to your second server and that's
what's causing problems.

Varnishstat will probably reveal backend failures.

-- 
Kristian Lyngstøl
Redpill Linpro AS
Tlf: +47 21544179
Mob: +47 99014497

Attachment: pgp9IS7cm68en.pgp
Description: PGP signature

_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to