Even more varnish 4.1 issues
jdh132 at psu.edu
Fri Oct 16 04:04:16 CEST 2015
It took me a few tries but finally got 4.1.0 to work as expected. As it turns out I use Nginx as a reverse proxy in development to simulate our F5 load balancer on staging/production. I had to upgrade the HTTP proxy version to 1.1 in nginx and it just started working. Nginx 1.8.0 defaults to HTTP 1.0 which should have been fine according to the varnish docs. I was able to recreate through Google Chrome by setting it back to HTTP version 1.0.
I was mostly interested in the HTTP range header fixes which I confirmed are fixed in 4.1 now. Yes! Wouldn’t mind seeing those back ported.
I removed the custom selinux policy I created for v 4.0.3 which required some additions and confirmed the current selinux targeted default policy (v24) for varnishd is working on RHEL6.7 with 4.1.0.
> On Oct 15, 2015, at 7:59 PM, Jason Heffner <jdh132 at psu.edu> wrote:
> It's not SELinux. Every time you disable SELinux you make Dan Walsh cry.
> Sent from my iPhone
> On Oct 15, 2015, at 7:36 PM, nick tailor <nick.tailor at gmail.com <mailto:nick.tailor at gmail.com>> wrote:
>> Disable selinux.
>> Permissive can still cause issues
>> On Oct 15, 2015 3:03 PM, "Jason Heffner" <jdh132 at psu.edu <mailto:jdh132 at psu.edu>> wrote:
>> I have SELinux in permissive mode, I uninstalled varnish 4.0.3 rpms and installed new varnish 4.1 rpms. I updated the /etc/sysconfig/varnish and varnish does start successfully.
>> I can load any static files fine through varnish with the default config, and my own config. When I try and load a page that sets a cookie I will get the first response to the page fine, and request for a second page will return a 0 length content and white screen. I clear cookies and I can load another page till one page sets cookies and I’m back to the 0 length response. It’s really odd.
>> Anyone have any idea what I may be missing? I disabled the only mod I was using as well.
>> Systems Administrator
>> Teaching and Learning with Technology, Information Technology Services
>> The Pennsylvania State University
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org <mailto:varnish-misc at varnish-cache.org>
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc <https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc