Ok. Just so anyone browsing this later. The weird timeout error was just a stupid javascript bug. And I blamed tornado first, then after giving fastcgi a shot and still getting the error I blamed nginx. Then after trying apache2 + wsgi and still getting the same timeout I blamed linode. Then after I noticed I get the problem locally too, so naturally I blamed the django dev version. And after trying djanog 1.1 I blame my python code. After I noticed it was correct I found my javascript bug :( I'm sorry tornado, nginx, linode and django!
Anyway still get the csrf error occationally. Not a big problem just requires some shift + reload. Niklas On Feb 7, 4:13 pm, Nixarn <[email protected]> wrote: > Ok. Most likely the problem is when nginx is giving me 499 (client > timeout) errors. > > On Feb 7, 3:50 pm,Nixarn<[email protected]> wrote: > > > > > Hmm apparently doesn't work anymore gah... hrmp. Looking into it. > > > Niklas > > > On Feb 7, 3:18 pm,Nixarn<[email protected]> wrote: > > > > Having the same problem with the dev version of django. I just can't > > > get into the Admin. > > > > Works fine in Chrome for some reason but with Firefox or IE I get: > > > > 403 Forbidden > > > > CSRF verification failed. Request aborted. > > > > Reason given for failure: CSRF cookie not set. > > > > And I've tried clearing the cache and cookies from the browser. All > > > without luck :/ > > > > Niklas > > > > On Dec 19 2009, 1:38 am, Kenneth Gonsalves <[email protected]> wrote: > > > > > On Wednesday 16 Dec 2009 10:45:49 am Paddy Joy wrote: > > > > > > Try 'django.middleware.csrf.CsrfMiddleware' instead of > > > > > 'django.contrib.csrf.middleware.CsrfMiddleware' > > > > > copied and pasted straight from the official docs > > > > -- > > > > regards > > > > Kenneth Gonsalves > > > > Senior Project Officer > > > > NRC-FOSShttp://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

