[Varnish] #1220: Temporary gzip issue: Invalid Gzip data: incorrect header check

Varnish varnish-bugs at varnish-cache.org
Fri Oct 19 14:06:33 CEST 2012


#1220: Temporary gzip issue: Invalid Gzip data: incorrect header check
-------------------------+--------------------
 Reporter:  jinjian.1@…  |       Owner:
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:
Component:  varnishd     |     Version:  3.0.2
 Severity:  normal       |  Resolution:
 Keywords:  stream Gzip  |
-------------------------+--------------------
Changes (by tfheen):

 * priority:  high => normal
 * component:  varnishncsa => varnishd
 * severity:  critical => normal


Old description:

> Stream is enabled to forward response ASAP.
>
> log below, i removed the host name because of potential business secret
> policy.
>
>  79 TxRequest b GET
>    79 TxURL b
> /504403b47a6c8777da011aaf/*******.com/v~80/_images/collections/3/4856.jpg
>    79 TxProtocol b HTTP/1.1
>    79 TxHeader b Host: system-2.yottaa.net
>    79 TxHeader b User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X
> 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1
> Safari/536.26.14
>    79 TxHeader b Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>    79 TxHeader b Accept-Language: en-us
>    79 TxHeader b Cookie: yvts=1350566984282;
> km_ai=6SqgaCrNmzK%2FyJRnVEWlkrbiNBE%3D; km_lv=1348671534; km_uq=;
> mp_3aa8ae394f21ef02134f93c80b02d5bd_mixpanel=%7B%22distinct_id%22%3A%20%2213a03166e738a7-05067b594-376c6050-1fa400-13a03166e741115%22%2C%22%24initial_referrer%22
>    79 TxHeader b X-Host: s-ff0102-504403b47a6c8777da011aaf-0.yottaa.net
>    79 TxHeader b X-Forwarded-Proto: http
>    79 TxHeader b Via: HTTP/1.1 ECS (jfk/25C0)
>    79 TxHeader b X-Forwarded-For: 70.109.156.55, 68.232.37.192
>    79 TxHeader b X-Yottaa-SessionId: 1333429556
>    79 TxHeader b Accept-Encoding: gzip
>    79 RxProtocol b HTTP/1.1
>    79 RxStatus b 200
>    79 RxResponse b OK
>    79 RxHeader b Date: Thu, 18 Oct 2012 13:31:11 GMT
>    79 RxHeader b Server: Apache
>    79 RxHeader b Last-Modified: Wed, 17 Oct 2012 11:11:56 GMT
>    79 RxHeader b Accept-Ranges: bytes
>    79 RxHeader b Cache-Control: max-age=3600
>    79 RxHeader b Expires: Thu, 18 Oct 2012 14:31:11 GMT
>    79 RxHeader b Vary: Accept-Encoding
>    79 RxHeader b Keep-Alive: timeout=15, max=92
>    79 RxHeader b Content-Type: image/jpeg
>    79 RxHeader b X-Yottaa-Optimizations: ob/0 si/1333429556
> ts/1350562509213
>    79 RxHeader b Content-Encoding: gzip
>    79 RxHeader b X-Yottaa-Metrics: 01216b174f46/[194,191,-]
> 01116b172e2c/[199,198,-]
>    79 RxHeader b Transfer-Encoding: chunked
>    79 RxHeader b Connection: keep-alive
>    79 Fetch_Body b 3(chunked) cls -1 mklen 1
>    79 BackendClose b a
>    42 SessionOpen c 68.232.37.192 53862 :80
>    42 ReqStart c 68.232.37.192 53862 1333429556
>    42 RxRequest c GET
>    42 RxURL c
> /504403b47a6c8777da011aaf/********.com/v~80/_images/collections/3/4856.jpg
>    42 RxProtocol c HTTP/1.1
>    42 RxHeader c Host: system-2.yottaa.net
>    42 RxHeader c User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X
> 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1
> Safari/536.26.14
>    42 RxHeader c Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>    42 RxHeader c Accept-Language: en-us
>    42 RxHeader c Accept-Encoding: gzip, deflate
>    42 RxHeader c Cookie: yvts=1350566984282;
> km_ai=6SqgaCrNmzK%2FyJRnVEWlkrbiNBE%3D; km_lv=1348671534; km_uq=;
> mp_3aa8ae394f21ef02134f93c80b02d5bd_mixpanel=%7B%22distinct_id%22%3A%20%2213a03166e738a7-05067b594-376c6050-1fa400-13a03166e741115%22%2C%22%24initial_referrer%22
>    42 RxHeader c X-Forwarded-For: 70.109.156.55
>    42 RxHeader c X-Host: s-ff0102-504403b47a6c8777da011aaf-0.yottaa.net
>    42 RxHeader c X-Forwarded-Proto: http
>    42 RxHeader c Via: HTTP/1.1 ECS (jfk/25C0)
>    42 VCL_call c recv lookup
>    42 VCL_call c hash
>    42 Hash c
> /504403b47a6c8777da011aaf/********.com/v~80/_images/collections/3/4856.jpg
>    42 Hash c system-2.yottaa.net
>    42 Hash c http
>    42 VCL_return c hash
>    42 VCL_call c miss fetch
>    42 Backend c 79 yo a
>    42 TTL c 1333429556 RFC 3600 -1 -1 1350567072 0 1350567071 1350570671
> 3600
>    42 VCL_call c fetch
>    42 TTL c 1333429556 VCL 3600 3600 -1 1350567072 -0
>    42 VCL_Log c enter fetch
>    42 VCL_Log c streaming enabled.
>    42 TTL c 1333429556 VCL -1 -1 -1 1350567072 -0
>    42 VCL_return c hit_for_pass
>    42 ObjProtocol c HTTP/1.1
>    42 ObjResponse c OK
>    42 ObjHeader c Date: Thu, 18 Oct 2012 13:31:11 GMT
>    42 ObjHeader c Server: Apache
>    42 ObjHeader c Last-Modified: Wed, 17 Oct 2012 11:11:56 GMT
>    42 ObjHeader c Accept-Ranges: bytes
>    42 ObjHeader c Cache-Control: max-age=3600
>    42 ObjHeader c Expires: Thu, 18 Oct 2012 14:31:11 GMT
>    42 ObjHeader c Vary: Accept-Encoding
>    42 ObjHeader c Content-Type: image/jpeg
>    42 ObjHeader c X-Yottaa-Optimizations: ob/0 si/1333429556
> ts/1350562509213
>    42 ObjHeader c Content-Encoding: gzip
>    42 ObjHeader c X-Yottaa-Metrics: 01216b174f46/[194,191,-]
> 01116b172e2c/[199,198,-]
>    42 ObjHeader c x-host: system-2.yottaa.net
>    42 VCL_call c deliver deliver
>    42 TxProtocol c HTTP/1.1
>    42 TxStatus c 200
>    42 TxResponse c OK
>    42 TxHeader c Server: Apache
>    42 TxHeader c Last-Modified: Wed, 17 Oct 2012 11:11:56 GMT
>    42 TxHeader c Accept-Ranges: bytes
>    42 TxHeader c Cache-Control: max-age=3600
>    42 TxHeader c Expires: Thu, 18 Oct 2012 14:31:11 GMT
>    42 TxHeader c Vary: Accept-Encoding
>    42 TxHeader c Content-Type: image/jpeg
>    42 TxHeader c X-Yottaa-Optimizations: ob/0 si/1333429556
> ts/1350562509213
>    42 TxHeader c Content-Encoding: gzip
>    42 TxHeader c X-Yottaa-Metrics: 01216b174f46/[194,191,-]
> 01116b172e2c/[199,198,-]
>    42 TxHeader c Transfer-Encoding: chunked
>    42 TxHeader c Date: Thu, 18 Oct 2012 13:31:11 GMT
>    42 TxHeader c Age: 0
>    42 TxHeader c Connection: keep-alive
>    42 Traffic c traffic stats,
> host:********.com,requests:1,traffic:472,is_https:0,state:0
>    42 Traffic c message_bytes:472
>    42 Traffic c traffic stats,
> host:********.com,requests:0,traffic:8192,is_https:0,state:1
>    42 Traffic c message_bytes:8192
>    42 FetchError c Invalid Gzip data: incorrect header check
>    42 FetchError c chunked read_error: 0 (See other message)
>    42 Gzip c u F - 2 0 0 0 0
>    42 Length c 0
>    42 ReqEnd c 1333429556 1350567071.527108192 1350567071.727841377
> 0.000091314 0.199551105 0.001182079
>    42 SessionClose c Stream error
>    42 StatSess c 68.232.37.192 53862 0 1 1 0 0 1 472 0

New description:

 Stream is enabled to forward response ASAP.

 log below, i removed the host name because of potential business secret
 policy.

 {{{
  79 TxRequest b GET
    79 TxURL b
 /504403b47a6c8777da011aaf/*******.com/v~80/_images/collections/3/4856.jpg
    79 TxProtocol b HTTP/1.1
    79 TxHeader b Host: system-2.yottaa.net
    79 TxHeader b User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X
 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1
 Safari/536.26.14
    79 TxHeader b Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    79 TxHeader b Accept-Language: en-us
    79 TxHeader b Cookie: yvts=1350566984282;
 km_ai=6SqgaCrNmzK%2FyJRnVEWlkrbiNBE%3D; km_lv=1348671534; km_uq=;
 mp_3aa8ae394f21ef02134f93c80b02d5bd_mixpanel=%7B%22distinct_id%22%3A%20%2213a03166e738a7-05067b594-376c6050-1fa400-13a03166e741115%22%2C%22%24initial_referrer%22
    79 TxHeader b X-Host: s-ff0102-504403b47a6c8777da011aaf-0.yottaa.net
    79 TxHeader b X-Forwarded-Proto: http
    79 TxHeader b Via: HTTP/1.1 ECS (jfk/25C0)
    79 TxHeader b X-Forwarded-For: 70.109.156.55, 68.232.37.192
    79 TxHeader b X-Yottaa-SessionId: 1333429556
    79 TxHeader b Accept-Encoding: gzip
    79 RxProtocol b HTTP/1.1
    79 RxStatus b 200
    79 RxResponse b OK
    79 RxHeader b Date: Thu, 18 Oct 2012 13:31:11 GMT
    79 RxHeader b Server: Apache
    79 RxHeader b Last-Modified: Wed, 17 Oct 2012 11:11:56 GMT
    79 RxHeader b Accept-Ranges: bytes
    79 RxHeader b Cache-Control: max-age=3600
    79 RxHeader b Expires: Thu, 18 Oct 2012 14:31:11 GMT
    79 RxHeader b Vary: Accept-Encoding
    79 RxHeader b Keep-Alive: timeout=15, max=92
    79 RxHeader b Content-Type: image/jpeg
    79 RxHeader b X-Yottaa-Optimizations: ob/0 si/1333429556
 ts/1350562509213
    79 RxHeader b Content-Encoding: gzip
    79 RxHeader b X-Yottaa-Metrics: 01216b174f46/[194,191,-]
 01116b172e2c/[199,198,-]
    79 RxHeader b Transfer-Encoding: chunked
    79 RxHeader b Connection: keep-alive
    79 Fetch_Body b 3(chunked) cls -1 mklen 1
    79 BackendClose b a
    42 SessionOpen c 68.232.37.192 53862 :80
    42 ReqStart c 68.232.37.192 53862 1333429556
    42 RxRequest c GET
    42 RxURL c
 /504403b47a6c8777da011aaf/********.com/v~80/_images/collections/3/4856.jpg
    42 RxProtocol c HTTP/1.1
    42 RxHeader c Host: system-2.yottaa.net
    42 RxHeader c User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X
 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1
 Safari/536.26.14
    42 RxHeader c Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    42 RxHeader c Accept-Language: en-us
    42 RxHeader c Accept-Encoding: gzip, deflate
    42 RxHeader c Cookie: yvts=1350566984282;
 km_ai=6SqgaCrNmzK%2FyJRnVEWlkrbiNBE%3D; km_lv=1348671534; km_uq=;
 mp_3aa8ae394f21ef02134f93c80b02d5bd_mixpanel=%7B%22distinct_id%22%3A%20%2213a03166e738a7-05067b594-376c6050-1fa400-13a03166e741115%22%2C%22%24initial_referrer%22
    42 RxHeader c X-Forwarded-For: 70.109.156.55
    42 RxHeader c X-Host: s-ff0102-504403b47a6c8777da011aaf-0.yottaa.net
    42 RxHeader c X-Forwarded-Proto: http
    42 RxHeader c Via: HTTP/1.1 ECS (jfk/25C0)
    42 VCL_call c recv lookup
    42 VCL_call c hash
    42 Hash c
 /504403b47a6c8777da011aaf/********.com/v~80/_images/collections/3/4856.jpg
    42 Hash c system-2.yottaa.net
    42 Hash c http
    42 VCL_return c hash
    42 VCL_call c miss fetch
    42 Backend c 79 yo a
    42 TTL c 1333429556 RFC 3600 -1 -1 1350567072 0 1350567071 1350570671
 3600
    42 VCL_call c fetch
    42 TTL c 1333429556 VCL 3600 3600 -1 1350567072 -0
    42 VCL_Log c enter fetch
    42 VCL_Log c streaming enabled.
    42 TTL c 1333429556 VCL -1 -1 -1 1350567072 -0
    42 VCL_return c hit_for_pass
    42 ObjProtocol c HTTP/1.1
    42 ObjResponse c OK
    42 ObjHeader c Date: Thu, 18 Oct 2012 13:31:11 GMT
    42 ObjHeader c Server: Apache
    42 ObjHeader c Last-Modified: Wed, 17 Oct 2012 11:11:56 GMT
    42 ObjHeader c Accept-Ranges: bytes
    42 ObjHeader c Cache-Control: max-age=3600
    42 ObjHeader c Expires: Thu, 18 Oct 2012 14:31:11 GMT
    42 ObjHeader c Vary: Accept-Encoding
    42 ObjHeader c Content-Type: image/jpeg
    42 ObjHeader c X-Yottaa-Optimizations: ob/0 si/1333429556
 ts/1350562509213
    42 ObjHeader c Content-Encoding: gzip
    42 ObjHeader c X-Yottaa-Metrics: 01216b174f46/[194,191,-]
 01116b172e2c/[199,198,-]
    42 ObjHeader c x-host: system-2.yottaa.net
    42 VCL_call c deliver deliver
    42 TxProtocol c HTTP/1.1
    42 TxStatus c 200
    42 TxResponse c OK
    42 TxHeader c Server: Apache
    42 TxHeader c Last-Modified: Wed, 17 Oct 2012 11:11:56 GMT
    42 TxHeader c Accept-Ranges: bytes
    42 TxHeader c Cache-Control: max-age=3600
    42 TxHeader c Expires: Thu, 18 Oct 2012 14:31:11 GMT
    42 TxHeader c Vary: Accept-Encoding
    42 TxHeader c Content-Type: image/jpeg
    42 TxHeader c X-Yottaa-Optimizations: ob/0 si/1333429556
 ts/1350562509213
    42 TxHeader c Content-Encoding: gzip
    42 TxHeader c X-Yottaa-Metrics: 01216b174f46/[194,191,-]
 01116b172e2c/[199,198,-]
    42 TxHeader c Transfer-Encoding: chunked
    42 TxHeader c Date: Thu, 18 Oct 2012 13:31:11 GMT
    42 TxHeader c Age: 0
    42 TxHeader c Connection: keep-alive
    42 Traffic c traffic stats,
 host:********.com,requests:1,traffic:472,is_https:0,state:0
    42 Traffic c message_bytes:472
    42 Traffic c traffic stats,
 host:********.com,requests:0,traffic:8192,is_https:0,state:1
    42 Traffic c message_bytes:8192
    42 FetchError c Invalid Gzip data: incorrect header check
    42 FetchError c chunked read_error: 0 (See other message)
    42 Gzip c u F - 2 0 0 0 0
    42 Length c 0
    42 ReqEnd c 1333429556 1350567071.527108192 1350567071.727841377
 0.000091314 0.199551105 0.001182079
    42 SessionClose c Stream error
    42 StatSess c 68.232.37.192 53862 0 1 1 0 0 1 472 0
 }}}

--

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1220#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list