Sporadic 400 Bad Request Error nginx/0.7.67 with Heroku and Rails 3 -


update: bug appears browser specific chrome. i've clicked link 50 times each in firefox , ie , can't seem cause it. also, once occurring, can switch ff or ie , it'll work fine on two.

i have particular page in rails 3 application on heroku loads fine awhile. can click same page , loads without problem. after number of loads, starts give me 400 bad request error nginx/0.7.67 below it.

after occurs once, everytime load page 400 error. if leave application alone awhile, overnight example, page works again in morning short while. if click page few times, begins giving me error again.

it's not occurs locally seems must heroku issue.

i tried restarting heroku doesn't help. thing seems giving time off.

the heroku logs don't give me new info far errors. appears working fine , line ends 727 | https | 400 , stops.

i'm using https if helps.

the full error heroku log is:

[33m2011-07-02t15:25:59+00:00 heroku[nginx]: <-[0m /matters/show/34 http/1.1 | 10.212.125.194 | 727 | https | 400 

let me know code page solve problem if have idea.

so after long , forth heroku support staff found issue. using datatables in various places around site , using cookies store user state settings. cookie getting longer , longer , longer user navigated around site until header surpassed maximum header size allowed nginx (8k).

the solution remove/simplify cookie or switch nginx heroku (bamboo) heroku stack didn't use nginx (cedar).


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -