"XSRF Security Token Missing" On almost every action on a ticket

Hey everyone, we're having very frustrating issues with tokens, cookies, and all sorts of things while using JIRA and Confluence. One of the most visible issues is that almost every time we open up a ticket, the first edit we do to it (changing the status, resolving, editing descriptions, fields,) an error appears:

 

XSRF Security Token Missing

JIRA cold not complete this action due to a missing form token.

You may have cleared your browser cookies, which could have resulted in the expiry of your form token. A new form token has been reissued.

Request URL: /secure/AjaxIssueAction.jspa

The original input has been captured and you can retry the operation.

 

Now i know I can use the link the window provides to turn of form token checking, which should fix this issue, but I want to actually tackle the root cause here in case it's related to some of the other issues we've been having with cookies and users being signed out. What might be causing this? Recently we reinstalled confluence (installed on the same server as JIRA,) in order to switch the database it uses, and then we switched JIRA's database using the GUI included (now why couldn't Confluence have just used that??) and I'm wondering if the roundabout way we had to do that may have led to some of these issues, as the problems began not long after that. Anyone have any ideas?

 

EDIT: Quick point, clicking "retry" will work, and the issue won't reappear again for that user for a little while.

1 answer

2 votes

Sounds like they are installed both at the root context but on different ports? If that happens cookies keep overwriting each other. Put one at /jira, and the other at /confluence.

Then ideally use apache or nginx to make them both appear on port 80.

Any chance you can explain how I might configure this? I'm not the best at that kind of stuff, and I want to make sure I'm actually helping it and not making it worse. :(

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,754 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot