Serotonin Software Community
Search
Recent Topics
Hottest Topics
Member Listing
Back to home page
Register
/
Login
Session Error / A request has been denied as a potential CSRF attack.
Forum Index
»
Mango installation
Author
Message
23/09/2010 08:27:11
Subject:
Session Error / A request has been denied as a potential CSRF attack.
reycyril
Initiate
Joined: 23/09/2010 07:36:46
Messages: 2
Offline
I just installed Mango within a tomcat server :
- Apache Tomcat/7.0.2
- JVM 1.6.0_18-b07
I get popup error windows while browsing within Mango:
- Session Error
Mango log show this error:
ERROR 2010-09-23 13:33:56,747 (org.directwebremoting.util.CommonsLoggingOutput.error:75) - A request has been denied as a potential CSRF attack. ERROR 2010-09-23 13:34:16,700 (org.directwebremoting.util.CommonsLoggingOutput.error:75) - A request has been denied as a potential CSRF attack. ERROR 2010-09-23 13:34:16,950 (org.directwebremoting.util.CommonsLoggingOutput.error:75) - A request has been denied as a potential CSRF attack. ERROR 2010-09-23 13:34:16,950 (org.directwebremoting.util.CommonsLoggingOutput.error:75) - A request has been denied as a potential CSRF attack. ERROR 2010-09-23 13:34:16,950 (org.directwebremoting.util.CommonsLoggingOutput.error:75) - A request has been denied as a potential CSRF attack.
"Mango error.jpg" is a print screen
In "log.zip" you will find all Tomcat logs files
Thanks for any help
CRL
Filename
mango error.jpg
Download
Description
print screen
Filesize
703 Kbytes
Downloaded:
52 time(s)
Filename
logs.zip
Download
Description
Filesize
15 Kbytes
Downloaded:
73 time(s)
23/09/2010 10:22:26
Subject:
Re:Session Error / A request has been denied as a potential CSRF attack.
SteveE
Initiate
Joined: 13/07/2010 14:59:24
Messages: 38
Offline
Try adding the following parameter setting to the dwr-invoker servlet settings in ...\WEB-INF\web.xml:
<servlet>
<servlet-name>dwr-invoker</servlet_name>
...
<init-param> <-
<param-name>crossDomainSessionSecurity</param-name> <-
<param-value>false</param-value> <-
</init-param> <-
...
</servlet>
23/09/2010 10:25:39
Subject:
Re:Session Error / A request has been denied as a potential CSRF attack.
SteveE
Initiate
Joined: 13/07/2010 14:59:24
Messages: 38
Offline
(Without the '<-' at the end of those lines, of course; those were meant to indicate the new entry in the file.)
24/09/2010 02:29:47
Subject:
Re:Session Error / A request has been denied as a potential CSRF attack.
reycyril
Initiate
Joined: 23/09/2010 07:36:46
Messages: 2
Offline
Yes, this solve the problem.
By the way, I notice that the solution was provided in less than 2 hour. I never been accustomed on having so quick support by major automation solution providers...
So Congratulation SteveE.
Regards
Cyril
24/09/2010 11:05:43
Subject:
Re:Session Error / A request has been denied as a potential CSRF attack.
SteveE
Initiate
Joined: 13/07/2010 14:59:24
Messages: 38
Offline
Thanks, Cyril. Glad I could help. BTW, I'm a Mango user like you. I just happened to run across this same issue a few weeks back.
This message was edited 1 time. Last update was at 24/09/2010 11:06:02
Forum Index
»
Mango installation
Go to:
Select a forum
M2M2 general Discussion
Announcements
Stories
M2M general discussion
Mango installation
User help
How-To
Mango feedback
Hardware
Wishlist
Development general discussion
Automation general Discussion
Modbus4J general discussion
BACnet4J general discussion
Powered by
JForum 2.1.9
©
JForum Team