Mac connection problem with Varnish 2.0-rc1

Nick Loman nick at loman.net
Thu Oct 9 18:29:25 CEST 2008


Hi there,

A client using Mac version of Safari complains of intermittent errors 
"kCFErrorDomainCFNetwork error 302", perhaps every other page, on 
dynamically generated pages.

This is a stock install of varnish-2.0-rc1, with default.vcl and default 
configuration values. Everything works perfectly on Safari PC, Firefox 
on Mac/PC, etc. Downgrading to varnish 1.1.2 solves the problem with 
same hardware/software/config.

I've attached the varnish log for the problematic part.

Any help appreciated,

Cheers,

Nick.


     9 SessionOpen  c HIDDEN_IP_ADDRESS 30775 0.0.0.0:8080
     0 CLI          - Rd ping
     0 CLI          - Wr 0 200 PONG 1223567243 1.0
     9 ReqStart     c HIDDEN_IP_ADDRESS 30775 363533487
     9 RxRequest    c GET
     9 RxURL        c /..<url deleted>
     9 RxProtocol   c HTTP/1.1
     9 RxHeader     c User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac 
OS X 10_5_3; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 
Safari/525.20
     9 RxHeader     c Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
     9 RxHeader     c Accept-Language: en-us
     9 RxHeader     c Accept-Encoding: gzip, deflate
     9 RxHeader     c Cookie: egtv_seen[5462]=yes; egtv_seen[5383]=yes; 
egtv_seen[5466]=yes; egtv_seen[5494]=yes; egtv_seen[5577]=yes; 
egtv_seen[5774]=yes; egtv_seen[5837]=yes; egtv_seen[5847]=yes; 
egtv_seen[5844]=yes; egtv_seen[5898]=yes; egtv_seen[5928]=yes; 
egtv_seen[5957]=
     9 RxHeader     c Connection: keep-alive
     9 RxHeader     c Host: www.myhost.com
     9 VCL_call     c recv
     9 VCL_return   c lookup
     9 VCL_call     c hash
     9 VCL_return   c hash
     9 VCL_call     c miss
     9 VCL_return   c fetch
    10 BackendClose b default
    10 BackendOpen  b default 127.0.0.1 55130 127.0.0.1 80
     9 Backend      c 10 default default
    10 TxRequest    b GET
    10 TxURL        b 
/forum_threads.php?category_id=group-threads&view=groups
    10 TxProtocol   b HTTP/1.1
    10 TxHeader     b User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac 
