Ask Your Question
1

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

asked 2014-03-01 14:34:31 -0600

Toms gravatar image

updated 2014-03-01 15:19:25 -0600

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..

edit retag flag offensive close merge delete

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 gravatar imagemichas ( 2014-03-02 01:12:50 -0600 )edit

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

Toms gravatar imageToms ( 2014-03-02 03:19:22 -0600 )edit

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

Nemo_bis gravatar imageNemo_bis ( 2015-04-25 05:14:44 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-02 01:06:14 -0600

michas gravatar image

updated 2014-03-02 08:52:23 -0600

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-03-01 14:34:31 -0600

Seen: 4,026 times

Last updated: Mar 02 '14