Hi,<div><br>Have you specified long timeouts in your backend declaration?</div><div><br></div><div><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); "><pre style="overflow-x: auto; overflow-y: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(238, 255, 204); color: rgb(34, 34, 34); line-height: 15px; border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; border-top-color: rgb(170, 204, 153); border-bottom-color: rgb(170, 204, 153); border-left-style: none; border-left-width: initial; border-left-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; ">
backend www {
.host = "<a href="http://www.example.com">www.example.com</a>";
.port = "http";
.connect_timeout = 1s;
.first_byte_timeout = 5s;
.between_bytes_timeout = 2s;
}</pre></span></div><div><br>Stew<br><br><div class="gmail_quote">On 6 October 2011 13:14, Jan Olausson <span dir="ltr"><<a href="mailto:janneolausson@gmail.com">janneolausson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi!<br>
<br>
I have a problem with varnish closes the connection to haproxy infront of it.<br>
Haproxy reports a 502 error after exactly 60 seconds after it begun handling the request.<br>
<br>
If I skip both haproxy and varnish and let nginx handle the request directly, everything works although it takes 4-5 minutes to complete the request due to the complexity of the work that has to be done.<br>
<br>
Anyone here have a suggestion what I shall try?<br>
Varnish version is: varnish-3.0.0 revision 3bd5997<br>
<br>
Best regards<br>
Jan Olausson<br>
Sweden<br>
<br>
<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div><br></div>