Varnish Error 503 Backend fetch failed

Guilleret Florian guilleret.florian at gmail.com
Mon Oct 17 09:23:20 CEST 2016


Hi,

I'm getting weird 503 error on varnish.

On page with ESI ( not on every page of my website ) i got Error 503
Backend fetch failed.

On varnish log i can saw FetchError http read error: overflow :


* << BeReq >> 9
- Begin bereq 8 fetch
- Timestamp Start: 1476370852.736703 0.000000 0.000000
- BereqMethod GET
- BereqURL /pageXXX.html
- BereqProtocol HTTP/1.1
- BereqHeader Host: www.websiteXXXX.com
- BereqHeader User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0)
Gecko/20100101 Firefox/47.0
- BereqHeader Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
- BereqHeader Accept-Language: fr-FR
- BereqHeader Cookie: mage-translation-storage=%7B%7D;
mage-translation-file-version=%7B%7D; mage-cache-storage=%7B%7D;
mage-cache-storage-section-invalidation=%7B%7D; mage-cache-sessid=true;
X-Magento-Vary=f970ba1c8edf4251be121a7535f2ce003b791953; form_key=lV5GbPY6uP
- BereqHeader X-Forwarded-For: 80.74.72.196
- BereqHeader Accept-Encoding: gzip
- BereqHeader X-Varnish: 9
- VCL_call BACKEND_FETCH
- VCL_return fetch
- BackendOpen 53 default(127.0.0.1,,81) 127.0.0.1 59720
- Backend 53 default default(127.0.0.1,,81)
- Timestamp Bereq: 1476370852.736959 0.000256 0.000256
- FetchError http read error: overflow
- BackendClose 53 default(127.0.0.1,,81)
- Timestamp Beresp: 1476370865.707061 12.970358 12.970102
- Timestamp Error: 1476370865.707072 12.970368 0.000011
- BerespProtocol HTTP/1.1
- BerespStatus 503
- BerespReason Service Unavailable
- BerespReason Backend fetch failed
- BerespHeader Date: Thu, 13 Oct 2016 15:01:05 GMT
- BerespHeader Server: Varnish
- VCL_call BACKEND_ERROR
- BerespHeader Content-Type: text/html; charset=utf-8
- BerespHeader Retry-After: 5
- VCL_return deliver
- Storage malloc Transient
- ObjProtocol HTTP/1.1
- ObjStatus 503
- ObjReason Backend fetch failed
- ObjHeader Date: Thu, 13 Oct 2016 15:01:05 GMT
- ObjHeader Server: Varnish
- ObjHeader Content-Type: text/html; charset=utf-8
- ObjHeader Retry-After: 5
- Length 278
- BereqAcct 611 0 611 7767 0 7767
- End


My website is a magento 2. So I suppose this is my issue :

 http://devdocs.magento.com/guides/v2.0/config-guide/varnish/tshoot-varnish-503.html


But even with this option http_resp_hdr_len it doesn't work...

Can anyone know how to debug this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20161017/aeba2612/attachment.html>


More information about the varnish-misc mailing list