503 after a 304 backend response.
Yiannis Karayiannidis
yianniska at gmail.com
Fri Jul 15 00:24:04 CEST 2016
Hi all,
I've got a "problem" with varnish 4.1.3 with error 503 after a backend
response with 304
I believe my mistake is that i try to cache a URL for which the backend
send 304 response and that is something unallowed.
Is that correct?
If not was where is the problem?
Regards
Yiannis
p.s I do not have the same problem with varnish 4.0.2
p.s.2 Sorry for sending the previous mail to the wrong thread....
The details from varnishlog
* << Request >> 721018
- Begin req 721017 rxreq
- Timestamp Start: 1468531337.961047 0.000000 0.000000
- Timestamp Req: 1468531337.961047 0.000000 0.000000
- ReqStart 192.168.50.80 55518
- ReqMethod GET
- ReqURL
/event/diff?id=707658&rev=925&country=ES&LANG=en&xfarm=2&_=1468531333090
- ReqProtocol HTTP/1.1
- ReqHeader Host: www.xxx.ge
- ReqHeader X-Forwarded-For: 192.168.55.145
- ReqHeader X-Forwarded-Proto: https
- ReqHeader Connection: close
- ReqHeader Accept: */*
- ReqHeader X-Requested-With: XMLHttpRequest
- ReqHeader User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
- ReqHeader Referer: https://www.xxx.ge/event/index/707658
- ReqHeader Accept-Encoding: gzip, deflate, sdch, br
- ReqHeader Accept-Language: en-US,en;q=0.8,el;q=0.6
- ReqHeader Cookie: __cfduid=d6091c5456123ad4d97ceda2ab91445248766;
LANG=en; walkthrough=1; LANG=en; _cb_ls=1;
optimizelyEndUserId=oeu1459345286386r0.9749153622397837;
optimizelySegments=%7B%225389070408%22%3A%22false%22%2C%225372042113%22%3A%22gc%22%2C%225391
- ReqUnset X-Forwarded-For: 192.168.55.145
- ReqHeader X-Forwarded-For: 192.168.55.145, 192.168.50.80
- VCL_call RECV
- ReqUnset Cookie: __cfduid=d6091c5456123ad4d97ceda2ab91445248766;
LANG=en; walkthrough=1; LANG=en; _cb_ls=1;
optimizelyEndUserId=oeu1459345286386r0.9749153622397837;
optimizelySegments=%7B%225389070408%22%3A%22false%22%2C%225372042113%22%3A%22gc%22%2C%225391
- ReqHeader Cookie: __cfduid=d6091c5456123ad4d97ceda2ab91445248766;
LANG=en; walkthrough=1; LANG=en; _cb_ls=1;
optimizelyEndUserId=oeu1459345286386r0.9749153622397837;
optimizelySegments=%7B%225389070408%22%3A%22false%22%2C%225372042113%22%3A%22gc%22%2C%225391
- ReqURL /event/diff?id=707658&rev=925&country=ES&LANG=en&xfarm=2
- ReqUnset Cookie: __cfduid=d6091c5456123ad4d97ceda2ab91445248766;
LANG=en; walkthrough=1; LANG=en; _cb_ls=1;
optimizelyEndUserId=oeu1459345286386r0.9749153622397837;
optimizelySegments=%7B%225389070408%22%3A%22false%22%2C%225372042113%22%3A%22gc%22%2C%225391
- VCL_return hash
- ReqUnset Accept-Encoding: gzip, deflate, sdch, br
- ReqHeader Accept-Encoding: gzip
- VCL_call HASH
- ReqHeader X-defHash:
/event/diff?id=707658&rev=925&country=ES&LANG=en&xfarm=2
- ReqUnset X-defHash:
/event/diff?id=707658&rev=925&country=ES&LANG=en&xfarm=2
- ReqHeader X-defHash:
/event/diff?id=707658&rev=925&country=ES&LANG=en&xfarm=2 + www.xxx.ge
- VCL_return lookup
- VCL_call MISS
- VCL_return fetch
- Link bereq 721019 fetch
- Timestamp Fetch: 1468531337.963143 0.002097 0.002097
- Timestamp Process: 1468531337.963165 0.002118 0.000021
- RespHeader Date: Thu, 14 Jul 2016 21:22:17 GMT
- RespHeader Server: Varnish
- RespHeader X-Varnish: 721018
- RespProtocol HTTP/1.1
- RespStatus 503
- RespReason Service Unavailable
- RespReason Service Unavailable
- VCL_call SYNTH
- RespHeader Content-Type: text/html; charset=utf-8
- RespHeader Retry-After: 5
- VCL_return deliver
- RespHeader Content-Length: 280
- Storage malloc Transient
- Debug "RES_MODE 2"
- RespHeader Connection: close
- Timestamp Resp: 1468531337.963247 0.002200 0.000082
- ReqAcct 1077 0 1077 205 280 485
- End
* << BeReq >> 721019
- Begin bereq 721018 fetch
- Timestamp Start: 1468531337.961169 0.000000 0.000000
- BereqMethod GET
- BereqURL /event/diff?id=707658&rev=925&country=ES&LANG=en&xfarm=2&
- BereqProtocol HTTP/1.1
- BereqHeader Host: www.xxx.ge
- BereqHeader X-Forwarded-Proto: https
- BereqHeader Accept: */*
- BereqHeader X-Requested-With: XMLHttpRequest
- BereqHeader User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
- BereqHeader Referer: https://www.xxx.ge/event/index/707658
- BereqHeader Accept-Language: en-US,en;q=0.8,el;q=0.6
- BereqHeader X-Forwarded-For: 192.168.55.145, 172.16.50.80
- BereqHeader Accept-Encoding: gzip
- BereqHeader X-defHash:
/event/diff?id=707658&rev=925&country=ES&LANG=en&xfarm=2 + www.xxx.ge
- BereqHeader X-Varnish: 721019
- VCL_call BACKEND_FETCH
- VCL_return fetch
- BackendOpen 28 boot.wb2_mob_stx_spo_gr 172.16.50.132 80 172.16.50.80
48508
- BackendStart 192.168.50.132 80
- Timestamp Bereq: 1468531337.961247 0.000078 0.000078
- Timestamp Beresp: 1468531337.963066 0.001897 0.001819
- BerespProtocol HTTP/1.1
- BerespStatus 304
- BerespReason Not Modified
- BerespHeader Cache-Control: private
- BerespHeader Server: Microsoft-IIS/8.5
- BerespHeader Set-Cookie: LANG=en; expires=Fri, 14-Jul-2017 21:22:17
GMT; path=/; secure; HttpOnly
- BerespHeader X-AspNetMvc-Version: 5.2
- BerespHeader X-AspNet-Version: 4.0.30319
- BerespHeader X-Powered-By: ASP.NET
- BerespHeader X-Farm: 12
- BerespHeader Date: Thu, 14 Jul 2016 21:22:17 GMT
- TTL RFC 120 10 -1 1468531338 1468531338 1468531337 0 0
- Error 304 response but not conditional fetch
- BackendClose 28 boot.wb2_mob_stx_spo_gr
- BereqAcct 574 0 574 293 0 293
- End
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160715/2310405b/attachment.html>
More information about the varnish-misc
mailing list