Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running a varnish 3.0 server with nginx/php-fpm/wordpress behind it at http://www.whatsthatbug.com. Most folks seem to be able to get to the site just fine. But I have one visitor who is getting the 400 error from FireFox.

What she got was: Error 400 Bad Request

Bad Request Guru Meditation:

XID: 1237423987

Is there anything I can do with that XID to search with varnishlog for more info? Has anyone else had this error using varnish? Or can point me in a generally useful direction to solve this?

Thanks!

share|improve this question
    
did you get a solution? –  brauliobo May 22 at 0:57

2 Answers 2

this might be of some help

https://www.varnish-cache.org/trac/wiki/Varnishlog

share|improve this answer

Did you add the

LimitRequestFieldSize 200

because of this the range header DoS vulnerability of Apache? Then the reason for your error is, that the cookie length of your one visitor is longer than 200 chars! Ask your visitor to request the page without cookies and extend LimitRequestFieldSize

LimitRequestFieldSize 300
share|improve this answer
    
I did not add LimitRequestFieldSize. I'm using Nginx and PHP-FPM behind the Varnish cache. –  danielj Sep 1 '11 at 15:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.