OS X 10_5_3; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 
Safari/525.20
    10 TxHeader     b Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    10 TxHeader     b Accept-Language: en-us
    10 TxHeader     b Accept-Encoding: gzip, deflate
  .. Cookie line deleted
    10 TxHeader     b Host: www.myhost.com
    10 TxHeader     b X-Varnish: 363533487
    10 TxHeader     b X-Forwarded-For: HIDDEN_IP_ADDRESS
    10 RxProtocol   b HTTP/1.1
    10 RxStatus     b 200
    10 RxResponse   b OK
    10 RxHeader     b Date: Thu, 09 Oct 2008 15:47:23 GMT
    10 RxHeader     b Server: Apache/2.2.9 (Unix)
    10 RxHeader     b X-Powered-By: PHP/5.2.6-pl7-gentoo
    10 RxHeader     b Expires: Mon, 26 Jul 1997 05:00:00 GMT
    10 RxHeader     b Cache-Control: max-age=0
    10 RxHeader     b Pragma: no-cache
  .. 12 Set-Cookie lines deleted
    10 RxHeader     b Last-Modified: Thu, 09 Oct 2008 15:47:24 GMT
    10 RxHeader     b Vary: Accept-Encoding
    10 RxHeader     b Content-Encoding: gzip
    10 RxHeader     b Content-Length: 8956
    10 RxHeader     b Content-Type: text/html; charset=ISO-8859-1
     9 ObjProtocol  c HTTP/1.1
     9 ObjStatus    c 200
     9 ObjResponse  c OK
     9 ObjHeader    c Date: Thu, 09 Oct 2008 15:47:23 GMT
     9 ObjHeader    c Server: Apache/2.2.9 (Unix)
     9 ObjHeader    c X-Powered-By: PHP/5.2.6-pl7-gentoo
     9 ObjHeader    c Expires: Mon, 26 Jul 1997 05:00:00 GMT
     9 ObjHeader    c Cache-Control: max-age=0
     9 ObjHeader    c Pragma: no-cache
  .. 12 Set-Cookie lines deleted
     9 ObjHeader    c Last-Modified: Thu, 09 Oct 2008 15:47:24 GMT
     9 ObjHeader    c Vary: Accept-Encoding
     9 ObjHeader    c Content-Encoding: gzip
     9 ObjHeader    c Content-Type: text/html; charset=ISO-8859-1
    10 BackendReuse b default
     9 TTL          c 363533487 RFC 0 1223567244 0 0 0 0
     9 VCL_call     c fetch
     9 VCL_return   c pass
     9 Length       c 8956
     9 VCL_call     c deliver
     9 VCL_return   c deliver
     9 TxProtocol   c HTTP/1.1
     9 TxStatus     c 200
     9 TxResponse   c OK
     9 TxHeader     c Server: Apache/2.2.9 (Unix)
     9 TxHeader     c X-Powered-By: PHP/5.2.6-pl7-gentoo
     9 TxHeader     c Expires: Mon, 26 Jul 1997 05:00:00 GMT
     9 TxHeader     c Cache-Control: max-age=0
     9 TxHeader     c Pragma: no-cache
     9 TxHeader     c Last-Modified: Thu, 09 Oct 2008 15:47:24 GMT
     9 TxHeader     c Vary: Accept-Encoding
     9 TxHeader     c Content-Encoding: gzip
     9 TxHeader     c Content-Type: text/html; charset=ISO-8859-1
     9 TxHeader     c Content-Length: 8956
     9 TxHeader     c Date: Thu, 09 Oct 2008 15:47:24 GMT
     9 TxHeader     c X-Varnish: 363533487
     9 TxHeader     c Age: 0
     9 TxHeader     c Via: 1.1 varnish
     9 TxHeader     c Connection: keep-alive
     9 ReqEnd       c 363533487 1223567243.957491398 
1223567244.345397711 0.053010225 0.387861967 0.000044346
     0 StatAddr     - HIDDEN_IP_ADDRESS 0 970 54 79 0 0 79 16775 106768
     0 ExpPick      - 363533487 ttl
     0 VCL_call     - timeout
     0 VCL_return   - discard
     0 ExpKill      - 363533487 -1223567244
    12 SessionOpen  c 10.0.0.219 47006 0.0.0.0:8080
    12 SessionClose c error
    12 ReqEnd       c 0 1223567245.333011866 1223567245.333011866 
0.000076771 0.000000000 0.000000000
    12 StatSess     c 10.0.0.219 47006 0 1 0 0 0 0 0 0
     0 StatAddr     - 10.0.0.219 0 1006 135 0 0 0 0 0 0
     9 SessionClose c blast
     9 StatSess     c HIDDEN_IP_ADDRESS 30775 0 1 1 0 0 1 437 8956
     9 SessionOpen  c HIDDEN_IP_ADDRESS 30781 0.0.0.0:8080
     9 SessionClose c blast
     9 ReqEnd       c 0 1223567245.963477135 1223567245.963477135 
0.034464121 0.000000000 0.000000000
     9 StatSess     c HIDDEN_IP_ADDRESS 30781 0 1 0 0 0 0 0 0
     0 StatAddr     - HIDDEN_IP_ADDRESS 0 972 55 79 0 0 79 16775 106768



More information about the varnish-misc mailing list