LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > 400 bad request, cookie size

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2011, 04:26 PM
stairmaster stairmaster is offline
Member
 
Join Date: Mar 2011
Posts: 22
Default 400 bad request, cookie size

Hi Litespeed,
We are running vbulletin 3.8.7 on litepseed.

Some of our vbulletin users are getting '400 bad request' errors especially on firefox.

'400 Bad Request
It is not a valid request!'

I looked in the server log and I see the errors are because the cookies are too long. So I have told the users to clear their cookies and it works for a bit, but then it will start happening again after a while.

I personally never seem to get this error because I am clearing my cookies all the time anyway, but other people in the office are getting it so I know its true.

We are using litespeed instead of apache and swapped over a couple months ago because our board is pretty large and the server wasn't handling the number of connections.

Our Litespeed 'Max Request Header Size' setting is 16k, which is the 'hard' limit, so I suppose we can't make it larger - is that correct?

Is there a way to affect litespeed so that it will accept larger cookies?

Last edited by stairmaster; 05-09-2011 at 05:25 PM..
Reply With Quote
  #2  
Old 05-09-2011, 06:20 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by stairmaster View Post
...

Our Litespeed 'Max Request Header Size' setting is 16k, which is the 'hard' limit, so I suppose we can't make it larger - is that correct?

Is there a way to affect litespeed so that it will accept larger cookies?
Max Request Header Size can NOT be larger than 16KB hard limit.

There is no way to have lsws accept larger cookies. In fact, large cookie should be avoided. It is not a good idea to store large amount of data in cookies.
Reply With Quote
  #3  
Old 05-09-2011, 06:22 PM
stairmaster stairmaster is offline
Member
 
Join Date: Mar 2011
Posts: 22
Hi thanks
I have looked further at the cookies and I see that lots of problem cookies are from the open x ad system. I think this is where the problem lies.
Thanks for clarifying the 16k hard limit.
Reply With Quote
Reply

Tags
400, bad, cookie, request

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:50 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.