<div dir="ltr"><div>Hi Martynas,</div><div><br></div><div>Can you start "varnishlog -g request", then try to send your failing request, and show us the logs?</div><div><br></div><div>Kind regards,</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- <br></div><div>Guillaume Quintard<br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 23, 2024 at 5:30 AM Martynas Jusevičius <<a href="mailto:martynas@atomgraph.com">martynas@atomgraph.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Forgot to mention: using varnish:7.3.0 Docker image.<br>
<br>
On Wed, Oct 23, 2024 at 2:26 PM Martynas Jusevičius<br>
<<a href="mailto:martynas@atomgraph.com" target="_blank">martynas@atomgraph.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I have code making a lot of PUT and POST requests to Varnish.<br>
> I have noticed that quite a few of those fail due to a closed<br>
> connection, and Apache HTTP Client hangs for a while (10-30s,<br>
> sometimes more) around the same time.<br>
><br>
> If I remove Varnish from the setup and write directly to the backend,<br>
> the errors go away completely. So I'm confident the issue is<br>
> Varnish-specific.<br>
><br>
> The VCL is rather trivial and I don't think it's the core of the<br>
> problem, but I cannot be sure. It can be found here:<br>
> <a href="https://github.com/AtomGraph/LinkedDataHub/blob/develop/platform/varnish.vcl.template" rel="noreferrer" target="_blank">https://github.com/AtomGraph/LinkedDataHub/blob/develop/platform/varnish.vcl.template</a><br>
><br>
> How would I go about debugging this? What should I look for in the<br>
> logs? Your help is much appreciated.<br>
><br>
> Best,<br>
><br>
> Martynas<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div>