FetchError : req.body read error / backend write error

Nicolas Delmas colas.delmas at gmail.com
Mon Nov 2 16:23:08 CET 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20151102/d1ccf355/attachment.html>


More information about the varnish-misc mailing list