First time here? Check out the FAQ!
1

CSRF verification failed. Request aborted. 403 Error only on Firefox
 

One of my users reports an CSRF verification failed. Request aborted. Error

  • This error appears only in firefox, also when he is using an private Firefox Window (no old cookies)
  • This happens alway when he is trying to log in with his username and password

How to resolve this issue?

I can not reproduce this problem. I can log in with all browsers, but some users not..

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Toms's avatar
767
Toms
asked 11 years ago, updated 11 years ago

Comments

Which version of Askbot do you run? Did you make any custom modifications on the code? Did you already try `DEBUG=True` as the message suggests?

michas's avatar michas (11 years ago)

My version is 0.7.48. The Problem is that I don't get this message, but some of my users.

Toms's avatar Toms (11 years ago)

I got this too on http://askbot.org, but I didn't try with NoScript disabled.

Nemo_bis's avatar Nemo_bis (9 years ago)
see more comments

1 Answer

1

Askbot is based on django, which features explicit CSRF protection.

Please read djangos documentation on that topic and have a look at the askbot source code corresponding to your installed version of askbot.

Also try to set DEBUG=True in your settings.py and try to trigger that situation from one of the affected browsers afterwards.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
michas's avatar
46
michas
answered 11 years ago, updated 11 years ago
link

Comments

see more comments