unable create pull request task

Hi Guys,

Just upgraded to Bitbucket version 5,4,1 ,getting the following errors : XSRF security token missing..



1 answer

0 vote

Hi @prashanth

Typically when we see these kinds of errors in the application, it happens because your environment has some mechanism to redirect traffic to bitbucket, like a reverse proxy, a firewall, or a port forwarding/redirect rule.

Bitbucket can work with these kinds of setups, but in order to do so, we need to make sure that the bitbucket site itself is configured to understand that its traffic is being served up on another site/address.

I would recommend walking through the KB Cross Site Request Forgery (CSRF) protection changes in Atlassian REST.   It walks through better diagnosing this error and provides steps on how to resolve this.   With Bitbucket 5.x you will likely need to make these changes in the <Bitbucket home directory>/shared/bitbucket.properties file, save these, and then restart the application in order for these changes to take effect.

Please let me know if you have any questions or concerns about the steps in that KB.


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,166 views 26 11
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