"Error: Bad Request. Missing or invalid form token. Do you have cookies enabled?" within IE8. FF and GC are fine

188 views
Skip to first unread message

CompletelyLost

unread,
Nov 4, 2010, 5:20:25 PM11/4/10
to Trac Users
This issue has been discussed in the past, but I am not able to find a
fix that resolves the issue for me.

Trac 0.12 is running in a windows environment, using LDAP for
authentication. If (using IE) I log into Trac and attempt to create a
new ticket, I get the "Bad Request. Missing or invalid form token. Do
you have cookies enabled?" error message, and the ticket is not
created. If I then (after being logged into Trac) launch another
instance of IE (while the initial instance is still running) and
attempt to create another ticket, everything works, and the ticket is
created. This issue does not exist with FireFox or Google Chrome.

I'm new to the whole Trac thing, so please take that into account when
replying.

Thanks in advance!

Cooke, Mark

unread,
Nov 5, 2010, 6:17:16 AM11/5/10
to trac-...@googlegroups.com
We experienced some trouble with the various IE variants. I believe the
solution that seemed to work for us was adding the following to the http
conf file:

BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0

Do you have anything like this in your conf?

~ mark c

CompletelyLost

unread,
Nov 5, 2010, 9:00:01 AM11/5/10
to Trac Users
Thanks for the response, Mark!

I did not have anything like that. Does it matter where it goes within
the http conf file? I added it to the end of that file, but I got the
same error message.

Here are the last 10 lines of my http conf file:

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
Include "C:\Program Files\BitNami Trac Stack/apache2/
conf/ssi.conf"
LoadModule python_module modules/mod_python.so
Include "C:/Program Files/BitNami Trac Stack/trac/conf/trac.conf"

Thanks again
Reply all
Reply to author
Forward
0 new messages