Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

XSRF Security Token Missing

Albert Manuel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 4, 2020

Hi Guys,

 

I know that this is a very asked question as i found out a lot

of topics on this matter but i cannot find the solution to this problem...and i really need help...

 

Basically, when i want to create a ticket it gives me this error:

jira-1.PNG

If i clear all my tokens it doesn't work.

If i use another browser +/ incognito - doesn't work.

 

If i press retry it says:

 

jira-2.PNG

 

The atlassian-log says:

 

2020-08-04 16:22:20,336 http-nio-8443-exec-8 INFO admin /secure/CreateIssueDetails.jspa [c.a.j.web.action.XsrfErrorAction] The security token is missing for 'admin'. User-Agent : 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome'

 

Can somebody help here? How do i solve this?

 

4 answers

1 accepted

0 votes
Answer accepted
Albert Manuel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2020

After hours and hours of researching and investigation, i found the solution. I will post it here for other that might have the same problem.

 

 

  • Go to <Jira-installation-directory>/conf, and edit the server.xml file.
  • Add this line into the connector:
    <Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true" bindOnInit="false"/>
  • Restart Jira.

This solved my problem.

 

The problem is in fact with tomcat wich is filtering out requests that contain special characters.

olgap October 10, 2023

which line?

The same file we have already

Albert Manuel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 11, 2023

@olgapjust add a new line in the connector (server.xml)

0 votes
Syed Khwaja Moinuddin August 24, 2020

facing same error when starting a new instance, please help

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 5, 2020

Hi Inglo,

I usually run into that error if there is a lot going on for my instance - doing bulk updates, etc. 

I would check to make sure that you have the correct permissions to create issues in the Permission Scheme for that project, also. 

Are you having trouble creating an issue on any project? Is anyone else able to create issues on that project without error? 

0 votes
Albert Manuel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 5, 2020

UP.

 

Really need help with this.

 

@Atlassian 

Suggest an answer

Log in or Sign up to answer