Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running a varnish 3.0 server with nginx/php-fpm/wordpress behind it at 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?


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

this might be of some help

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


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.