<div dir="ltr">I have that defined as 2 minutes.<div>backend default {<br> .host = "127.0.0.1";<br> .port = "8080";<br> .first_byte_timeout = 120s;<br>}<br></div><div><br></div><div>That's why this error is puzzling.</div><div><br></div><div>Any other timeouts ( connect ? ) etc to look at ?</div><div><br></div><div>Also, in the above dump, how much time did it take ?</div><div><br></div><div>To me it looks like it was closed within a second ?</div><div><br></div><div><br></div><div>- BackendOpen 32 reload_2021-04-13T130756.default 127.0.0.1 8080 127.0.0.1 56176<br>- BackendStart 127.0.0.1 8080<br>- Timestamp Bereq: 1618461577.074387 0.281276 0.281276<br>- FetchError http first read error: EOF<br>- BackendClose 32 reload_2021-04-13T130756.default<br>- Timestamp Beresp: 1618461577.074430 0.281319 0.000043<br>- Timestamp Error: 1618461577.074434 0.281323 0.000004<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 15 Apr 2021 at 11:42, Frands Bjerring Hansen <frands.hansen@team.blue> 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">
<div lang="en-DK" style="overflow-wrap: break-word;">
<div class="gmail-m_1986252962432403513WordSection1">
<p class="MsoNormal"><span lang="EN-US">Look at the fetch error:
</span><span>http first read error: EOF<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Perhaps the backend closed the connection before sending any data or the first_byte_timeout defined for the backend has been reached. The default is 60 seconds.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="DA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<table style="width:300px" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="font-size:12pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top"> </td></tr>
<tr>
<td style="font-size:12pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top"><strong>/ Frands Bjerring Hansen</strong></td></tr>
<tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top">Head of Technology, Linux</td></tr>
<tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top">Office: +45 70 40 00 00</td></tr>
<tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top"></td></tr>
<tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top"><a style="color:rgb(28,63,110)" href="mailto:frands.hansen@team.blue" target="_blank">frands.hansen@team.blue</a></td></tr>
<tr>
<td valign="top"> </td></tr>
<tr>
<td style="font-size:12pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px;color:rgb(28,63,110)" valign="top"><strong><strong></strong>Operations - Linux</strong></td></tr>
<tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top">team.blue Denmark A/S</td></tr>
<tr>
</tr><tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top">Højvangen 4</td></tr>
<tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top">8660 Skanderborg</td></tr>
<tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top">Denmark</td></tr>
<tr>
</tr><tr>
<td style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri;width:300px" valign="top">CVR: 29412006</td></tr>
<tr>
<td valign="top"> </td></tr>
<tr>
<td valign="top"><img border="0" src="cid:178d42eac42d5a0112f1"></td></tr></tbody></table>
<p style="font-size:9pt;font-family:"Helvetica Neue","Open Sans",Calibri"> </p><p class="MsoNormal" style="margin-bottom:12pt">On 15/04/2021, 08.08, "varnish-misc" <varnish-misc-bounces+fbh=<a href="mailto:zitcom.dk@varnish-cache.org" target="_blank">zitcom.dk@varnish-cache.org</a>> wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I need some help understanding why the below 503 is happening.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am logging 503s to a separate file and then querying as below.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">varnishlog -q "BerespStatus eq 503" -w /whatever/file<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">varnishlog -r /whatever/file<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">What's going wrong here ?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">What should I be looking at ?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Please let me know.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">* << BeReq >> 45926757<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- Begin bereq 45926756 pass<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- Timestamp Start: 1618461576.793111 0.000000 0.000000<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqMethod POST<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqURL /index.php?&u=85&tr=aa<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqProtocol HTTP/1.1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader X-Forwarded-Proto: https<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader X-Forwarded-Port: 443<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader Host: <a href="http://graph.com" target="_blank">graph.com</a> <<a href="http://graph.com" target="_blank">http://graph.com</a>><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader X-Amzn-Trace-Id: Root=1-xxx<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader Content-Length: 793<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader sec-ch-ua: "Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader accept: application/json, text/javascript, */*; q=0.01<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader sec-ch-ua-mobile: ?0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader content-type: application/x-www-form-urlencoded; charset=UTF-8<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader origin: <a href="https://mandy..com" target="_blank">https://mandy..com</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader sec-fetch-site: same-site<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader sec-fetch-mode: cors<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader sec-fetch-dest: empty<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader referer: <a href="https://mandy.com/" target="_blank">https://mandy.com/</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader accept-encoding: gzip, deflate, br<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader accept-language: en-US,en;q=0.9<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader X-Forwarded-For: 103.67.157.20, 10.0.0.170<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader browser: other<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader serverIp: 10.0.3.237<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader serverId: abc01<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqHeader X-Varnish: 45926757<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- VCL_call BACKEND_FETCH<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- VCL_return fetch<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BackendOpen 32 reload_2021-04-13T130756.default 127.0.0.1 8080 127.0.0.1 56176<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BackendStart 127.0.0.1 8080<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- Timestamp Bereq: 1618461577.074387 0.281276 0.281276<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- FetchError http first read error: EOF<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BackendClose 32 reload_2021-04-13T130756.default<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- Timestamp Beresp: 1618461577.074430 0.281319 0.000043<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- Timestamp Error: 1618461577.074434 0.281323 0.000004<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BerespProtocol HTTP/1.1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BerespStatus 503<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BerespReason Service Unavailable<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BerespReason Backend fetch failed<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BerespHeader Date: Thu, 15 Apr 2021 04:39:37 GMT<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BerespHeader Server: Varnish<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- VCL_call BACKEND_ERROR<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BerespHeader Content-Type: text/html; charset=utf-8<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BerespHeader Retry-After: 5<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- VCL_return deliver<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- Storage malloc Transient<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- ObjProtocol HTTP/1.1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- ObjStatus 503<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- ObjReason Backend fetch failed<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- ObjHeader Date: Thu, 15 Apr 2021 04:39:37 GMT<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- ObjHeader Server: Varnish<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- ObjHeader Content-Type: text/html; charset=utf-8<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- ObjHeader Retry-After: 5<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- Length 1288<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- BereqAcct 948 793 1741 0 0 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- End<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</blockquote></div>