"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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

188 views 1 17
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