FetchError : req.body read error / backend write error

Per Buer perbu at varnish-software.com
Mon Nov 2 17:31:46 CET 2015


Hi,

Your connection is being reset by the backend (the peer). You need to go
debug the backend.

Per.

On Mon, Nov 2, 2015 at 4:23 PM, Nicolas Delmas <colas.delmas at gmail.com>
wrote:

> Hello,
>
> Sometimes I get backend_fetch_failed for some URL.
> This URL is called by AJAX in POST method.
>
> The response of this call is empty because it's just log and the
> content-length = 20.
> And backend response status code = 200
>
>
> I don't get the error all time, for exemple I can't reproduce from my
> browser.
>
> I get this error in through std.syslog :
>
> -   BereqMethod    POST
> -   BereqURL       /proxy.php?xdp_path=http%3A%2F%2Fmonsite.com%2Fcf_log.php
> -   BereqProtocol  HTTP/1.1
> -   BereqHeader    Accept: application/json, text/javascript, */*; q=0.01
> -   BereqHeader    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
> -   BereqHeader    X-Requested-With: XMLHttpRequest
> -   BereqHeader    Referer:
> -   BereqHeader    Accept-Language: fr-FR,fr;q=0.5
> -   BereqHeader    Accept-Encoding: gzip, deflate
> -   BereqHeader    User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; LCJB; rv:11.0) like Gecko
> -   BereqHeader    Content-Length: 635
> -   BereqHeader    DNT: 1
> -   BereqHeader    Cache-Control: no-cache
> -   BereqHeader    Cookie: fofirdId=c652b193-cbff-4a0e-abdf-836087b20393; xtvrn=$390974$; xtan390974=-; xtant390974=1; CF_SESSION_SYNC=1446135592
> -   BereqHeader    X-UA-Device: pc
> -   BereqHeader    X-UA-Device-Simplified: desktop
> -   BereqHeader    Via: 1.1 varnish-v4
> -   BereqHeader    grace: none
> -   BereqHeader    X-Forwarded-For: xx.xx.xx.xx, xx.xx.xx.xx
> -   BereqHeader    Host: monsite.com
> -   BereqHeader    X-Pass: POST request
> -   BereqHeader    X-Pass-D: POST request - hash - Pass
> -   BereqHeader    X-Varnish: 2031880
> -   VCL_call       BACKEND_FETCH
> -   VCL_return     fetch
> -   BackendOpen    258 backend1(xx.xx.xx.xx,,80) xx.xx.xx.xx 40582
> -   Backend        258 backend backedn1(xx.xx.xx.xx,,80)
> -   FetchError     req.body read error: 104 (Connection reset by peer)
> -   FetchError     backend write error: 104 (Connection reset by peer)
>
> Thank you.
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
*Per Buer*
CTO | Varnish Software AS
Cell: +47 95839117
We Make Websites Fly!
www.varnish-software.com
<http://info.varnish-software.com/signature>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20151102/7e7b3be9/attachment.html>


More information about the varnish-misc mailing list